Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.133/2.133, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004289/0.0004292, allocations: 16 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3771, allocations: 48.71 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1374/0.5146, allocations: 75.95 MB / 407.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5149, allocations: 79.95 kB / 407.8 MB, free: 2.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01787/0.5328, allocations: 3.884 MB / 411.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5329, allocations: 4 kB / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.5329, allocations: 0 / 411.7 MB, free: 14.54 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006003/0.5335, allocations: 420.8 kB / 412.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.5336, allocations: 8.031 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.5336, allocations: 7.906 kB / 412.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.5339, allocations: 202.8 kB / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.534, allocations: 0 / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.534, allocations: 8 kB / 412.4 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.5342, allocations: 63.39 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.5342, allocations: 0 / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.5342, allocations: 0 / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.5342, allocations: 0 / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.895e-05/0.5343, allocations: 23.98 kB / 412.4 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.5348, allocations: 288.8 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.5349, allocations: 42.55 kB / 412.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.535, allocations: 0 / 412.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.5352, allocations: 63.48 kB / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.5352, allocations: 0 / 412.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005851/0.5358, allocations: 129.2 kB / 413 MB, free: 13.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.5358, allocations: 77.11 kB / 413 MB, free: 13.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.5361, allocations: 149.7 kB / 413.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5362, allocations: 29.7 kB / 413.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.5363, allocations: 162.5 kB / 413.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.716e-05/0.5363, allocations: 23.73 kB / 413.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/0.5364, allocations: 0 / 413.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/0.5365, allocations: 310.8 kB / 413.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.323e-05/0.5366, allocations: 27.92 kB / 413.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/0.5367, allocations: 37.7 kB / 413.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.5368, allocations: 57.77 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5368, allocations: 0 / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002965/0.5371, allocations: 131.7 kB / 413.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.5372, allocations: 29.7 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5372, allocations: 4 kB / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5372, allocations: 0 / 414 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.5374, allocations: 11.98 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.5374, allocations: 4 kB / 414 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.5375, allocations: 8 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5375, allocations: 7.953 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001252/0.5376, allocations: 117.8 kB / 414.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.5377, allocations: 11.89 kB / 414.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.538, allocations: 93.98 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.538, allocations: 0 / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.538, allocations: 0 / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.538, allocations: 0 / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.5385, allocations: 362.7 kB / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5386, allocations: 0 / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.748e-05/0.5386, allocations: 11.94 kB / 414.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.5387, allocations: 0 / 414.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5387, allocations: 8 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5387, allocations: 0 / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5387, allocations: 0 / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.539, allocations: 175.4 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.5391, allocations: 89 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.5391, allocations: 12 kB / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.616e-05/0.5392, allocations: 0 / 414.9 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.193e-05/0.5393, allocations: 4 kB / 414.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.5393, allocations: 3.984 kB / 414.9 MB, free: 11.03 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.5394, allocations: 111.2 kB / 415 MB, free: 10.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5394, allocations: 3.938 kB / 415 MB, free: 10.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004213/0.5399, allocations: 55.91 kB / 415 MB, free: 10.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00136/0.5412, allocations: 462.7 kB / 415.5 MB, free: 10.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003303/0.5416, allocations: 115.4 kB / 415.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5416, allocations: 0 / 415.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.5417, allocations: 23.92 kB / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.5421, allocations: 27.12 kB / 415.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.5426, allocations: 207.8 kB / 415.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.543, allocations: 0.6926 MB / 416.6 MB, free: 9.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.5431, allocations: 19.42 kB / 416.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5431, allocations: 0 / 416.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of Templates: time 0.006012/0.5491, allocations: 2.01 MB / 418.6 MB, free: 7.324 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:364:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument (\'const double *\') would lose const qualifier\ndouble mydummyfunc(double* dummy_in) {\n ^\n4 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1\n'