You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ModelicaSystem deprecated, but ModelicaSystemOMC not a replacement #477
When instantiating a ModelicaSystem, I get a deprecation warning to "Please use class ModelicaSystemOMC instead!".
OK, I do that an replace the ModelicaSystem call by ModelicaSystemOMC, only to find out that the API is not compatible at all! The user guide
still advises to use ModelicaSystem. This is quite confusing!
Why the deprecation?
Please extend the deprecation warning text to offer migration guidance for existing usage (actually, that's valid for all deprecation warnings in general)
Please update the user guide appropriately
btw, there's typos, this is called "deprecation warning", not "depreciation warning".
I noticed this in the context of trying to find out why loading a package+model with several lmodel values does not work with ModelicaSystem (exit status 3221225781, that should be "dll not found"), but works when run via sendExpression -- I'll try to get an MWE together and report separately. (edit: #478)
Version and OS
Python Version 3.13.15
OMPython Version 4.1.0
OpenModelica Version 1.28.0-dev.836+gca0c61d2c7.cmake
I'm currently trying to handle real life and thus any time for computer related stuff is limited; however, I will try to get the changes I have locally into a good shape ...
I'm currently trying to handle real life and thus any time for computer related stuff is limited; however, I will try to get the changes I have locally into a good shape ...
The users guide is updated in OpenModelica/OpenModelica#16984 and it has example on how to use the new interfaces.
The misspelled deprecated is fixed in PR #485.
Activity
adeas31 commentedon Sep 22, 2026
@syntron can you take a look at it.
I think we should also update the users guide now as well. Time to proceed with #374 and OpenModelica/OpenModelica#14639
syntron commentedon Sep 23, 2026
I'm currently trying to handle real life and thus any time for computer related stuff is limited; however, I will try to get the changes I have locally into a good shape ...
adeas31 commentedon Sep 23, 2026
Sure. Take your time. I will take care of it.
Fix spelling of "depreciated" to "deprecated" (#485)
adeas31 commentedon Oct 2, 2026
The users guide is updated in OpenModelica/OpenModelica#16984 and it has example on how to use the new interfaces.
The misspelled deprecated is fixed in PR #485.