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
  • » jiteshbajaj
  • » Profile

Posts

Posts

I made a small model of mass spring damper. I am trying to Export the FMU but i am facing this error. Is is due to the directory mismatch or something?

[:0:0-0:0] Error: Error building simulator. Build log: gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_FMU.o masspring_FMU.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring.o masspring.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_functions.o masspring_functions.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_records.o masspring_records.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_01exo.o masspring_01exo.c
In file included from masspring_FMU.c:104:
C:/OpenModelica1.9.1Beta2//include/omc/c/fmu_model_interface.c: In function 'masspring_fmiEventUpdate':
C:/OpenModelica1.9.1Beta2//include/omc/c/fmu_model_interface.c:627: warning: passing argument 2 of 'infoStreamPrint' makes integer from pointer without a cast
C:/OpenModelica1.9.1Beta2//include/omc/c/util/omc_error.h:142: note: expected 'int' but argument is of type 'char *'
C:/OpenModelica1.9.1Beta2//include/omc/c/fmu_model_interface.c:627: warning: passing argument 3 of 'infoStreamPrint' makes pointer from integer without a cast
C:/OpenModelica1.9.1Beta2//include/omc/c/util/omc_error.h:142: note: expected 'const char *' but argument is of type 'long int'
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_02nls.o masspring_02nls.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_03lsy.o masspring_03lsy.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_04set.o masspring_04set.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_05evt.o masspring_05evt.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_06inz.o masspring_06inz.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_07dly.o masspring_07dly.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_08bnd.o masspring_08bnd.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_09alg.o masspring_09alg.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_10asr.o masspring_10asr.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_11mix.o masspring_11mix.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_12jac.o masspring_12jac.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_13opt.o masspring_13opt.c
gcc  -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.   -c -o masspring_14lnz.o masspring_14lnz.c
g++ -shared -I. -o masspring.dll masspring_FMU.o masspring.o masspring_functions.o masspring_records.o masspring_01exo.o masspring_02nls.o masspring_03lsy.o masspring_04set.o masspring_05evt.o masspring_06inz.o masspring_07dly.o masspring_08bnd.o masspring_09alg.o masspring_10asr.o
masspring_11mix.o masspring_12jac.o masspring_13opt.o masspring_14lnz.o -I"C:/OpenModelica1.9.1Beta2//include/omc/c" -I.      -
I"C:/OpenModelica1.9.1Beta2//include/omc/c" -O  -falign-functions -msse2 -mfpmath=sse    -L"C:/OpenModelica1.9.1Beta2//lib/omc" -Wl,-rpath,'C:/OpenModelica1.9.1Beta2//lib/omc' -lSimulationRuntimeC -linteractive -lregex -lexpat -lgc -lpthread -fopenmp -loleaut32  -lSimulationRuntimeC -lgc -lexpat -lregex -static-libgcc -luuid -loleaut32 -lole32 -lws2_32 -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lcoinmetis -lpthread -lm -lgfortranbegin -lgfortran -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -llapack-mingw -ltmglib-mingw -lblas-mingw -lf2c -linteractive -lwsock32 -llis -lstdc++  -Wl,-Bstatic -lf2c -Wl,-Bdynamic -llis -Wl,--kill-at
g++: masspring_FMU.o: No such file or directory
g++: masspring.o: No such file or directory
g++: masspring_records.o: No such file or directory
mingw32-make: *** [masspring.dll] Error 1

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