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.CombiTable1Ds.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.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.237/2.237, allocations: 234.9 MB / 250.5 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004375/0.0004377, allocations: 12 kB / 314.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2761, allocations: 54.87 MB / 369.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1217/0.3979, allocations: 81.1 MB / 450.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.3982, allocations: 71.95 kB / 450.4 MB, free: 9.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01198/0.4102, allocations: 2.961 MB / 453.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.512e-06/0.4102, allocations: 0 / 453.4 MB, free: 6.578 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4102, allocations: 0 / 453.4 MB, free: 6.578 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.0004967/0.4108, allocations: 400.9 kB / 453.8 MB, free: 6.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4108, allocations: 12.03 kB / 453.8 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.4109, allocations: 11.86 kB / 453.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.4111, allocations: 190.9 kB / 454 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4112, allocations: 4 kB / 454 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.4112, allocations: 7.906 kB / 454 MB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.4114, allocations: 71.39 kB / 454.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4114, allocations: 0 / 454.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.4115, allocations: 8 kB / 454.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.656e-06/0.4115, allocations: 0 / 454.1 MB, free: 5.781 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4116, allocations: 39.92 kB / 454.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.4121, allocations: 292.8 kB / 454.4 MB, free: 5.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.4123, allocations: 58.55 kB / 454.5 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.4124, allocations: 4 kB / 454.5 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.4124, allocations: 32.38 kB / 454.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.096e-06/0.4124, allocations: 0 / 454.5 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.00078/0.4132, allocations: 189.5 kB / 454.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4133, allocations: 81.11 kB / 454.8 MB, free: 5.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.4134, allocations: 124.8 kB / 454.9 MB, free: 4.879 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4135, allocations: 33.7 kB / 454.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.4136, allocations: 162.5 kB / 455.1 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.4136, allocations: 15.7 kB / 455.1 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.064e-05/0.4137, allocations: 4 kB / 455.1 MB, free: 4.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4138, allocations: 318.8 kB / 455.4 MB, free: 4.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4139, allocations: 23.98 kB / 455.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.4141, allocations: 53.69 kB / 455.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.4143, allocations: 61.69 kB / 455.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-06/0.4143, allocations: 0 / 455.5 MB, free: 4.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003488/0.4146, allocations: 135.4 kB / 455.7 MB, free: 4.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.042e-05/0.4147, allocations: 33.64 kB / 455.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.895e-06/0.4147, allocations: 0 / 455.7 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4147, allocations: 7.953 kB / 455.7 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4149, allocations: 19.92 kB / 455.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.657e-06/0.4149, allocations: 0 / 455.7 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.415, allocations: 11.94 kB / 455.8 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.415, allocations: 8 kB / 455.8 MB, free: 3.961 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.0001184/0.4151, allocations: 121.8 kB / 455.9 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.4152, allocations: 7.891 kB / 455.9 MB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003687/0.4156, allocations: 126.3 kB / 456 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-06/0.4156, allocations: 7.953 kB / 456 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/0.4156, allocations: 0 / 456 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.043e-06/0.4156, allocations: 0 / 456 MB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.4163, allocations: 374.5 kB / 456.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.974e-06/0.4163, allocations: 3.984 kB / 456.4 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-05/0.4164, allocations: 20.38 kB / 456.4 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.4164, allocations: 3.953 kB / 456.4 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4165, allocations: 0 / 456.4 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.505e-06/0.4165, allocations: 11.98 kB / 456.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-06/0.4165, allocations: 0 / 456.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/0.4169, allocations: 203.4 kB / 456.6 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.4169, allocations: 81.02 kB / 456.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/0.417, allocations: 7.953 kB / 456.7 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.4171, allocations: 11.94 kB / 456.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.4172, allocations: 7.984 kB / 456.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4172, allocations: 0 / 456.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.4173, allocations: 103.6 kB / 456.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4173, allocations: 0 / 456.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000379/0.4177, allocations: 35.98 kB / 456.9 MB, free: 2.75 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.001321/0.419, allocations: 397.8 kB / 457.3 MB, free: 2.434 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003683/0.4194, allocations: 131.3 kB / 457.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.141e-06/0.4194, allocations: 0 / 457.4 MB, free: 2.293 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4196, allocations: 31.98 kB / 457.4 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.4198, allocations: 16 kB / 457.4 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005116/0.4204, allocations: 206.6 kB / 457.6 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.4207, allocations: 0.6964 MB / 458.3 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.4208, allocations: 23.42 kB / 458.3 MB, free: 1.262 MB / 378.7 MB Notification: Performance of SimCode: time 1.39e-06/0.4208, allocations: 4 kB / 458.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of Templates: time 0.004226/0.4251, allocations: 1.647 MB / 460 MB, free: 15.61 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=2 -DSUNDIALS_MINOR_VERSION=6 -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.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@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.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'