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
Specifying -s dassl fails simulation, but not specifying it (and using hence dassl as default) works #9707
Comments
@AnHeuermann, @mahge any clue? |
Nop. It's baffling. I will take a look. |
The variable
everything works as expected. The fact that specifying What is fascinating to me is that I could reproduce what happened to you exactly and repeatedly without fail. If not, this would have been even more problematic. I guess the gods smiled on me today. Anyway, the proper solution to avoid these kinds of problems is to warn users on usage of uninitialized variables in functions. The old Front-end used to do that and @perost had plans to implement this for the new one IRRC. |
@mahge : Thanks for catching this. I will correct it in the IBPSA and Buildings libraries. That is indeed an unexpected side effect... |
You are welcome. |
Description
In our CI tests, we run command such as
This model fails (IBPSA master, 75a5c6909cba535b96e75f60694dcded844b9e55) and OMC, 1.21.0_dev-14-gdf98762-1.
However, if run as
it simulates. The screen output below shows that if dassl is not specified, omc uses dassl as default. Hence, I would expect specifying
-s dassl
should not have any side effect.Steps to Reproduce
Translate model with
and simulate as above.
Expected Behavior
Specifying
-s dassl
should not have any side effect.Screenshots
Version and OS
OpenModelica 1.21.0~dev-14-gdf98762
Linux Ubuntu 20.04
Additional Context
This happens in our CI tests with BuildingsPy. Before changing BuildingsPy to only specify the solver if it is not dassl, it would be good to see if this should rather be corrected in OpenModelica.
The text was updated successfully, but these errors were encountered: