Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_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: translateModel(ModelicaTest.Tables.CombiTable1D.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004361/0.0004362, allocations: 12 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2069/0.5563, allocations: 81.08 MB / 450.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5566, allocations: 71.95 kB / 450.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01191/0.5685, allocations: 2.789 MB / 453.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5686, allocations: 0 / 453.7 MB, free: 6.684 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.5686, allocations: 4 kB / 453.7 MB, free: 6.68 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005198/0.5691, allocations: 404.9 kB / 454.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.5692, allocations: 8.031 kB / 454.1 MB, free: 6.223 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.5692, allocations: 11.86 kB / 454.2 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.5695, allocations: 179 kB / 454.3 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.5695, allocations: 7.938 kB / 454.3 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.5696, allocations: 7.984 kB / 454.3 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.5698, allocations: 67.41 kB / 454.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5698, allocations: 0 / 454.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5699, allocations: 0 / 454.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.5699, allocations: 0 / 454.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.57, allocations: 35.92 kB / 454.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004996/0.5706, allocations: 296.8 kB / 454.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.5707, allocations: 38.56 kB / 454.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.5708, allocations: 0 / 454.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.5708, allocations: 32.38 kB / 454.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.5708, allocations: 0 / 454.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009167/0.5717, allocations: 185.3 kB / 455 MB, free: 5.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5718, allocations: 81.05 kB / 455.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.572, allocations: 125.8 kB / 455.2 MB, free: 5.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.572, allocations: 29.7 kB / 455.2 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.5721, allocations: 154.6 kB / 455.4 MB, free: 4.836 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.5721, allocations: 19.66 kB / 455.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-06/0.5722, allocations: 0 / 455.4 MB, free: 4.816 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5723, allocations: 322.8 kB / 455.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.5724, allocations: 27.98 kB / 455.7 MB, free: 4.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.5726, allocations: 53.61 kB / 455.8 MB, free: 4.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5728, allocations: 57.69 kB / 455.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5728, allocations: 0 / 455.8 MB, free: 4.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003892/0.5732, allocations: 127.4 kB / 456 MB, free: 4.207 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.5733, allocations: 33.7 kB / 456 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5733, allocations: 3.953 kB / 456 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.5733, allocations: 0 / 456 MB, free: 4.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.5735, allocations: 15.98 kB / 456 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5735, allocations: 0 / 456 MB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.55e-05/0.5736, allocations: 16 kB / 456 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.5736, allocations: 3.938 kB / 456 MB, free: 4.129 MB / 378.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 (7): * Single equations (assignments): 6 * 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.0001133/0.5737, allocations: 121.8 kB / 456.2 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.084e-05/0.5738, allocations: 7.906 kB / 456.2 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004177/0.5742, allocations: 114.4 kB / 456.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5742, allocations: 7.953 kB / 456.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5743, allocations: 0 / 456.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5743, allocations: 3.984 kB / 456.3 MB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.5749, allocations: 366.5 kB / 456.6 MB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.575, allocations: 4 kB / 456.6 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5751, allocations: 15.98 kB / 456.7 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5751, allocations: 3.953 kB / 456.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.5751, allocations: 0 / 456.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5751, allocations: 0 / 456.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5751, allocations: 0 / 456.7 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.5756, allocations: 203.4 kB / 456.9 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.049e-05/0.5756, allocations: 81.02 kB / 456.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.5757, allocations: 7.953 kB / 456.9 MB, free: 3.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.5758, allocations: 11.98 kB / 457 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.5759, allocations: 4 kB / 457 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.5759, allocations: 0 / 457 MB, free: 3.086 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000102/0.576, allocations: 99.64 kB / 457.1 MB, free: 2.988 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.576, allocations: 4 kB / 457.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003509/0.5764, allocations: 31.98 kB / 457.1 MB, free: 2.953 MB / 378.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 (6): * Single equations (assignments): 6 * 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.00115/0.5775, allocations: 400.9 kB / 457.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003995/0.5779, allocations: 123.3 kB / 457.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.578, allocations: 0 / 457.6 MB, free: 2.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5781, allocations: 39.92 kB / 457.6 MB, free: 2.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.5784, allocations: 11.98 kB / 457.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005044/0.5789, allocations: 202.7 kB / 457.9 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.5792, allocations: 0.6955 MB / 458.6 MB, free: 1.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.5793, allocations: 27.42 kB / 458.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5794, allocations: 0 / 458.6 MB, free: 1.465 MB / 378.7 MB Notification: Performance of Templates: time 0.004795/0.5842, allocations: 1.589 MB / 460.2 MB, free: 15.87 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.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.2/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.2/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/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]\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.2/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.2/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.2/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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.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.2_cpp_ModelicaTest.Tables.CombiTable1D.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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1\n'