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

Error in Simulation

Error in Simulation

Hi everybody
I have this unusual error:
Process crashed
Simulation process exited with code -1073741819
I have seen that this error is related to this array:
Real Giorni_Mese[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};

If I change 29 instead 28 in the second position of the array, this model works!!!!

I have also tried to change the declaration of the array, if I use Integer:
Integer Giorni_Mese[12] = {31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};+
I have this error:
Process crashed
Simulation process exited with code -1

Someone have an idea? why this error?
thanks

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