Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#3190 closed defect (fixed)

ParModelica fails to build ModelicaBuiltin.mo

Reported by: Gustaf Thorslund Owned by: Mahder Alemseged Gebremedhin
Priority: high Milestone: 1.9.4
Component: ParModelica Version: trunk
Keywords: ParModelica Cc:

Description

Trying to build a tiny example like

class null
end null;

kind of fails when trying to use ParModelica

$ omc -g=ParModelica null.mo
Error processing file: null.mo
[/home/gustaf/local/openmodelica/lib/omc/ModelicaBuiltin.mo:49:1-49:7:writable] Error: Parser error: Unexpected token near: impure (IDENT)
Error: Internal error Builtin.getInitialFunctions failed.
Error: Error occurred while flattening model null

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!

$ omc --version
1.9.2+dev (r24700)

Change History (8)

comment:1 by Mahder Alemseged Gebremedhin, 10 years ago

Owner: changed from somebody to Mahder Alemseged Gebremedhin
Status: newaccepted

comment:2 by Gustaf Thorslund, 10 years ago

Component: UnknownFrontend

comment:3 by Mahder Alemseged Gebremedhin, 10 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in revision r24931. Good luck :)

comment:4 by Adrian Pop, 10 years ago

You could add a small test for it so that we don't break it again.

comment:5 by Mahder Alemseged Gebremedhin, 10 years ago

There are a lot of tests that need to be added for ParModelica. Specially now that someone is actively using it. I think more things might have been broken. I will have a look and see if I can get back to fully working state soon. In the meantime let me know when you have specific issues like this.

comment:6 by Gustaf Thorslund, 10 years ago

Component: FrontendParModelica

comment:7 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:8 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.