-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ProcessFailedException when using ModelicaSystem #82
Comments
@bc0n there is no need to build the model again using
|
Ok @arun3688, though I receive the same error... |
And fyi I do not receive the error under wsl/ubuntu. |
@bc0n I tried to simulate the example provide by you and it is working for me, see the output below
and i am using |
@bc0n I just looked into you error log |
Thanks for the suggestion @arun3688, I'm not finding the cause. I see the error in v1.8.1 and it's gone in 1.9.2, so closing this. For what it's worth, I added two simulate() tests in my fork since there weren't any. https://github.com/mechanomy/OMJulia.jl/actions/runs/5885873274/job/15962905920 |
If I directly use loadFile(), loadModel(), buildModel(), and simulate() via sendExpression, I can simulate this model without problem, but using ModelicaSystem()/buildModel/simulate leads to a ProcessFailed exception:
caught error[ProcessFailedException(Base.Process[Process(`'C:/Users/BENCON~1/AppData/Local/Temp/jl_nFAMOr/FallingModel.exe'`, ProcessExited(3221225785))])]
where I've wrapped the simulate() in a try/catch:
see attached console output.
I suspect the problem is in an argument added to omc by ModelicaSystem/later, but nothing is jumping out at me. I will note that the self-assembled omc is about half of the size as the one made by ModelicaSystem.
Thanks
The text was updated successfully, but these errors were encountered: