Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.916/1.916, allocations: 209.3 MB / 224.8 MB, free: 1.125 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000425/0.0004252, allocations: 8 kB / 282.5 MB, free: 9.758 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0852/0.08565, allocations: 48.71 MB / 331.2 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002217/0.08791, allocations: 1.206 MB / 332.4 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006436/0.08859, allocations: 257 kB / 332.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.08865, allocations: 0 / 332.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.08884, allocations: 23.86 kB / 332.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.089, allocations: 27.91 kB / 332.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.08914, allocations: 31.91 kB / 332.7 MB, free: 7.398 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.08929, allocations: 43.89 kB / 332.8 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.08939, allocations: 19.95 kB / 332.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.006e-05/0.08945, allocations: 15.92 kB / 332.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.08953, allocations: 19.92 kB / 332.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.08956, allocations: 4 kB / 332.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.08968, allocations: 43.84 kB / 332.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.08973, allocations: 8 kB / 332.9 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.08978, allocations: 37.58 kB / 332.9 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.08996, allocations: 63.89 kB / 333 MB, free: 7.141 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.08998, allocations: 0 / 333 MB, free: 7.141 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.806e-06/0.08999, allocations: 0 / 333 MB, free: 7.141 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.05e-06/0.09001, allocations: 0 / 333 MB, free: 7.141 MB / 282.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.0005181/0.09054, allocations: 397.2 kB / 333.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.09058, allocations: 8.031 kB / 333.4 MB, free: 6.691 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.09064, allocations: 7.906 kB / 333.4 MB, free: 6.684 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.09089, allocations: 194.9 kB / 333.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.09092, allocations: 0 / 333.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.09097, allocations: 4 kB / 333.6 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.09118, allocations: 75.33 kB / 333.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.09121, allocations: 4 kB / 333.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.09123, allocations: 0 / 333.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-06/0.09125, allocations: 0 / 333.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.09141, allocations: 43.97 kB / 333.7 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.09189, allocations: 292.8 kB / 334 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.09211, allocations: 66.48 kB / 334.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.09215, allocations: 0 / 334.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.0922, allocations: 38.56 kB / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.774e-06/0.09221, allocations: 0 / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007777/0.093, allocations: 189.5 kB / 334.3 MB, free: 5.668 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.284e-05/0.09308, allocations: 81.06 kB / 334.4 MB, free: 5.57 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.09325, allocations: 129.8 kB / 334.5 MB, free: 5.434 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.0933, allocations: 25.7 kB / 334.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.09341, allocations: 170.4 kB / 334.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.09345, allocations: 19.72 kB / 334.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-06/0.09347, allocations: 0 / 334.7 MB, free: 5.215 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.09364, allocations: 314.8 kB / 335 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.09378, allocations: 35.97 kB / 335 MB, free: 4.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.09393, allocations: 41.7 kB / 335.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.09409, allocations: 65.73 kB / 335.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.09411, allocations: 0 / 335.1 MB, free: 4.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000352/0.09447, allocations: 143.5 kB / 335.3 MB, free: 4.594 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.09453, allocations: 37.7 kB / 335.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.477e-06/0.09455, allocations: 0 / 335.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.09457, allocations: 0 / 335.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.0947, allocations: 23.98 kB / 335.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.414e-06/0.09473, allocations: 0 / 335.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.09481, allocations: 15.88 kB / 335.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.09485, allocations: 7.938 kB / 335.4 MB, free: 4.504 MB / 282.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.0001186/0.09498, allocations: 113.8 kB / 335.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.09504, allocations: 11.89 kB / 335.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.09542, allocations: 125.9 kB / 335.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.09544, allocations: 4 kB / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.152e-06/0.09546, allocations: 384 / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.92e-06/0.09547, allocations: 0 / 335.6 MB, free: 4.238 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000647/0.09612, allocations: 378.5 kB / 336 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.561e-06/0.09615, allocations: 4 kB / 336 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.753e-05/0.09626, allocations: 23.92 kB / 336 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.558e-06/0.09628, allocations: 0 / 336 MB, free: 3.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.0963, allocations: 4 kB / 336 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.09631, allocations: 4 kB / 336 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.092e-06/0.09632, allocations: 3.953 kB / 336 MB, free: 3.773 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.09668, allocations: 199.4 kB / 336.2 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.09676, allocations: 81.02 kB / 336.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.0968, allocations: 4 kB / 336.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.09692, allocations: 11.98 kB / 336.3 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.09697, allocations: 7.953 kB / 336.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.097, allocations: 7.984 kB / 336.3 MB, free: 3.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.09712, allocations: 99.27 kB / 336.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.09713, allocations: 3.938 kB / 336.4 MB, free: 3.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003606/0.0975, allocations: 24 kB / 336.5 MB, free: 3.309 MB / 282.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.001003/0.09852, allocations: 339.7 kB / 336.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003596/0.0989, allocations: 127.4 kB / 336.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.023e-06/0.09892, allocations: 0 / 336.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.09907, allocations: 43.91 kB / 337 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.09933, allocations: 8 kB / 337 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.09983, allocations: 206.7 kB / 337.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.1002, allocations: 0.6926 MB / 337.9 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.1003, allocations: 15.44 kB / 337.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1003, allocations: 0 / 337.9 MB, free: 1.891 MB / 282.7 MB Notification: Performance of Templates: time 0.004225/0.1046, allocations: 1.655 MB / 339.5 MB, free: 240 kB / 282.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@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.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@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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:193: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'