Opened 10 years ago
Closed 3 years ago
#3789 closed defect (fixed)
Missing variables in _info.json file
| Reported by: | Owned by: | Martin Sjölund | |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | *unknown* | Version: | |
| Keywords: | Cc: |
Description
After building the following:
loadString("
model jsonfile_bug
parameter Real k=1000;
parameter Real d=2.847;
parameter Real dL=-0.1;
Real L(start=2.8,fixed=true);
Real T1;
Real T2;
equation
der(L)=dL;
T1=semiLinear(d / L - 1, k, 0);
T2=semiLinear((d / L) - 2, k, 0);
end jsonfile_bug;
");
getErrorString();
buildModel(jsonfile_bug);
The variable definitions for dL and T2 are missing from the _info.json file.
Change History (8)
comment:1 by , 8 years ago
| Milestone: | Future → 1.13.0 |
|---|---|
| Owner: | changed from to |
| Priority: | high → critical |
| Status: | new → assigned |
comment:2 by , 7 years ago
As far as I see the missing variables are the ones, that are moved to the known variables by the removeSimpleEquation module.
comment:4 by , 6 years ago
| Milestone: | 1.14.0 → 1.16.0 |
|---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:6 by , 5 years ago
| Milestone: | 1.17.0 → 1.18.0 |
|---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
comment:8 by , 3 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Already fixed, see https://github.com/OpenModelica/OpenModelica/issues/3789
Note:
See TracTickets
for help on using tickets.

The problem is still there. Seven equations reported, but only five variables, dL and T2 missing.
@sjolund.se, can you have a look?