Opened 5 years ago
Closed 4 years ago
#5752 closed defect (fixed)
Chemical library broken because of issue with String array package constant
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.17.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: | marek@… |
Description
Please check Chemical.Examples.WaterVaporization. The NF fails with
[/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0-beta/package.mo:2818:8-2819:54:writable] Error: Failed to deduce dimension 1 of References due to missing binding equation.
Apparently, OpenModelica can not deduce the dimension of array defined as parameter String[:] References={""};
in replaced record redeclare record extends SubstanceData
of re-declared package of replaceable package stateOfMatter = Incompressible constrainedby StateOfMatter
This issue affects most Chemical
models since the last update of the library.
@marek tried to fix this by replacing the declaration with parameter String[1] References={""};
, but I guess this shouldn't be necessary.
@perost, can you give a look?
Change History (2)
comment:1 by , 4 years ago
Milestone: | 1.16.0 → 1.17.0 |
---|
comment:2 by , 4 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This issue seems to have been fixed in the meantime, the models simulates successfully.
Retargeted to 1.17.0 after 1.16.0 release