Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

Problème d'exemple d'openmodelica

Problème d'exemple d'openmodelica

Bonjour,

j'ai roncontré une erreur lors de l'application de Exemple "Interface de maquette fonctionnelle - FMI", au moment de simulation je trouve toujours la meme erreur :

"#[BouncingBall_me_FMU: 70:7-70:37]: Operator reinit may only be used in the body of a when equation."

Merci de votre aide.

Re: Problème d'exemple d'openmodelica

Du burde overveje at skrive dit spørgsmål på engelsk. Det vil formentlig øge dine chancer for at få et svar...

Re: Problème d'exemple d'openmodelica

From what i could translate using google I think this is your problem:

The new front-end which is the default does not allow to use reinit in algorithms as that is conform with the Modelica specification.
You can select to use the old front-end before you import the FMU: Options->Tools->Simulation->Enable old frontend for code generation.

There are 0 guests and 0 other users also viewing this topic
You are here: