Opened 8 years ago

Closed 8 years ago

#4209 closed defect (fixed)

Wrong errors reported by OMEdit when first opening a MultiBody model

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: high Milestone: 1.11.0
Component: OMEdit Version:
Keywords: Cc:

Description

Whenever opening a MultiBody model for the first time, OMEdit reports the following two error messages:

[1] 19:27:21 Translation Error
[Modelica.Mechanics.MultiBody.Visualizers: 1979:8-1980:83]: 
PartialModelicaServices is partial, name lookup is not allowed
in partial classes.

[2] 19:27:21 Translation Error
[ModelicaServices: 583:5-584:81]: PartialModelicaServices is 
partial, name lookup is not allowed in partial classes.

even though everything works perfectly. This is not a critical bug, as nothing is really broken, but on the other hand we should not have bogus error messages showing up in OMEdit when everything's fine.

Change History (4)

comment:1 by Adrian Pop, 8 years ago

Status: newaccepted

comment:2 by Adrian Pop, 8 years ago

Ah, this happens when you open the model, not when compiling it. Ok, I have an idea where too look.

comment:3 by Adrian Pop, 8 years ago

The API getInheritedClasses gives these errors. We should silence them.

comment:4 by Adrian Pop, 8 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.