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

/*ENUM:StateSelect.default*/'

/*ENUM:StateSelect.default*/'

Hello,

I try to simulate a FMU that I made with OpenModelica with PySimulator. When the model contains some masses, I get into troubles. I get an error:

invalid literal for int() with base 10: '3 /*ENUM:StateSelect.default*/'

This looks very much like the (closed) ticket  at https://trac.openmodelica.org/OpenModelica/ticket/2441
I run the version 1.9.2beta which has a higher release number, so I didn't expect this error.

Can somebody help me to overcome this problem?

Thanks in advance
Bas

Re: /*ENUM:StateSelect.default*/'

This error was not really fixed in revision https://trac.openmodelica.org/OpenModel … eset/17882 there was one more location where it should be fixed and i did that in revision https://trac.openmodelica.org/OpenModel … set/19911. If your revision is higher than 19911 then I might need to look into it again.

Adeel.

Re: /*ENUM:StateSelect.default*/'

Hello Adeel,

I am running r19512, so I have to update. Did not see the other ticket.

Thanks
Bas

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