Opened 7 years ago
Closed 7 years ago
#4670 closed defect (fixed)
NF lookup issue in types involving equalityConstraint
Reported by: | Per Östlund | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | v1.13.0-dev-nightly |
Keywords: | Cc: |
Description
Many models in the MSL fail with a lookup error, see e.g.
https://libraries.openmodelica.org/branches/newInst/Modelica_3.2.2/files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint.err:
[Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:844:9-844:81:writable] Error: Variable Frames.Quaternions.Orientation.equalityConstraint not found in scope body.
This is due to Orientation being a type, which causes the lookup to fail for some reason. Types aren't allowed to have any other named element than equalityConstraint, so we could probably implement a special case for that.
Change History (3)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Summary: | NF lookup issue in types → NF lookup issue in types involving equalityConstraint |
Note:
See TracTickets
for help on using tickets.
Also, function lookup uses lookupCref which causes the error message to say "Variable ... not found" instead of "Function ... not found".