Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#3662 closed defect (fixed)

Internal error expanding package in OMEdit

Reported by: Alexander Täschner <A.Taeschner@…> Owned by: Per Östlund
Priority: critical Milestone: 1.9.4
Component: Frontend Version:
Keywords: Cc:

Description

Using the current nightly build on Windows (OpenModelica-v1.9.4-dev.beta1-20-geb5265c.exe) I got an error I have never experienced before:

[1] 08:10:11 Translation Error
Interner Fehler Expression.traverseExpTopDown1 or dladdr failed: not available on Windowsnot implemented correctly: <EMPTY(scope: HelmholtzMedia.Interfaces.PartialHelmholtzMedium.Ancillary.saturationPressure_T, name: fluidConstants[1].criticalTemperature, ty: Real(Real min PARAM DAE.EQBOUND(1.0, SOME(1.0), C_PARAM, [DEFAULT VALUE]), Real max PARAM DAE.EQBOUND(10000.0, SOME(10000.0), C_PARAM, [DEFAULT VALUE]), Real nominal PARAM DAE.EQBOUND(300.0, SOME(300.0), C_PARAM, [DEFAULT VALUE]), Real start PARAM DAE.EQBOUND(300.0, SOME(300.0), C_PARAM, [DEFAULT VALUE]), String quantity PARAM DAE.EQBOUND("ThermodynamicTemperature", SOME("ThermodynamicTemperature"), C_PARAM, [DEFAULT VALUE]), String unit PARAM DAE.EQBOUND("K", SOME("K"), C_PARAM, [DEFAULT VALUE]), String displayUnit PARAM DAE.EQBOUND("degC", SOME("degC"), C_PARAM, [DEFAULT VALUE])) origin: .Modelica.Media.Interfaces.Types.Temperature)>

[2] 08:10:11 Translation Error
[HelmholtzMedia.Interfaces.PartialHelmholtzMedium.Ancillary.saturationPressure_T: 2:1-40:25]: Interner Fehler InstUtil.checkFunctionDefUse failed

Steps to reproduce this are:

  • Open HelmholtzMedia library via File->System Libraries->HelmholtzMedia
  • Expand the library HelmholtzMedia in the Library Browser by clicking on the small arrow
  • Expand the package HelmholtzFluids

Change History (7)

comment:1 by Adeel Asghar, 9 years ago

Component: OMEditFrontend
Owner: changed from Adeel Asghar to Per Östlund
Status: newassigned

comment:2 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

Using the current windows nightly build, the template error is not displayed anymore.

comment:3 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Resolution: fixed
Status: closedreopened

Just reproduced the error again using exactly the steps given above (before I expanded the examples first).

comment:4 by Per Östlund, 9 years ago

Maybe fixed in e8a1b5c, but I can't test it myself since OMEdit is broken for me. Please try tomorrow's nightly build and let me know.

comment:5 by Alexander Täschner <A.Taeschner@…>, 9 years ago

Resolution: fixed
Status: reopenedclosed

It is fixed in todays nightly build.

comment:6 by Martin Sjölund, 9 years ago

Milestone: 1.9.41.9.4-1.9.x

Milestone renamed

comment:7 by Martin Sjölund, 9 years ago

Milestone: 1.9.4-1.9.x1.9.4

Milestone renamed

Note: See TracTickets for help on using tickets.