Opened 11 years ago

Closed 11 years ago

#2423 closed defect (worksforme)

Crash in OpenModelica Connection Editor related to multiple variable definitions on one line.

Reported by: willkeel Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: 1.9.0Beta
Keywords: Cc:

Description

Hey all,

I've never posted here before so apologies in advance if I'm doing it wrong. I'm not developing for OM, just a user.

Just wanted to note a crash I found in the Open Modelica Connection Editor 1.9.0 [Connected to OpenModelica 1.9.0 beta4(r15030)]

When I try to define multiple variables per line, specifically like this:

parameter Modelica.SIunits.Velocity Wx = 8.0 "velocity of wind in the X direction", Wz = 0.0 "velocity of wind in the Z direction", Wy = 0.0 "velocity of wind in the Y direction";

(All on one line). I crash.

If I try to write this in OMEdit, when I save I crash.

If I try to write this in a normal text editor, when I load the file and d/click from the Modelica Files pane (to see its contents) I crash.

I'm sure the crash is bad, but out of curiosity, does Modelica support such syntax for variable declarations?

Apologies also if this is a duplicate issue or already resolved in 1.9.1+.

Regards,
William Keel
willkeel@…

Change History (2)

comment:1 by Adeel Asghar, 11 years ago

It doesn't crash for me but I am using r17662. I suggest you should install OpenModelica 1.9.0 final release https://build.openmodelica.org/omc/builds/windows/releases/1.9.0/

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

Milestone: 1.9.1
Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.