Opened 11 years ago
Closed 10 years ago
#2695 closed defect (fixed)
can't translate models with interdependence
Reported by: | Owned by: | Martin Sjölund | |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.1 |
Component: | Frontend | Version: | 1.9.0Beta |
Keywords: | Record, array, code generation | Cc: | Adrian Pop, Martin Sjölund, c.schulze@… |
Description
can't translate a model containing arrays and records if there is interdependence between the elements of the model. Example tested in rev. 20609
Attachments (1)
Change History (7)
by , 11 years ago
Attachment: | TestTILMediaOSMC.zip added |
---|
comment:1 by , 11 years ago
Cc: | added |
---|---|
Component: | Code Generation → Frontend |
Owner: | changed from | to
I get the following error message (using r21215):
"[/#2695/TestTILMediaOSMC/TestGas_error.mo:5:3-5:59:writable] Error: Variable gas_pT1.gasType.nc not found in scope TestTILMediaOSMC.TestGas_error. Error: Error occurred while flattening model TestTILMediaOSMC.TestGas_error "
comment:2 by , 10 years ago
I tested the revision number 22133, and the error message is the same. It is not possible to translate any model with an interdependence of array of parameters or variables.
comment:3 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:4 by , 10 years ago
Last week we tested the nightly build and this bug still causes problems. We'd be happy if someone could take care this.
comment:5 by , 10 years ago
Owner: | changed from | to
---|---|
Status: | accepted → assigned |
comment:6 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This is fixed by Adrian's larger changes in beta3/beta4 as well as the small fix in r22699.
TestGas_error can not be translated