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: lochel 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 Changed 10 years ago by lochel

  • Owner changed from somebody to wbraun
  • Status changed from new to assigned

comment:2 Changed 10 years ago by wbraun

  • Component changed from Run-time to Code Generation
  • Owner changed from wbraun to somebody
  • Priority changed from critical to normal
  • Summary changed from Solver dump (-lv=LOG_SOLVER) breaks simulation to *_info.json is corrupted when model has no real equations

comment:3 Changed 10 years ago by wbraun

  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in r23950.

comment:4 Changed 9 years ago by dietmarw

  • Milestone changed from Future to pre1.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 Changed 7 years ago by sjoelund.se

  • Milestone changed from pre1.9.4 to 1.9.4

Removing the pre1.9.4 milestone in favor of 1.9.4.

Note: See TracTickets for help on using tickets.