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
  • Index
  • » Users
  • » fvarela
  • » Profile

Posts

Posts

Dear users:

When I try to get the output *.csv file, an error message appears and no output file is created. However, if no output file is required, simulation results are shown correctly in the plotting window. What can I do?

To help you understand, I reproduce the error message just behind this text. Thank you very much.

Translation    12:07:59        0:0-0:0    Error building simulator. Build log: gcc   -falign-functions -msse2 -mfpmath=sse   -I"C:/OpenModelica1.9.0//include/omc" -I.    -c -o c:\Temp\motor.o c:\Temp\motor.c
In file included from c:\Temp\motor.c:14:
c:\Temp\motor_functions.h:1:10: warning: extra tokens at end of #ifndef directive
c:\Temp\motor_functions.h:2:10: warning: missing whitespace after the macro name
In file included from C:/OpenModelica1.9.0//include/omc/meta_modelica.h:48,
                 from C:/OpenModelica1.9.0//include/omc/modelica.h:98,
                 from c:\Temp\motor_functions.h:4,
                 from c:\Temp\motor.c:14:
C:/OpenModelica1.9.0//include/omc/meta_modelica_builtin.h:71: error: expected ';', ',' or ')' before ':' token
C:/OpenModelica1.9.0//include/omc/meta_modelica_builtin.h:71: error: stray '\' in program
C:/OpenModelica1.9.0//include/omc/meta_modelica_builtin.h:71: error: stray '\' in program
In file included from C:/OpenModelica1.9.0//include/omc/modelica.h:98,
                 from c:\Temp\motor_functions.h:4,
                 from c:\Temp\motor.c:14:
C:/OpenModelica1.9.0//include/omc/meta_modelica.h: In function 'mmc_mk_scon':
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:280: error: expected identifier or '(' before ':' token
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:280: error: stray '\' in program
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:280: error: stray '\' in program
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:281: error: expected expression before ':' token
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:281: error: stray '\' in program
C:/OpenModelica1.9.0//include/omc/meta_modelica.h:281: error: stray '\' in program
c:\Temp\motor.c:44:37: warning: unknown escape sequence '\T'
c:\Temp\motor.c:44:37: warning: unknown escape sequence '\m'
c:\Temp\motor.c:74:43: warning: unknown escape sequence '\T'
c:\Temp\motor.c:74:43: warning: unknown escape sequence '\m'
mingw32-make: *** [c:\Temp\motor.o] Error 1

  • Index
  • » Users
  • » fvarela
  • » Profile
You are here: