Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3060 closed defect (fixed)

*_info.json is corrupted when model has no real equations

Reported by: Lennart Ochel Owned by: somebody
Priority: normal Milestone: 1.9.4
Component: Code Generation Version: trunk
Keywords: Cc:

Description

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)

comment:1 by Lennart Ochel, 10 years ago

Owner: changed from somebody to Willi Braun
Status: newassigned

comment:2 by Willi Braun, 10 years ago

Component: Run-timeCode Generation
Owner: changed from Willi Braun to somebody
Priority: criticalnormal
Summary: Solver dump (-lv=LOG_SOLVER) breaks simulation*_info.json is corrupted when model has no real equations

comment:3 by Willi Braun, 10 years ago

Resolution: fixed
Status: assignedclosed

fixed in r23950.

comment:4 by Dietmar Winkler, 9 years ago

Milestone: Futurepre1.9.4

It doesn't make sense to keep closed ticket in the "Future" milestone that were simply forgotten to assign to the correct milestone in the past.

comment:5 by Martin Sjölund, 7 years ago

Milestone: pre1.9.41.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.