#3662 closed defect (fixed)
Internal error expanding package in OMEdit
Reported by: | Alexander Täschner <A.Taeschner@…> | Owned by: | perost |
---|---|---|---|
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 Changed 8 years ago by adeas31
- Component changed from OMEdit to Frontend
- Owner changed from adeas31 to perost
- Status changed from new to assigned
comment:2 Changed 8 years ago by Alexander Täschner <A.Taeschner@…>
- Resolution set to fixed
- Status changed from assigned to closed
comment:3 Changed 8 years ago by Alexander Täschner <A.Taeschner@…>
- Resolution fixed deleted
- Status changed from closed to reopened
Just reproduced the error again using exactly the steps given above (before I expanded the examples first).
comment:4 Changed 8 years ago by perost
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 Changed 8 years ago by Alexander Täschner <A.Taeschner@…>
- Resolution set to fixed
- Status changed from reopened to closed
It is fixed in todays nightly build.
comment:6 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4 to 1.9.4-1.9.x
Milestone renamed
comment:7 Changed 8 years ago by sjoelund.se
- Milestone changed from 1.9.4-1.9.x to 1.9.4
Milestone renamed
Using the current windows nightly build, the template error is not displayed anymore.