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.24/2.24, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004496/0.0004498, allocations: 20 kB / 314.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3348, allocations: 54.85 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4784, allocations: 82.25 MB / 451.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.4787, allocations: 83.89 kB / 451.7 MB, free: 8.164 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.01972/0.4984, allocations: 4.434 MB / 456.1 MB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4985, allocations: 4 kB / 456.1 MB, free: 3.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.4985, allocations: 0 / 456.1 MB, free: 3.715 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.000655/0.4992, allocations: 470.2 kB / 456.6 MB, free: 3.195 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4993, allocations: 8.031 kB / 456.6 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.325e-05/0.4993, allocations: 34.56 kB / 456.6 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.4994, allocations: 11.91 kB / 456.6 MB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.4998, allocations: 202.8 kB / 456.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.333e-05/0.4998, allocations: 8 kB / 456.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.4998, allocations: 8 kB / 456.9 MB, free: 2.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.5001, allocations: 71.38 kB / 456.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.5001, allocations: 0 / 456.9 MB, free: 2.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.5001, allocations: 7.953 kB / 456.9 MB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5001, allocations: 3.938 kB / 456.9 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.5003, allocations: 27.97 kB / 457 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.5008, allocations: 300.8 kB / 457.3 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.501, allocations: 58.55 kB / 457.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.5011, allocations: 4 kB / 457.3 MB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002074/0.5013, allocations: 88.16 kB / 457.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.615e-06/0.5013, allocations: 3.938 kB / 457.4 MB, free: 2.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008298/0.5021, allocations: 189.2 kB / 457.6 MB, free: 2.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5022, allocations: 81.11 kB / 457.7 MB, free: 1.953 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.5024, allocations: 137.9 kB / 457.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.5025, allocations: 29.69 kB / 457.8 MB, free: 1.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/0.5026, allocations: 158.6 kB / 458 MB, free: 1.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.5026, allocations: 23.66 kB / 458 MB, free: 1.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.5026, allocations: 0 / 458 MB, free: 1.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.5028, allocations: 322.8 kB / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.5029, allocations: 31.98 kB / 458.4 MB, free: 1.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.5031, allocations: 58.55 kB / 458.4 MB, free: 1.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.5033, allocations: 69.7 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5033, allocations: 0 / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004337/0.5037, allocations: 167.2 kB / 458.6 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.5038, allocations: 39.73 kB / 458.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5038, allocations: 0 / 458.7 MB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.5038, allocations: 8.062 kB / 458.7 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.504, allocations: 19.92 kB / 458.7 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.504, allocations: 4 kB / 458.7 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.5041, allocations: 4 kB / 458.7 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.5042, allocations: 4 kB / 458.7 MB, free: 0.8398 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 () * Number of clocked 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.0001421/0.5043, allocations: 129.1 kB / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.5044, allocations: 11.86 kB / 458.9 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.5048, allocations: 126.3 kB / 459 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5048, allocations: 4 kB / 459 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.5048, allocations: 0 / 459 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.5048, allocations: 7.922 kB / 459 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007051/0.5055, allocations: 423.3 kB / 459.4 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.5056, allocations: 0 / 459.4 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.644e-05/0.5057, allocations: 16 kB / 459.4 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.5057, allocations: 0 / 459.4 MB, free: 68 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.5057, allocations: 4 kB / 459.4 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.5057, allocations: 4.031 kB / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5057, allocations: 0 / 459.4 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.5061, allocations: 229.9 kB / 459.7 MB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.5063, allocations: 93 kB / 459.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/0.5063, allocations: 8 kB / 459.8 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.5064, allocations: 11.97 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.5065, allocations: 4 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.5065, allocations: 7.984 kB / 459.8 MB, free: 15.67 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.5067, allocations: 115.2 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5067, allocations: 0 / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.5071, allocations: 55.92 kB / 460 MB, free: 15.5 MB / 394.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) * Number of clocked states: 0 () * 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.002224/0.5094, allocations: 1.282 MB / 461.2 MB, free: 14.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.5098, allocations: 155.3 kB / 461.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5099, allocations: 0 / 461.4 MB, free: 14.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.51, allocations: 39.92 kB / 461.4 MB, free: 14.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.5104, allocations: 24.06 kB / 461.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.5114, allocations: 0.6341 MB / 462.1 MB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.5118, allocations: 0.7043 MB / 462.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.5119, allocations: 31.42 kB / 462.8 MB, free: 12.58 MB / 394.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5119, allocations: 0 / 462.8 MB, free: 12.58 MB / 394.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