Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.657/2.657, allocations: 235 MB / 248 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.585e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4791, allocations: 54.86 MB / 364.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.6406, allocations: 82.16 MB / 446.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.641, allocations: 80.78 kB / 446.9 MB, free: 14.25 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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 FrontEnd - DAE generated: time 0.02163/0.6626, allocations: 4.411 MB / 451.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6627, allocations: 0 / 451.3 MB, free: 9.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.6627, allocations: 0 / 451.3 MB, free: 9.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007311/0.6634, allocations: 457.5 kB / 451.7 MB, free: 9.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.6635, allocations: 16.88 kB / 451.7 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.926e-05/0.6636, allocations: 31.44 kB / 451.8 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.376e-05/0.6636, allocations: 7.906 kB / 451.8 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.6641, allocations: 202.9 kB / 452 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6641, allocations: 0 / 452 MB, free: 9.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.6641, allocations: 4 kB / 452 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.6644, allocations: 79.33 kB / 452.1 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.6644, allocations: 3.953 kB / 452.1 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.6644, allocations: 4 kB / 452.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6644, allocations: 0.75 kB / 452.1 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.6646, allocations: 31.98 kB / 452.1 MB, free: 8.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005335/0.6651, allocations: 300.8 kB / 452.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.6653, allocations: 58.55 kB / 452.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.901e-05/0.6654, allocations: 28.88 kB / 452.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.6654, allocations: 4 kB / 452.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.6656, allocations: 67.48 kB / 452.6 MB, free: 8.406 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.6656, allocations: 0 / 452.6 MB, free: 8.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007119/0.6664, allocations: 170.4 kB / 452.7 MB, free: 8.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.6665, allocations: 77.11 kB / 452.8 MB, free: 8.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001962/0.6667, allocations: 144.2 kB / 452.9 MB, free: 7.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.6667, allocations: 33.64 kB / 453 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.6668, allocations: 162.5 kB / 453.1 MB, free: 7.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.6669, allocations: 23.66 kB / 453.1 MB, free: 7.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.6669, allocations: 8 kB / 453.2 MB, free: 7.762 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.667, allocations: 316.2 kB / 453.5 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.6672, allocations: 32 kB / 453.5 MB, free: 7.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6673, allocations: 58.5 kB / 453.6 MB, free: 7.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.6675, allocations: 74.42 kB / 453.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6675, allocations: 0 / 453.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003815/0.6679, allocations: 163.8 kB / 453.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.6679, allocations: 33.69 kB / 453.8 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.6679, allocations: 0 / 453.8 MB, free: 7.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.668, allocations: 4 kB / 453.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.6682, allocations: 12 kB / 453.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.6682, allocations: 4 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/0.6683, allocations: 7.984 kB / 453.8 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.6683, allocations: 8 kB / 453.9 MB, free: 7.023 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.6685, allocations: 117 kB / 454 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6685, allocations: 12.03 kB / 454 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.6689, allocations: 122.2 kB / 454.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6689, allocations: 0 / 454.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6689, allocations: 0 / 454.1 MB, free: 6.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.6689, allocations: 4 kB / 454.1 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006873/0.6696, allocations: 415.1 kB / 454.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6697, allocations: 0 / 454.5 MB, free: 6.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.088e-05/0.6698, allocations: 15.98 kB / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.6698, allocations: 0 / 454.5 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.6698, allocations: 4 kB / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.6698, allocations: 240 / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.6698, allocations: 0 / 454.5 MB, free: 6.281 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003637/0.6702, allocations: 229.9 kB / 454.8 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.6704, allocations: 96.98 kB / 454.8 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.6704, allocations: 7.938 kB / 454.9 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6706, allocations: 8 kB / 454.9 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.6706, allocations: 11.92 kB / 454.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.6707, allocations: 4 kB / 454.9 MB, free: 5.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.6708, allocations: 115.2 kB / 455 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6708, allocations: 0 / 455 MB, free: 5.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004503/0.6713, allocations: 47.92 kB / 455 MB, free: 5.727 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002275/0.6736, allocations: 1.232 MB / 456.3 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004348/0.6741, allocations: 159.3 kB / 456.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6741, allocations: 0 / 456.4 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001115/0.6742, allocations: 35.94 kB / 456.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004036/0.6746, allocations: 19.94 kB / 456.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.6754, allocations: 230 kB / 456.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.6758, allocations: 0.7006 MB / 457.4 MB, free: 3.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.6759, allocations: 35.41 kB / 457.4 MB, free: 3.285 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6759, allocations: 4 kB / 457.4 MB, free: 3.281 MB / 378.7 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=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3_2_2_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_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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:312: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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabInitialize.cpp:315: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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:208: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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.cpp:211: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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test66_usertabCalcHelperMain.o] Error 1