Opened 8 years ago
Last modified 8 years ago
#3989 new defect
Noise system library examples fail
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Frontend | Version: | |
Keywords: | Cc: |
Description
The noise system library examples such as "UniformNoise" all fail with the attached message displayed in the compilation tab.
Samples are run on a Windows 7 64bit machine, using standard Windows intaller (OMEdit v1.9.5-dev-20-g6cc344e connected to OpenModelica v1.9.6). I am not very familiar with OpenModelica, but can give additional info if required.
Attachments (3)
Change History (8)
by , 8 years ago
Attachment: | error_message.txt added |
---|
comment:1 by , 8 years ago
I suggest you try with the latest nightly build with MSL 3.2.2:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
comment:2 by , 8 years ago
I have installed the version "https://build.openmodelica.org/omc/builds/windows/nightly-builds/64bit/OpenModelica-v1.11.0-dev-12-g3d60086-64bit.exe" and runned the same example "UniformNoise". The problem persists see attached new error message. You mention MSL 3.2.2, I assume that this acronym (I don't know where it exactly stands for, sorry) is incorporated in this nightly build itself or do I need to install/take actions separately? I currently just run the example right after opening OMEdit the first time without any changes in settings/options etc. Other examples from the standard libraries (as far as I tested them) all do work.
by , 8 years ago
Attachment: | error_message_OpenModelica1.10.0-dev-64bit.txt added |
---|
Error message from latest nightly build
comment:3 by , 8 years ago
Yes, MSL 3.2.2 is Modelica Standard Library version 3.2.2 which has the Modelica_Noise library included. Have a look at what Modelica library you are using: OMEdit->Tools->Options->Libraries.
If is not already there you can select version 3.2.2 and restart OMEdit.
Then you have the latest Noise library which works inside Modelica. For example: Modelica.Blocks.Examples.NoiseExamples.UniformNoise works fine in MSL 3.2.2 (see attached).
by , 8 years ago
Attachment: | UniformNoise.png added |
---|
comment:4 by , 8 years ago
With the latest nightly build I can indeed use Modelica library 3.2.2 (I changed the setting in the ...Tools->Options->Libraries from "default" to "3.2.2") and this solution works, the noise samples then all run ok. For the latest released windows version I can not load Modelica library 3.2.2 I assume this has been the cause. Can I keep working with this nightly build or is there a way to use the released windows version with Modelica library 3.2.2? Other than this last question please consider this issue closed. Thank you for the prompt support!
comment:5 by , 8 years ago
Component: | *unknown* → Frontend |
---|
You can continue using the nightly build as we will anyway make a release out of it soon.
I'll keep this ticket open anyway as the Modelica_Noise library should work so there is still an issue. As far as I can tell the issue is with some package constant that is not evaluated properly and ends up in the generated code. Hopefully the new front-end we're working on will fix this.
Text dump of compilation