Opened 11 years ago

Closed 11 years ago

#2580 closed defect (fixed)

Make simulate not clear error-buffer

Reported by: Lennart Ochel Owned by: Martin Sjölund
Priority: high Milestone: 1.9.1
Component: Interactive Environment Version: trunk
Keywords: Cc:

Description

.OpenModelica.Scripting.countMessages returns sometimes (0, 0, 0) even if there are warnings and errors.
This is because simulate() clears the error-buffer for some reasons.

simulate(ThermoPower.Examples.HRB.Simulators.OpenLoopSimulator);

countMessages();
getErrorString();

Change History (2)

comment:1 by Martin Sjölund, 11 years ago

Status: newassigned
Summary: .OpenModelica.Scripting.countMessages does not work alwaysMake simulate not clear error-buffer

comment:2 by Martin Sjölund, 11 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r19115.

Note: See TracTickets for help on using tickets.