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

Posts

Posts

Dear all,

since upgrading to OpenModelica 1.18.1 (Windows x64), I am experiencing compilation errors with every model that contains a table class such as combiTable1D. Unfortunately, the error persists when I uninstall 1.18.1 and revert back to 1.18.0. I built a very simple model for demonstration:

model modelname
  Modelica.Blocks.Sources.Sine sine(freqHz = 10)  annotation(
    Placement(visible = true, transformation(origin = {-88, 24}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
  Modelica.Blocks.Tables.CombiTable1D combiTable1D(table = [0, 0; 1, 1; 2, 4; 4, 16])  annotation(
    Placement(visible = true, transformation(origin = {-28, 22}, extent = {{-10, -10}, {10, 10}}, rotation = 0)));
equation
  connect(sine.y, combiTable1D.u[1]) annotation(
    Line(points = {{-76, 24}, {-40, 24}, {-40, 22}}, color = {0, 0, 127}));
  annotation(
    uses(Modelica(version = "3.2.3")));
end modelname;

My error code looks like this:
/usr/bin/sh: clang -I. -o modelname.exe modelname.o modelname_functions.o modelname_records.o modelname_01exo.o modelname_02nls.o modelname_03lsy.o modelname_04set.o modelname_05evt.o modelname_06inz.o modelname_07dly.o modelname_08bnd.o modelname_09alg.o modelname_10asr.o modelname_11mix.o modelname_12jac.o modelname_13opt.o modelname_14lnz.o modelname_15syn.o modelname_16dae.o modelname_17inl.o modelname_18spd.o -I"D:/05_Programme/Modelica/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=modelname -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"D:/00_Diss/p800/15_Modelle/01_Modelica"  "-LD:/05_Programme/Modelica/lib//omc" "-LD:/05_Programme/Modelica/lib/" "-LC:/Users/[PATH THAT HAS BLANKS]/AppData/Roaming/.openmodelica/binaries/Modelica" "-LD:/05_Programme/Modelica/lib/omlibrary/Modelica 3.2.3/Resources/Library/mingw64" "-LD:/05_Programme/Modelica/lib/omlibrary/Modelica 3.2.3/Resources/Library/win64" "-LD:/05_Programme/Modelica/lib/omlibrary/Modelica 3.2.3/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib  -Os -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I"D:/05_Programme/Modelica/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=modelname -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -L"D:/05_Programme/Modelica/lib//omc" -L"D:/05_Programme/Modelica/lib" -Wl,--stack,16777216,-rpath,"D:/05_Programme/Modelica/lib//omc" -Wl,-rpath,"D:/05_Programme/Modelica/lib"  -fopenmp -Wl,-Bstatic -lregex -ltre -lintl -liconv -lexpat -lomcgc -lpthread -loleaut32 -limagehlp -lhdf5 -lz -lszip -Wl,-Bdynamic -Wl,-Bdynamic -lSimulationRuntimeC -Wl,-Bdynamic  -Wl,-Bdynamic -lomcgc -lregex -ltre -lintl -liconv -lexpat -static-libgcc -luuid -loleaut32 -lole32 -limagehlp -lws2_32 -llis -lsundials_nvecserial -lsundials_sunmatrixdense -lsundials_sunmatrixsparse -lsundials_sunlinsoldense -lsundials_sunlinsolklu -lsundials_sunlinsollapackdense -lsundials_sunlinsolspbcgs -lsundials_sunlinsolspfgmr -lsundials_sunlinsolspgmr -lsundials_sunlinsolsptfqmr -lsundials_sunnonlinsolnewton -lsundials_cvode -lsundials_cvodes -lsundials_idas -lsundials_kinsol -lumfpack -lklu -lcolamd -lbtf -lamd -lsuitesparseconfig -lipopt -lcoinmumps -lpthread -lm  -lgfortran -lquadmath -lmingw32 -lgcc_eh -lmoldname -lmingwex  -luser32 -lkernel32 -ladvapi32 -lshell32 -lopenblas -lcminpack -Wl,-Bdynamic -lwsock32  -Wl,-Bdynamic  -lstdc++ -Wl,-Bdynamic  : No such file or directory
mingw32-make: *** [modelname.makefile:37: omc_main_target] Error 127
mingw32-make: Leaving directory 'C:/Temp/OPENMO~1/OMEdit/MODELN~1'
Compilation process failed. Exited with code 0x00000002.

Does anyone of you know how to fix this? I already had a look at my temp directory that should not have blanks in between - unfortunately without any luck. I noticed that in the error message, there is still a path containing my user name that has a blank as well as a german "Umlaut" in it - how can I omit that?

Thanks in advance!

Best regards,
Thomas

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