Opened 7 years ago

Closed 7 years ago

#4209 closed defect (fixed)

Wrong errors reported by OMEdit when first opening a MultiBody model

Reported by: casella Owned by: adrpo
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 Changed 7 years ago by adrpo

  • Status changed from new to accepted

comment:2 Changed 7 years ago by adrpo

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

comment:3 Changed 7 years ago by adrpo

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

comment:4 Changed 7 years ago by adrpo

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.