#5450 closed task (fixed)
Usage of the Synchronous Library not possible
Reported by: | trlo | Owned by: | Alachew Mengist |
---|---|---|---|
Priority: | normal | Milestone: | 1.19.0 |
Component: | OMPython | Version: | v1.13.0 |
Keywords: | Usage OMPython with Synchronous Library | Cc: |
Description
In order to use the Synchronous-Library it is necessary to add the Command Line Option "+std=3.3".
Unfortunately there is no way (or not a documented way) to do this via the "mod=ModelicaSystem(..." command.
As a workaround the line:
self.requestApi("setCommandLineOptions", '"+std=3.3"')
in the file "_init_.py", function: "loadingModel" solves the problem.
It would be nice if there where an additional parameter in the loadingModel-function or a hint in the documentation how to do this.
Change History (2)
comment:1 by , 3 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 3 years ago
Milestone: | Future → 1.19.0 |
---|
Note:
See TracTickets
for help on using tickets.
See https://github.com/OpenModelica/OpenModelica/issues/5450