-
Notifications
You must be signed in to change notification settings - Fork 11
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
Process hangs when loading OspSystemStructure.xml with invalid parameter name #597
Comments
Experiencing the same when testing with cosim, so I'll moving this issue to libcosim. |
I have tested this with the following Windows builds:
I cannot reproduce this with an OspSystemStructure.xml specifying an initial value for a non-existing variable. Do you have a setup you can share? |
Sent you an example by email. |
From debugging it looks like our old friend terminate before initialize. Some FMU's don't handle this very well, and I think that is what is happening here. It should be solvable by validating initial values before loading FMUs. |
Have not done any debugging with libcosim, but experiencing the following in the applications.
Cosim Demo App:
Application hangs when loading a OspSystemStructure.xml defining initial value for a non-existing variable. Invalid configuration should have been detected and error message given to the user.
cosim
application hangs on cosim run
path-to-invalid-config
The text was updated successfully, but these errors were encountered: