Opened 11 years ago
Closed 10 years ago
#2495 closed defect (fixed)
Looking for a function ... but found a RECORD
Reported by: | jan.kokert | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Adrian Pop |
Description
Hi!
I'd like to run the examles from the Modelica_EnergyStorages Library.
The battery parameters are given in a separate file (Modelica_EnergyStorages.CellRecords.StaticResistance.Test1Parameters)
When I run the example I get the error message:
"Translation 13:22:37 0:0-0:0 Looking for a function Modelica_EnergyStorages.CellRecords.StaticResistance.Test1Parameters but found a RECORD."
This seems to be a specific problem with open modelica (in dymola it works fine)
I'm currently using r18345
Kind Regards
Jan
Change History (3)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
Cc: | added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
This should now work in r18680, but I am unhappy with the patch. Record constructors are done in an odd way...
comment:3 by , 10 years ago
Component: | Backend → Frontend |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
I believe the first error is the relevant one:
An OpenModelica bug in this case anyway.
fill(0,0,2)
should work...