Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006106/0.0006105, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3887, allocations: 48.69 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5216, allocations: 74.64 MB / 406.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5219, allocations: 75.97 kB / 406.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01193/0.5339, allocations: 2.788 MB / 409.3 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5339, allocations: 4 kB / 409.3 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.5339, allocations: 0 / 409.3 MB, free: 0.9375 MB / 330.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.0005089/0.5345, allocations: 403.8 kB / 409.7 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5345, allocations: 15.97 kB / 409.7 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.5346, allocations: 3.906 kB / 409.7 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5349, allocations: 198.8 kB / 409.9 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.5349, allocations: 4 kB / 409.9 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.5349, allocations: 4 kB / 409.9 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.5352, allocations: 79.36 kB / 410 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.5352, allocations: 0 / 410 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5353, allocations: 4 kB / 410 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5353, allocations: 0 / 410 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.5355, allocations: 47.91 kB / 410 MB, free: 92 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.536, allocations: 284.8 kB / 410.3 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.5362, allocations: 54.56 kB / 410.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.646e-05/0.5362, allocations: 11.98 kB / 410.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.5363, allocations: 34.5 kB / 410.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.978e-06/0.5363, allocations: 0 / 410.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009093/0.5372, allocations: 185.5 kB / 410.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.5373, allocations: 85.05 kB / 410.7 MB, free: 15.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.5375, allocations: 129.7 kB / 410.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5375, allocations: 29.7 kB / 410.8 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.5376, allocations: 158.6 kB / 411 MB, free: 15.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.5376, allocations: 23.7 kB / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5376, allocations: 0 / 411 MB, free: 15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5378, allocations: 322.8 kB / 411.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.5379, allocations: 27.98 kB / 411.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.5381, allocations: 45.69 kB / 411.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001797/0.5383, allocations: 61.72 kB / 411.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.5383, allocations: 4 kB / 411.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004206/0.5388, allocations: 131.4 kB / 411.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.5388, allocations: 33.7 kB / 411.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5388, allocations: 0 / 411.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5388, allocations: 3.938 kB / 411.6 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.539, allocations: 27.92 kB / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.539, allocations: 0 / 411.7 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.396e-05/0.5391, allocations: 11.92 kB / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.5392, allocations: 4 kB / 411.7 MB, free: 14.3 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: 0 () * 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.0001094/0.5393, allocations: 117.8 kB / 411.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.5393, allocations: 11.89 kB / 411.8 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.5398, allocations: 134.2 kB / 411.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.5398, allocations: 0 / 411.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5398, allocations: 0 / 411.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5398, allocations: 0 / 411.9 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006931/0.5405, allocations: 382.4 kB / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5406, allocations: 0 / 412.3 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.5407, allocations: 15.98 kB / 412.3 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/0.5407, allocations: 4 kB / 412.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5408, allocations: 7.938 kB / 412.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.5408, allocations: 0 / 412.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5408, allocations: 4.312 kB / 412.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004007/0.5412, allocations: 203.5 kB / 412.5 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.5413, allocations: 85.02 kB / 412.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.5413, allocations: 0 / 412.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.5414, allocations: 19.98 kB / 412.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.5415, allocations: 4 kB / 412.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.5415, allocations: 4 kB / 412.6 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.5416, allocations: 103.2 kB / 412.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5416, allocations: 0 / 412.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003566/0.542, allocations: 28 kB / 412.8 MB, free: 13.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009684/0.543, allocations: 342.2 kB / 413.1 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004254/0.5434, allocations: 135.3 kB / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5434, allocations: 0 / 413.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5436, allocations: 35.98 kB / 413.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.5439, allocations: 15.92 kB / 413.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005448/0.5444, allocations: 206.8 kB / 413.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5447, allocations: 0.6965 MB / 414.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.089e-05/0.5448, allocations: 15.42 kB / 414.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5448, allocations: 4 kB / 414.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of Templates: time 0.00493/0.5498, allocations: 1.657 MB / 415.9 MB, free: 10 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:276: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.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'