- Index
- » Users
- » ottobay
- » Profile
Posts
Posts
hello,
still struggling with this one..
does anyone know if it is possible to set the path of the compiler used for the simulations?
i am guessing at the moment the solver selected isnt the one installed with the openmodelica but another one which is on my manchine..
thanks you very much for yuur answers.
cheers
otto
hello,
i am new to openmodelica..
in fact i have just installed it and compiled the first model.
when trying to run i get the following gcc error message.
i got exactly the same message when running one of the provided models, so i assume the error is related to the installation rather than the model itselt.
thank you very much for your help.
kind regards
otto
C:/Program%Files/OpenModelica1.11.0-64bit//share/omc/scripts/Compile.bat OttoTestModel1 gcc mingw64 parallel 8 0
PATH = "C:\Program%Files\OpenModelica1.11.0-64bit\tools\msys\mingw64\bin;C:\Program%Files\OpenModelica1.11.0-64bit\tools\msys\mingw64\bin\..\..\usr\bin;"
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1.o OttoTestModel1.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_functions.o OttoTestModel1_functions.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_records.o OttoTestModel1_records.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_01exo.o OttoTestModel1_01exo.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_02nls.o OttoTestModel1_02nls.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_03lsy.o OttoTestModel1_03lsy.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_04set.o OttoTestModel1_04set.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_05evt.o OttoTestModel1_05evt.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_06inz.o OttoTestModel1_06inz.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_07dly.o OttoTestModel1_07dly.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_08bnd.o OttoTestModel1_08bnd.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_09alg.o OttoTestModel1_09alg.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_10asr.o OttoTestModel1_10asr.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_11mix.o OttoTestModel1_11mix.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_12jac.o OttoTestModel1_12jac.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_13opt.o OttoTestModel1_13opt.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_14lnz.o OttoTestModel1_14lnz.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_15syn.o OttoTestModel1_15syn.c
gcc -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OttoTestModel1_16dae.o OttoTestModel1_16dae.c
gcc -I. -o OttoTestModel1.exe OttoTestModel1.o OttoTestModel1_functions.o OttoTestModel1_records.o OttoTestModel1_01exo.o OttoTestModel1_02nls.o OttoTestModel1_03lsy.o OttoTestModel1_04set.o OttoTestModel1_05evt.o OttoTestModel1_06inz.o OttoTestModel1_07dly.o OttoTestModel1_08bnd.o OttoTestModel1_09alg.o OttoTestModel1_10asr.o OttoTestModel1_11mix.o OttoTestModel1_12jac.o OttoTestModel1_13opt.o OttoTestModel1_14lnz.o OttoTestModel1_15syn.o OttoTestModel1_16dae.o -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"//ccfepc/Home/K-O/ocaretta/Desktop/modelicaModels" -falign-functions -msse2 -mfpmath=sse -I"C:/Program%Files/OpenModelica1.11.0-64bit//include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OttoTestModel1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"//ccfepc/Home/K-O/ocaretta/Desktop/modelicaModels" -L"C:/Program%Files/OpenModelica1.11.0-64bit//lib//omc" -L"C:/Program%Files/OpenModelica1.11.0-64bit//lib" -Wl,--stack,16777216,-rpath,"C:/Program%Files/OpenModelica1.11.0-64bit//lib//omc" -Wl,-rpath,"C:/Program%Files/OpenModelica1.11.0-64bit//lib" -lregex -lexpat -lomcgc -lpthread -fopenmp -loleaut32 -lz -lhdf5 -lSimulationRuntimeC -lomcgc -lexpat -lregex -static-libgcc -luuid -loleaut32 -lole32 -lws2_32 -llis -lumfpack -lklu -lcolamd -lbtf -lamd -lsundials_idas -lsundials_kinsol -lsundials_nvecserial -lipopt -lcoinmumps -lpthread -lm -lgfortranbegin -lgfortran -lmingw32 -lgcc_eh -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -lwsock32 -lstdc++
gcc.exe: error: spec failure: unrecognized spec option 'F'
gcc.exe: error: spec failure: unrecognized spec option 'F'
gcc.exe: error: spec failure: unrecognized spec option 'F'
C:/Program%Files/OpenModelica1.11.0-64bit/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/Programiles/OpenModelica1.11.0-64bit/tools/msys/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.3.0/liblto_plugin-0.dll: error loading plugin:
collect2.exe: error: ld returned 1 exit status
OttoTestModel1.makefile:29: recipe for target 'omc_main_target' failed
\tools\msys\mingw64\bin\mingw32-make: *** [omc_main_target] Error 1
Compilation process failed. Exited with code 2.
- Index
- » Users
- » ottobay
- » Profile