Notification: Performance of loadModel(ModelicaTest): time 1.812/1.812, allocations: 235 MB / 241.2 MB, free: 7.422 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2124/2.025, allocations: 56.8 MB / 298 MB, free: 8.398 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/2.138, allocations: 54.87 MB / 352.9 MB, free: 9.68 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1053/2.243, allocations: 80.27 MB / 433.2 MB, free: 9.293 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/2.243, allocations: 71.86 kB / 433.3 MB, free: 9.227 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.01085/2.254, allocations: 2.977 MB / 436.2 MB, free: 6.191 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/2.254, allocations: 16 kB / 436.3 MB, free: 6.176 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.249e-05/2.254, allocations: 7.906 kB / 436.3 MB, free: 6.168 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/2.255, allocations: 194.8 kB / 436.4 MB, free: 5.938 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/2.255, allocations: 0 / 436.4 MB, free: 5.938 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/2.255, allocations: 4 kB / 436.5 MB, free: 5.934 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.481e-05/2.255, allocations: 27.92 kB / 436.5 MB, free: 5.906 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/2.255, allocations: 63.41 kB / 436.5 MB, free: 5.832 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/2.255, allocations: 0 / 436.5 MB, free: 5.832 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/2.255, allocations: 4 kB / 436.5 MB, free: 5.828 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.207e-06/2.255, allocations: 3.906 kB / 436.5 MB, free: 5.824 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/2.255, allocations: 269.3 kB / 436.8 MB, free: 5.523 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/2.255, allocations: 41.64 kB / 436.9 MB, free: 5.477 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/2.255, allocations: 18.73 kB / 436.9 MB, free: 5.457 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/2.255, allocations: 4 kB / 436.9 MB, free: 5.453 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/2.255, allocations: 34.56 kB / 436.9 MB, free: 5.41 MB / 376.6 MB Notification: Performance of pre-optimization done (n=5): time 1.727e-06/2.255, allocations: 0 / 436.9 MB, free: 5.41 MB / 376.6 MB Notification: Performance of matching and sorting (n=7): time 0.0004624/2.256, allocations: 117.5 kB / 437 MB, free: 5.289 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.854e-05/2.256, allocations: 81.05 kB / 437.1 MB, free: 5.191 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/2.256, allocations: 113 kB / 437.2 MB, free: 5.074 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/2.256, allocations: 25.7 kB / 437.2 MB, free: 5.043 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 8.027e-05/2.256, allocations: 170.4 kB / 437.4 MB, free: 4.875 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/2.256, allocations: 19.7 kB / 437.4 MB, free: 4.855 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.205e-06/2.256, allocations: 0 / 437.4 MB, free: 4.855 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001148/2.256, allocations: 314.8 kB / 437.7 MB, free: 4.539 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.756e-05/2.257, allocations: 19.94 kB / 437.8 MB, free: 4.52 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/2.257, allocations: 33.7 kB / 437.8 MB, free: 4.48 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.668e-05/2.257, allocations: 19.94 kB / 437.8 MB, free: 4.461 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-06/2.257, allocations: 4.031 kB / 437.8 MB, free: 4.457 MB / 376.6 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001749/2.257, allocations: 85.88 kB / 437.9 MB, free: 4.367 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/2.257, allocations: 8 kB / 437.9 MB, free: 4.359 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-06/2.257, allocations: 0 / 437.9 MB, free: 4.359 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/2.257, allocations: 0 / 437.9 MB, free: 4.359 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/2.257, allocations: 23.92 kB / 437.9 MB, free: 4.336 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.287e-06/2.257, allocations: 4.062 kB / 437.9 MB, free: 4.332 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/2.257, allocations: 8 kB / 437.9 MB, free: 4.324 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/2.257, allocations: 4 kB / 437.9 MB, free: 4.32 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/2.257, allocations: 75.28 kB / 438 MB, free: 4.246 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001658/2.257, allocations: 69.78 kB / 438.1 MB, free: 4.172 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/2.257, allocations: 15.89 kB / 438.1 MB, free: 4.156 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/2.258, allocations: 90.05 kB / 438.2 MB, free: 4.062 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-06/2.258, allocations: 7.906 kB / 438.2 MB, free: 4.055 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.207e-06/2.258, allocations: 0 / 438.2 MB, free: 4.055 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-06/2.258, allocations: 0 / 438.2 MB, free: 4.055 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004158/2.258, allocations: 323.1 kB / 438.5 MB, free: 3.695 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-06/2.258, allocations: 0 / 438.5 MB, free: 3.695 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.665e-05/2.258, allocations: 19.98 kB / 438.5 MB, free: 3.676 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.967e-06/2.258, allocations: 3.906 kB / 438.5 MB, free: 3.672 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.882e-06/2.258, allocations: 0 / 438.5 MB, free: 3.672 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/2.258, allocations: 0 / 438.5 MB, free: 3.672 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.622e-06/2.258, allocations: 4 kB / 438.5 MB, free: 3.668 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001897/2.259, allocations: 171.4 kB / 438.7 MB, free: 3.484 MB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.371e-05/2.259, allocations: 85 kB / 438.8 MB, free: 3.383 MB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/2.259, allocations: 0 / 438.8 MB, free: 3.383 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/2.259, allocations: 8 kB / 438.8 MB, free: 3.375 MB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/2.259, allocations: 7.984 kB / 438.8 MB, free: 3.367 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/2.259, allocations: 4 kB / 438.8 MB, free: 3.363 MB / 376.6 MB Notification: Performance of sort global known variables: time 7.563e-05/2.259, allocations: 99.27 kB / 438.9 MB, free: 3.266 MB / 376.6 MB Notification: Performance of remove unused functions: time 0.0003584/2.259, allocations: 39.88 kB / 438.9 MB, free: 3.227 MB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/2.26, allocations: 0.9017 MB / 439.8 MB, free: 2.391 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.0001738/2.261, allocations: 69.7 kB / 439.9 MB, free: 2.316 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 2.249e-06/2.261, allocations: 0 / 439.9 MB, free: 2.316 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 5.401e-05/2.261, allocations: 23.94 kB / 439.9 MB, free: 2.293 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/2.261, allocations: 11.98 kB / 439.9 MB, free: 2.281 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/2.261, allocations: 171.1 kB / 440.1 MB, free: 2.07 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003643/2.262, allocations: 0.7199 MB / 440.8 MB, free: 1.324 MB / 376.6 MB Notification: Performance of SimCode: time 8.65e-07/2.262, allocations: 0 / 440.8 MB, free: 1.324 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.1211/2.383, allocations: 2.014 MB / 442.8 MB, free: 131.1 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_CombiTable1Ds_Test25_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1