Notification: Performance of loadModel(ModelicaTest): time 1.805/1.805, allocations: 235 MB / 241.2 MB, free: 7.355 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2209/2.026, allocations: 56.81 MB / 298 MB, free: 8.539 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08339/2.109, allocations: 54.87 MB / 352.9 MB, free: 9.641 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/2.217, allocations: 80.27 MB / 433.2 MB, free: 9.258 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/2.217, allocations: 67.84 kB / 433.3 MB, free: 9.195 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01051/2.228, allocations: 2.817 MB / 436.1 MB, free: 6.316 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/2.228, allocations: 8 kB / 436.1 MB, free: 6.309 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/2.228, allocations: 11.91 kB / 436.1 MB, free: 6.297 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/2.228, allocations: 186.9 kB / 436.3 MB, free: 6.074 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.294e-06/2.228, allocations: 0 / 436.3 MB, free: 6.074 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/2.228, allocations: 4 kB / 436.3 MB, free: 6.07 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.787e-05/2.228, allocations: 16 kB / 436.3 MB, free: 6.055 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/2.228, allocations: 63.34 kB / 436.4 MB, free: 5.98 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/2.228, allocations: 0 / 436.4 MB, free: 5.98 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/2.228, allocations: 3.938 kB / 436.4 MB, free: 5.977 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/2.228, allocations: 0 / 436.4 MB, free: 5.977 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/2.229, allocations: 261.4 kB / 436.6 MB, free: 5.684 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/2.229, allocations: 36.33 kB / 436.6 MB, free: 5.641 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.821e-05/2.229, allocations: 20.94 kB / 436.7 MB, free: 5.617 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/2.229, allocations: 3.938 kB / 436.7 MB, free: 5.613 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/2.229, allocations: 38.47 kB / 436.7 MB, free: 5.566 MB / 376.6 MB Notification: Performance of pre-optimization done (n=4): time 1.681e-06/2.229, allocations: 0 / 436.7 MB, free: 5.566 MB / 376.6 MB Notification: Performance of matching and sorting (n=6): time 0.0004634/2.229, allocations: 117.4 kB / 436.8 MB, free: 5.445 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/2.23, allocations: 77.11 kB / 436.9 MB, free: 5.352 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/2.23, allocations: 113 kB / 437 MB, free: 5.234 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/2.23, allocations: 29.7 kB / 437 MB, free: 5.199 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/2.23, allocations: 150.6 kB / 437.2 MB, free: 5.051 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/2.23, allocations: 23.66 kB / 437.2 MB, free: 5.027 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/2.23, allocations: 0 / 437.2 MB, free: 5.027 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001122/2.23, allocations: 314.8 kB / 437.5 MB, free: 4.711 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.365e-05/2.23, allocations: 23.88 kB / 437.5 MB, free: 4.688 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.437e-05/2.23, allocations: 25.72 kB / 437.6 MB, free: 4.656 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/2.23, allocations: 23.98 kB / 437.6 MB, free: 4.633 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/2.23, allocations: 4.031 kB / 437.6 MB, free: 4.629 MB / 376.6 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00016/2.23, allocations: 69.58 kB / 437.7 MB, free: 4.555 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/2.23, allocations: 11.98 kB / 437.7 MB, free: 4.543 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-06/2.23, allocations: 0 / 437.7 MB, free: 4.543 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/2.23, allocations: 0 / 437.7 MB, free: 4.543 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/2.23, allocations: 16 kB / 437.7 MB, free: 4.527 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-06/2.231, allocations: 0 / 437.7 MB, free: 4.527 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/2.231, allocations: 15.98 kB / 437.7 MB, free: 4.512 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/2.231, allocations: 0 / 437.7 MB, free: 4.512 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.334e-05/2.231, allocations: 75.28 kB / 437.8 MB, free: 4.438 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001591/2.231, allocations: 73.59 kB / 437.8 MB, free: 4.359 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/2.231, allocations: 7.906 kB / 437.9 MB, free: 4.352 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002016/2.231, allocations: 94.19 kB / 437.9 MB, free: 4.254 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/2.231, allocations: 0 / 437.9 MB, free: 4.254 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.748e-06/2.231, allocations: 4 kB / 438 MB, free: 4.25 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-06/2.231, allocations: 3.906 kB / 438 MB, free: 4.246 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/2.232, allocations: 311.1 kB / 438.3 MB, free: 3.898 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.107e-06/2.232, allocations: 0 / 438.3 MB, free: 3.898 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.309e-05/2.232, allocations: 15.98 kB / 438.3 MB, free: 3.883 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/2.232, allocations: 4 kB / 438.3 MB, free: 3.879 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.691e-06/2.232, allocations: 0 / 438.3 MB, free: 3.879 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.504e-06/2.232, allocations: 3.906 kB / 438.3 MB, free: 3.875 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.85e-06/2.232, allocations: 0 / 438.3 MB, free: 3.875 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001809/2.232, allocations: 171.4 kB / 438.5 MB, free: 3.691 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/2.232, allocations: 89.02 kB / 438.5 MB, free: 3.586 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/2.232, allocations: 0 / 438.5 MB, free: 3.586 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/2.232, allocations: 7.984 kB / 438.5 MB, free: 3.578 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/2.232, allocations: 4 kB / 438.5 MB, free: 3.574 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-06/2.232, allocations: 0 / 438.5 MB, free: 3.574 MB / 376.6 MB Notification: Performance of sort global known variables: time 7.184e-05/2.232, allocations: 99.27 kB / 438.6 MB, free: 3.477 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0003467/2.233, allocations: 28 kB / 438.7 MB, free: 3.449 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/2.234, allocations: 0.8998 MB / 439.6 MB, free: 2.617 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.0001665/2.234, allocations: 73.62 kB / 439.6 MB, free: 2.539 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 2.35e-06/2.234, allocations: 0 / 439.6 MB, free: 2.539 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 5.371e-05/2.234, allocations: 20 kB / 439.7 MB, free: 2.52 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/2.234, allocations: 7.906 kB / 439.7 MB, free: 2.512 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/2.235, allocations: 167.3 kB / 439.8 MB, free: 2.301 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/2.235, allocations: 0.723 MB / 440.6 MB, free: 1.551 MB / 376.6 MB Notification: Performance of SimCode: time 6.73e-07/2.235, allocations: 0 / 440.6 MB, free: 1.551 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.1242/2.359, allocations: 1.936 MB / 442.5 MB, free: 131.4 MB / 376.6 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." "-I/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:5: In file included from /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:276:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabFMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 5 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1D_Test25_usertabCalcHelperMain.o] Error 1