Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.285/2.285, allocations: 234.9 MB / 250.5 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004398, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2763, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002082/0.2784, allocations: 1.227 MB / 370.4 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.2791, allocations: 273.1 kB / 370.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.845e-05/0.2791, allocations: 0 / 370.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2793, allocations: 23.84 kB / 370.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2795, allocations: 27.91 kB / 370.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001229/0.2796, allocations: 27.91 kB / 370.8 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000124/0.2798, allocations: 39.89 kB / 370.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.023e-05/0.2799, allocations: 19.98 kB / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.28, allocations: 11.94 kB / 370.8 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.28, allocations: 19.91 kB / 370.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.2801, allocations: 4 kB / 370.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.2802, allocations: 31.98 kB / 370.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.466e-05/0.2802, allocations: 7.922 kB / 370.9 MB, free: 8.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.2803, allocations: 33.7 kB / 370.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.2805, allocations: 71.83 kB / 371 MB, free: 8.879 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.707e-06/0.2805, allocations: 4 kB / 371 MB, free: 8.875 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.2805, allocations: 0 / 371 MB, free: 8.875 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.092e-06/0.2805, allocations: 0 / 371 MB, free: 8.875 MB / 298.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.0005227/0.281, allocations: 389.5 kB / 371.4 MB, free: 8.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2811, allocations: 12.03 kB / 371.4 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.2811, allocations: 3.953 kB / 371.4 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.2814, allocations: 183 kB / 371.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.2814, allocations: 0 / 371.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.2814, allocations: 8 kB / 371.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.2817, allocations: 71.39 kB / 371.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2817, allocations: 0 / 371.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.2817, allocations: 4 kB / 371.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-06/0.2817, allocations: 0 / 371.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.2819, allocations: 43.8 kB / 371.7 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004964/0.2824, allocations: 288.9 kB / 372 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.2825, allocations: 42.59 kB / 372 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2826, allocations: 3.984 kB / 372 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.2826, allocations: 30.56 kB / 372.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 2.219e-06/0.2826, allocations: 7.938 kB / 372.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007623/0.2834, allocations: 177.4 kB / 372.2 MB, free: 7.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.303e-05/0.2835, allocations: 81.11 kB / 372.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.2837, allocations: 125.7 kB / 372.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2837, allocations: 29.7 kB / 372.5 MB, free: 7.191 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.2838, allocations: 154.6 kB / 372.6 MB, free: 7.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.2839, allocations: 23.72 kB / 372.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-06/0.2839, allocations: 0 / 372.6 MB, free: 7.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.2841, allocations: 318.8 kB / 373 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2842, allocations: 31.97 kB / 373 MB, free: 6.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2843, allocations: 41.7 kB / 373 MB, free: 6.617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.2845, allocations: 57.69 kB / 373.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-06/0.2845, allocations: 0 / 373.1 MB, free: 6.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003386/0.2848, allocations: 135.4 kB / 373.2 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.2849, allocations: 33.7 kB / 373.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-06/0.2849, allocations: 0 / 373.2 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.285, allocations: 7.938 kB / 373.3 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.2851, allocations: 15.94 kB / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/0.2851, allocations: 0 / 373.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.857e-05/0.2852, allocations: 19.98 kB / 373.3 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.2852, allocations: 0 / 373.3 MB, free: 6.328 MB / 298.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.000118/0.2853, allocations: 113.8 kB / 373.4 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.2854, allocations: 4.281 kB / 373.4 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.2858, allocations: 117.9 kB / 373.5 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.2858, allocations: 7.938 kB / 373.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.664e-06/0.2858, allocations: 3.938 kB / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-06/0.2858, allocations: 0 / 373.5 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.2865, allocations: 374.5 kB / 373.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.007e-06/0.2865, allocations: 3.938 kB / 373.9 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.872e-05/0.2866, allocations: 15.98 kB / 373.9 MB, free: 5.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.709e-06/0.2866, allocations: 3.953 kB / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.121e-06/0.2866, allocations: 0 / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.319e-06/0.2866, allocations: 0 / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.982e-06/0.2867, allocations: 0 / 373.9 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003567/0.287, allocations: 203.4 kB / 374.1 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.2871, allocations: 81.09 kB / 374.2 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.2871, allocations: 8.203 kB / 374.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2873, allocations: 12 kB / 374.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.2873, allocations: 7.984 kB / 374.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.2873, allocations: 0 / 374.2 MB, free: 5.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2875, allocations: 99.27 kB / 374.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.2875, allocations: 0 / 374.3 MB, free: 5.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003725/0.2878, allocations: 28 kB / 374.3 MB, free: 5.156 MB / 298.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.001279/0.2891, allocations: 392.8 kB / 374.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003488/0.2895, allocations: 119.3 kB / 374.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.319e-06/0.2895, allocations: 0 / 374.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.2897, allocations: 43.97 kB / 374.9 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.2899, allocations: 4 kB / 374.9 MB, free: 4.684 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.2904, allocations: 210.7 kB / 375.1 MB, free: 4.445 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.2908, allocations: 0.6987 MB / 375.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.2909, allocations: 11.44 kB / 375.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of SimCode: time 1.372e-06/0.2909, allocations: 0 / 375.8 MB, free: 3.711 MB / 298.7 MB Notification: Performance of Templates: time 0.00418/0.2951, allocations: 1.607 MB / 377.4 MB, free: 2.102 MB / 298.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@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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:193: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'