OMPython
OMPython copied to clipboard
A Python interface to OpenModelica communicating via CORBA or ZeroMQ
Fix finding omc by PATH env var: os.path.realpath(None) returns os.getcwd() (at least on Windows) Fix missing omniidl producing an exception even when errorOnFailure==False
Patched Trac issue #5499
Running examples in OMPython will place all generated files in the current directory. This is not very nice and clutters up the workspace. OMPython should generate all files in some...
Source distributions run `setup.py`. OMPython's `setup.py` does not install OMPythonIDL if importing omniidl and omniORB fails. This happens when one creates a new virtualenv and does `pip install OMPython` Publishing...
Hello I was wondering if there is any method to set fixed-step solver through ModelicaSystem library. I am trying to use this library along with Scipy.optimize to perform parameter fitting...
Within the [instructions for downloading OpenModelica for Linux](https://openmodelica.org/download/download-linux#) there is the command: ``` for deb in deb deb-src; do echo "$deb http://build.openmodelica.org/apt `lsb_release -cs` nightly"; done | sudo tee /etc/apt/sources.list.d/openmodelica.list...
Hello, I am trying to load this type of modelica library https://github.com/UdK-VPT/BuildingSystems/blob/master/BuildingSystems/Applications/PhotovoltaicSystems/PhotovoltaicSystem.mo and I am having the next error ``` 2018-04-25 18:29:03,435 - OMPython - INFO - OMC Server is...
I now have 3 million files like /tmp/openmodelica.hudson.objid.0c3f41ef40b543f48a84395c1d393d9c.log because OMPython doesn't clean log-files after it is done. I believe we should have more options: * Output log to file *...
I tried every command listed in the scripting API, everyone works except for getParameterValue: when I type omc.sendExpression("setParameterValue(MyModel, param1, 2)") it replies: OK (I already loaded the MyModel model first...