*_info.json is corrupted when model has no real equations
Version: 1.9.2+dev (r23948)
loadString("
model Test2
model foo
parameter Real p = 1;
end foo;
foo f(p=2);
end Test2;
"); getErrorString();
simulate(Test2, simflags="-lv LOG_SOLVER"); getErrorString();
Output:
./Test2 -lv LOG_SOLVER
LOG_SOLVER | info | NO override given on the command line.
LOG_SOLVER | info | numberOfIntervals = 500
Expected ',', got: ],
"functions":[
]
}
Aborted (core dumped)
Change History
(5)
Owner: |
changed from somebody to Willi Braun
|
Status: |
new → assigned
|
Component: |
Run-time → Code Generation
|
Owner: |
changed from Willi Braun to somebody
|
Priority: |
critical → normal
|
Summary: |
Solver dump (-lv=LOG_SOLVER) breaks simulation → *_info.json is corrupted when model has no real equations
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Milestone: |
Future → pre1.9.4
|
Milestone: |
pre1.9.4 → 1.9.4
|
fixed in r23950.