Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.463/2.463, allocations: 234.9 MB / 251.1 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004281/0.0004283, allocations: 8 kB / 314.9 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3526, allocations: 54.85 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1512/0.5039, allocations: 81.08 MB / 450.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.5042, allocations: 79.95 kB / 451 MB, free: 9.469 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.5177, allocations: 2.949 MB / 453.9 MB, free: 6.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5178, allocations: 4 kB / 453.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.5178, allocations: 0 / 453.9 MB, free: 6.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005555/0.5184, allocations: 404.9 kB / 454.3 MB, free: 6.055 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.5185, allocations: 8.031 kB / 454.3 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.5185, allocations: 11.86 kB / 454.3 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.5188, allocations: 186.9 kB / 454.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.5188, allocations: 0 / 454.5 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.5189, allocations: 11.91 kB / 454.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.5191, allocations: 79.38 kB / 454.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5192, allocations: 0 / 454.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5192, allocations: 0 / 454.6 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.5192, allocations: 3.984 kB / 454.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.5194, allocations: 43.92 kB / 454.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004957/0.5199, allocations: 288.8 kB / 454.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5201, allocations: 62.55 kB / 455 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.5202, allocations: 0 / 455 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.5202, allocations: 36.5 kB / 455 MB, free: 5.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.5202, allocations: 4 kB / 455 MB, free: 5.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001006/0.5213, allocations: 185.5 kB / 455.2 MB, free: 5.027 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/0.5213, allocations: 89.03 kB / 455.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.5215, allocations: 125.8 kB / 455.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5216, allocations: 29.7 kB / 455.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.5217, allocations: 158.5 kB / 455.6 MB, free: 4.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.5217, allocations: 23.7 kB / 455.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.5217, allocations: 0 / 455.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.5219, allocations: 314.8 kB / 455.9 MB, free: 4.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.5221, allocations: 39.91 kB / 456 MB, free: 4.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001769/0.5223, allocations: 49.64 kB / 456 MB, free: 4.164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.5225, allocations: 61.69 kB / 456.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5225, allocations: 0 / 456.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000432/0.5229, allocations: 135.6 kB / 456.2 MB, free: 3.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.523, allocations: 29.7 kB / 456.2 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.523, allocations: 3.953 kB / 456.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.523, allocations: 4 kB / 456.3 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.5232, allocations: 19.98 kB / 456.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5232, allocations: 320 / 456.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.5233, allocations: 19.92 kB / 456.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.5234, allocations: 0 / 456.3 MB, free: 3.871 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 (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.5235, allocations: 121.8 kB / 456.4 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.5236, allocations: 7.906 kB / 456.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.524, allocations: 126 kB / 456.5 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.524, allocations: 3.953 kB / 456.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5241, allocations: 0 / 456.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5241, allocations: 0 / 456.5 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.5248, allocations: 382.5 kB / 456.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5248, allocations: 0 / 456.9 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.525, allocations: 19.98 kB / 456.9 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.525, allocations: 3.953 kB / 456.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.525, allocations: 0 / 456.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.525, allocations: 0 / 456.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.525, allocations: 0 / 456.9 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004455/0.5255, allocations: 215.3 kB / 457.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.5256, allocations: 81.02 kB / 457.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.5256, allocations: 3.953 kB / 457.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.5257, allocations: 15.98 kB / 457.2 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5258, allocations: 4 kB / 457.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.5258, allocations: 0 / 457.3 MB, free: 2.801 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.5259, allocations: 111.6 kB / 457.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.526, allocations: 0 / 457.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003672/0.5263, allocations: 28 kB / 457.4 MB, free: 2.664 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 (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.001158/0.5275, allocations: 399.5 kB / 457.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004664/0.528, allocations: 131.3 kB / 457.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.528, allocations: 0 / 457.9 MB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.5282, allocations: 35.98 kB / 457.9 MB, free: 2.168 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.5284, allocations: 11.98 kB / 458 MB, free: 2.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005573/0.529, allocations: 202.6 kB / 458.2 MB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.5294, allocations: 0.6965 MB / 458.8 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.244e-05/0.5295, allocations: 23.42 kB / 458.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of SimCode: time 3.547e-06/0.5295, allocations: 0 / 458.9 MB, free: 1.18 MB / 378.7 MB Notification: Performance of Templates: time 0.005531/0.5351, allocations: 1.655 MB / 460.5 MB, free: 15.52 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.2_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'