Opened 6 years ago

Closed 5 years ago

#5528 closed defect (fixed)

NF API cannot instantiate a simple model with Medium package

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: blocker Milestone: 1.14.0
Component: NF API Version:
Keywords: Cc:

Description

Please load the attached TestParameterUnits.mo file in OMEdit with -d=nfAPI.

Open the diagram view of M2. The icon of m is not shown, and the following errors are issued:

[1] 22:55:18 Translation Error
[OpenModelica: 860:3-861:18]: Type ‘BuiltinType‘ does not extend a basic type.

[2] 22:55:18 Translation Error
[TestParameterUnits: 6:5-6:41]: Class Medium.AbsolutePressure not found in scope M1.

Attachments (1)

TestParameterUnits.mo (450 bytes ) - added by Francesco Casella 6 years ago.

Download all attachments as: .zip

Change History (2)

by Francesco Casella, 6 years ago

Attachment: TestParameterUnits.mo added

comment:1 by Francesco Casella, 5 years ago

Resolution: fixed
Status: newclosed

This issue was solved with one of the later nfAPI commits by @adrpo. It now works fine.

Note: See TracTickets for help on using tickets.