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.CombiTable1D.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.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.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.3 MB / 224.9 MB, free: 280 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004285, allocations: 8 kB / 282.6 MB, free: 9.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.4798, allocations: 74.63 MB / 405.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4801, allocations: 75.94 kB / 406 MB, free: 3.719 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01105/0.4911, allocations: 2.626 MB / 408.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 7.158e-06/0.4912, allocations: 3.938 kB / 408.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4912, allocations: 7.938 kB / 408.6 MB, free: 1.078 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005074/0.4917, allocations: 392.9 kB / 409 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4918, allocations: 8.031 kB / 409 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.088e-05/0.4919, allocations: 7.906 kB / 409 MB, free: 0.625 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.4921, allocations: 190.9 kB / 409.2 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.4921, allocations: 8 kB / 409.2 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.4922, allocations: 7.969 kB / 409.2 MB, free: 392 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.4924, allocations: 67.34 kB / 409.3 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4924, allocations: 0 / 409.3 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4924, allocations: 0 / 409.3 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.35e-06/0.4925, allocations: 4 kB / 409.3 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.4926, allocations: 39.97 kB / 409.3 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000496/0.4931, allocations: 284.8 kB / 409.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.4933, allocations: 38.56 kB / 409.6 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.4933, allocations: 11.94 kB / 409.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.4934, allocations: 34.56 kB / 409.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.163e-06/0.4934, allocations: 0 / 409.7 MB, free: 15.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007614/0.4941, allocations: 177.4 kB / 409.9 MB, free: 15.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.4942, allocations: 77.11 kB / 409.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.4944, allocations: 117 kB / 410.1 MB, free: 15.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4944, allocations: 29.7 kB / 410.1 MB, free: 15.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.4945, allocations: 154.6 kB / 410.2 MB, free: 15.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4946, allocations: 19.66 kB / 410.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4946, allocations: 0 / 410.3 MB, free: 15.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4948, allocations: 326.8 kB / 410.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.4949, allocations: 27.97 kB / 410.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.495, allocations: 41.7 kB / 410.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.4952, allocations: 61.7 kB / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-06/0.4952, allocations: 0 / 410.7 MB, free: 14.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003443/0.4956, allocations: 131.3 kB / 410.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.4956, allocations: 38.31 kB / 410.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-06/0.4956, allocations: 0 / 410.9 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4957, allocations: 3.938 kB / 410.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.4958, allocations: 19.98 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.709e-06/0.4958, allocations: 0 / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.941e-05/0.4959, allocations: 8 kB / 410.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.4959, allocations: 4 kB / 410.9 MB, free: 14.54 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 (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.0001196/0.4961, allocations: 121.7 kB / 411 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.4961, allocations: 7.906 kB / 411 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003568/0.4965, allocations: 118.2 kB / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.4965, allocations: 4 kB / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.314e-06/0.4965, allocations: 0 / 411.1 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.303e-06/0.4966, allocations: 3.984 kB / 411.1 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.4972, allocations: 370.5 kB / 411.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.298e-06/0.4972, allocations: 0 / 411.5 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.4973, allocations: 15.94 kB / 411.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.146e-06/0.4974, allocations: 0 / 411.5 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.4974, allocations: 3.984 kB / 411.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.483e-06/0.4974, allocations: 0 / 411.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-06/0.4974, allocations: 0 / 411.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4978, allocations: 203.4 kB / 411.7 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.4979, allocations: 81.02 kB / 411.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4979, allocations: 4.25 kB / 411.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.498, allocations: 19.98 kB / 411.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.4981, allocations: 4.281 kB / 411.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4981, allocations: 0 / 411.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.4982, allocations: 95.27 kB / 411.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4982, allocations: 0 / 411.9 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000375/0.4986, allocations: 35.92 kB / 412 MB, free: 13.38 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 (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.00104/0.4996, allocations: 341 kB / 412.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.5, allocations: 123.4 kB / 412.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.395e-06/0.5001, allocations: 0 / 412.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.5002, allocations: 31.98 kB / 412.4 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.5004, allocations: 15.95 kB / 412.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.5009, allocations: 203.1 kB / 412.7 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5013, allocations: 0.6965 MB / 413.4 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/0.5014, allocations: 19.36 kB / 413.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.356e-06/0.5014, allocations: 4 kB / 413.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.004166/0.5056, allocations: 1.59 MB / 415 MB, free: 10.36 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_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=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.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_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.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.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.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.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.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1\n'