- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Examples Modelica_Synchronous don't run
Examples Modelica_Synchronous don't run
Examples Modelica_Synchronous don't run
Hello,
I would like to use the elements in the Modelica_synchronous library. However, if I try to flatten Modelica_Synchronous.Examples.RealSignals.Sample1 (or any other example) I get the error message:
[C:/OpenModelica1.9.1/lib/omlibrary/Modelica_Synchronous 0.92/ClockSignals.mo:642:3-674:11] Error: Class Clock not found in scope Modelica_Synchronous.ClockSignals.Interfaces.
It is completely true that this class doesn't exist.
Does anybody has any pointers to solve this?
Thanks in advance
Bas
- bjdekruif
- 18 Posts
Re: Examples Modelica_Synchronous don't run
Hi,
OpenModelica does not fully support synchronous features from Modelica Specification 3.3.
We're working on it but it will take a while.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: Examples Modelica_Synchronous don't run
ok,
thanks for the quick reply!
bas
- bjdekruif
- 18 Posts
Re: Examples Modelica_Synchronous don't run
You can play with what little does work using +std=3.3
- sjoelund.se
- 1700 Posts
Re: Examples Modelica_Synchronous don't run
When I use the +std=3.3 at the simulation flags in OMedit, it still won't flatten.
This flag is to specify the language version it uses for compilation, if I understand correctly. The error is just that it cannot find the class 'Clock'. It seems that this wouldn't be solved by specifying the language. I don't start a simulation yet.
Thanks
Bas
- bjdekruif
- 18 Posts
Re: Examples Modelica_Synchronous don't run
The simulation flags only affect the simulation executable. Tools->Options->Simulation->OMC Flags can set specific flags. A little odd the simulation setup can't...
- sjoelund.se
- 1700 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Examples Modelica_Synchronous don't run