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 2.018/2.018, allocations: 209.3 MB / 224.8 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004574, allocations: 12 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3914, allocations: 74.64 MB / 405.9 MB, free: 3.773 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3917, allocations: 67.97 kB / 406 MB, free: 3.707 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.4035, allocations: 2.802 MB / 408.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.033e-06/0.4035, allocations: 0 / 408.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.4036, allocations: 4 kB / 408.8 MB, free: 0.8906 MB / 330.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.0005356/0.4041, allocations: 400.9 kB / 409.2 MB, free: 456 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4042, allocations: 8.031 kB / 409.2 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.4042, allocations: 7.906 kB / 409.2 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4045, allocations: 190.8 kB / 409.4 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4045, allocations: 4 kB / 409.4 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.4045, allocations: 4 kB / 409.4 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.4048, allocations: 83.33 kB / 409.5 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.4048, allocations: 3.984 kB / 409.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.4048, allocations: 0 / 409.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-06/0.4048, allocations: 0 / 409.5 MB, free: 100 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.405, allocations: 35.98 kB / 409.5 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.4055, allocations: 296.8 kB / 409.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.4057, allocations: 66.48 kB / 409.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.4058, allocations: 4.062 kB / 409.9 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4058, allocations: 34.56 kB / 409.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.325e-06/0.4058, allocations: 0 / 409.9 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008229/0.4067, allocations: 189.4 kB / 410.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.4068, allocations: 81.05 kB / 410.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.4069, allocations: 128.8 kB / 410.3 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.407, allocations: 33.7 kB / 410.3 MB, free: 15.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.4071, allocations: 150.6 kB / 410.5 MB, free: 14.99 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.4071, allocations: 19.72 kB / 410.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-06/0.4071, allocations: 0 / 410.5 MB, free: 14.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.4073, allocations: 322.8 kB / 410.8 MB, free: 14.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.4075, allocations: 27.98 kB / 410.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.4076, allocations: 45.7 kB / 410.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.4078, allocations: 61.69 kB / 410.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-06/0.4078, allocations: 0 / 410.9 MB, free: 14.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003731/0.4082, allocations: 143.3 kB / 411.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.726e-05/0.4083, allocations: 37.69 kB / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-06/0.4083, allocations: 0 / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4083, allocations: 0 / 411.1 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.4084, allocations: 16 kB / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.876e-06/0.4085, allocations: 0 / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.4086, allocations: 15.92 kB / 411.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.4086, allocations: 4 kB / 411.2 MB, free: 14.27 MB / 346.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.000129/0.4087, allocations: 117.8 kB / 411.3 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.4088, allocations: 11.91 kB / 411.3 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003765/0.4092, allocations: 118.2 kB / 411.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.4092, allocations: 8 kB / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4092, allocations: 0 / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-06/0.4092, allocations: 3.984 kB / 411.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000675/0.4099, allocations: 382.3 kB / 411.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4099, allocations: 0 / 411.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.41, allocations: 23.98 kB / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.41e-06/0.4101, allocations: 0 / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4101, allocations: 4 kB / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.471e-06/0.4101, allocations: 0 / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-06/0.4101, allocations: 3.938 kB / 411.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.4105, allocations: 199.5 kB / 412 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.4106, allocations: 85.02 kB / 412.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4106, allocations: 4.359 kB / 412.1 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4107, allocations: 8 kB / 412.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4108, allocations: 15.92 kB / 412.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4108, allocations: 4 kB / 412.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000109/0.4109, allocations: 99.27 kB / 412.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.28e-07/0.4109, allocations: 4 kB / 412.2 MB, free: 13.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003777/0.4113, allocations: 32 kB / 412.2 MB, free: 13.07 MB / 346.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.001048/0.4124, allocations: 332.5 kB / 412.6 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.4128, allocations: 131.3 kB / 412.7 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.389e-06/0.4128, allocations: 4 kB / 412.7 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4129, allocations: 43.91 kB / 412.7 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.4132, allocations: 11.95 kB / 412.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005383/0.4138, allocations: 202.9 kB / 413 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4142, allocations: 0.7004 MB / 413.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.4143, allocations: 15.44 kB / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.656e-06/0.4143, allocations: 0 / 413.7 MB, free: 11.64 MB / 346.7 MB Notification: Performance of Templates: time 0.004368/0.4187, allocations: 1.663 MB / 415.3 MB, free: 9.98 MB / 346.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=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.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:276: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'