Notification: Performance of loadModel(ModelicaTest): time 1.823/1.823, allocations: 235 MB / 241.2 MB, free: 7.422 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2531/2.077, allocations: 56.82 MB / 298.1 MB, free: 8.367 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/2.162, allocations: 54.86 MB / 352.9 MB, free: 9.672 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/2.298, allocations: 81.43 MB / 434.3 MB, free: 8.129 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/2.299, allocations: 83.84 kB / 434.4 MB, free: 8.051 MB / 376.6 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of Generate backend data structure: time 0.01824/2.317, allocations: 4.475 MB / 438.9 MB, free: 3.508 MB / 376.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/2.317, allocations: 16 kB / 438.9 MB, free: 3.492 MB / 376.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/2.317, allocations: 11.81 kB / 438.9 MB, free: 3.48 MB / 376.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/2.317, allocations: 206.8 kB / 439.1 MB, free: 3.238 MB / 376.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/2.318, allocations: 3.938 kB / 439.1 MB, free: 3.234 MB / 376.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/2.318, allocations: 4 kB / 439.1 MB, free: 3.23 MB / 376.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001061/2.318, allocations: 23.98 kB / 439.2 MB, free: 3.207 MB / 376.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/2.318, allocations: 71.33 kB / 439.2 MB, free: 3.125 MB / 376.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/2.318, allocations: 0 / 439.2 MB, free: 3.125 MB / 376.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/2.318, allocations: 4 kB / 439.2 MB, free: 3.121 MB / 376.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-06/2.318, allocations: 4 kB / 439.2 MB, free: 3.117 MB / 376.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/2.318, allocations: 269.3 kB / 439.5 MB, free: 2.816 MB / 376.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/2.318, allocations: 49.61 kB / 439.5 MB, free: 2.762 MB / 376.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/2.319, allocations: 24.97 kB / 439.6 MB, free: 2.734 MB / 376.6 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/2.319, allocations: 8.047 kB / 439.6 MB, free: 2.727 MB / 376.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/2.319, allocations: 68.06 kB / 439.6 MB, free: 2.648 MB / 376.6 MB Notification: Performance of pre-optimization done (n=7): time 2.315e-06/2.319, allocations: 0 / 439.6 MB, free: 2.648 MB / 376.6 MB Notification: Performance of matching and sorting (n=9): time 0.0004876/2.319, allocations: 137.2 kB / 439.8 MB, free: 2.508 MB / 376.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/2.319, allocations: 81.11 kB / 439.9 MB, free: 2.41 MB / 376.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/2.319, allocations: 132.4 kB / 440 MB, free: 2.273 MB / 376.6 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/2.32, allocations: 25.7 kB / 440 MB, free: 2.242 MB / 376.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/2.32, allocations: 166.5 kB / 440.2 MB, free: 2.078 MB / 376.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/2.32, allocations: 27.64 kB / 440.2 MB, free: 2.051 MB / 376.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.282e-06/2.32, allocations: 4 kB / 440.2 MB, free: 2.047 MB / 376.6 MB Notification: Performance of setup shared object (initialization): time 0.0001297/2.32, allocations: 314.8 kB / 440.5 MB, free: 1.73 MB / 376.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/2.32, allocations: 31.98 kB / 440.5 MB, free: 1.699 MB / 376.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.577e-05/2.32, allocations: 50.58 kB / 440.6 MB, free: 1.641 MB / 376.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.441e-05/2.32, allocations: 31.98 kB / 440.6 MB, free: 1.609 MB / 376.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-06/2.32, allocations: 0 / 440.6 MB, free: 1.609 MB / 376.6 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002716/2.32, allocations: 121.5 kB / 440.7 MB, free: 1.484 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/2.32, allocations: 4 kB / 440.7 MB, free: 1.48 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.167e-06/2.32, allocations: 0 / 440.7 MB, free: 1.48 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/2.32, allocations: 0 / 440.7 MB, free: 1.48 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/2.321, allocations: 19.98 kB / 440.8 MB, free: 1.461 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/2.321, allocations: 3.906 kB / 440.8 MB, free: 1.457 MB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.02e-05/2.321, allocations: 4 kB / 440.8 MB, free: 1.453 MB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/2.321, allocations: 15.92 kB / 440.8 MB, free: 1.438 MB / 376.6 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/2.321, allocations: 75.28 kB / 440.9 MB, free: 1.363 MB / 376.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001837/2.321, allocations: 89.69 kB / 440.9 MB, free: 1.27 MB / 376.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/2.321, allocations: 15.81 kB / 441 MB, free: 1.254 MB / 376.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/2.321, allocations: 110.3 kB / 441.1 MB, free: 1.141 MB / 376.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.076e-06/2.321, allocations: 0 / 441.1 MB, free: 1.141 MB / 376.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.416e-06/2.321, allocations: 4 kB / 441.1 MB, free: 1.137 MB / 376.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-06/2.321, allocations: 3.984 kB / 441.1 MB, free: 1.133 MB / 376.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/2.322, allocations: 363.8 kB / 441.4 MB, free: 0.7305 MB / 376.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.101e-06/2.322, allocations: 0 / 441.4 MB, free: 0.7305 MB / 376.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.611e-05/2.322, allocations: 19.97 kB / 441.5 MB, free: 0.7109 MB / 376.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.364e-06/2.322, allocations: 0 / 441.5 MB, free: 0.7109 MB / 376.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/2.322, allocations: 4 kB / 441.5 MB, free: 0.707 MB / 376.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/2.322, allocations: 7.969 kB / 441.5 MB, free: 0.6992 MB / 376.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.959e-06/2.322, allocations: 0 / 441.5 MB, free: 0.6992 MB / 376.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002497/2.322, allocations: 209.9 kB / 441.7 MB, free: 480 kB / 376.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/2.322, allocations: 97 kB / 441.8 MB, free: 364 kB / 376.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/2.322, allocations: 7.906 kB / 441.8 MB, free: 356 kB / 376.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/2.323, allocations: 0 / 441.8 MB, free: 356 kB / 376.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/2.323, allocations: 7.984 kB / 441.8 MB, free: 348 kB / 376.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/2.323, allocations: 4 kB / 441.8 MB, free: 344 kB / 376.6 MB Notification: Performance of sort global known variables: time 0.0001049/2.323, allocations: 115.2 kB / 441.9 MB, free: 228 kB / 376.6 MB Notification: Performance of remove unused functions: time 0.0004183/2.323, allocations: 51.92 kB / 441.9 MB, free: 176 kB / 376.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.1212/2.444, allocations: 1.104 MB / 443.1 MB, free: 130.1 MB / 376.6 MB Notification: Performance of simCode: created initialization part: time 0.0002355/2.445, allocations: 98.47 kB / 443.1 MB, free: 130.1 MB / 376.6 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/2.445, allocations: 0 / 443.1 MB, free: 130.1 MB / 376.6 MB Notification: Performance of simCode: created simulation system equations: time 6.987e-05/2.445, allocations: 35.31 kB / 443.2 MB, free: 130.1 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/2.445, allocations: 25.7 kB / 443.2 MB, free: 130.1 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/2.446, allocations: 213.6 kB / 443.4 MB, free: 129.9 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/2.446, allocations: 0.7376 MB / 444.2 MB, free: 129.2 MB / 376.6 MB Notification: Performance of SimCode: time 7.72e-07/2.446, allocations: 0 / 444.2 MB, free: 129.2 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.005276/2.451, allocations: 2.629 MB / 446.8 MB, free: 129 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_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFunctions.cpp:364: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_CombiTimeTable_Test66_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_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:293:39: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:296:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp19 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:240:41: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:243:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = 1.797693134862316e+308; ^ In file included from OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_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) { ^ 9 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_fmi_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1