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.953/1.953, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-05/4.822e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09873/0.09882, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4306, allocations: 74.55 MB / 401.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4309, allocations: 68.23 kB / 401.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.4415, allocations: 2.782 MB / 403.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.961e-06/0.4416, allocations: 4 kB / 403.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.4416, allocations: 3.844 kB / 403.9 MB, free: 9.172 MB / 314.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.0003251/0.4419, allocations: 394.4 kB / 404.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.442, allocations: 7.688 kB / 404.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.442, allocations: 3.844 kB / 404.3 MB, free: 8.762 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.4422, allocations: 194.8 kB / 404.5 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.4422, allocations: 7.906 kB / 404.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.4423, allocations: 3.875 kB / 404.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.4424, allocations: 73.36 kB / 404.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.4424, allocations: 3.844 kB / 404.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4425, allocations: 0 / 404.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-06/0.4425, allocations: 0 / 404.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.914e-05/0.4426, allocations: 26.52 kB / 404.6 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.4429, allocations: 287.8 kB / 404.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.4431, allocations: 59.5 kB / 405 MB, free: 8.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.4431, allocations: 19.45 kB / 405 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.4432, allocations: 3.828 kB / 405 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.4432, allocations: 33.62 kB / 405 MB, free: 8.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 3.112e-06/0.4432, allocations: 0 / 405 MB, free: 8.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004701/0.4437, allocations: 137.9 kB / 405.2 MB, free: 8.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.4437, allocations: 77.11 kB / 405.2 MB, free: 7.949 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.4439, allocations: 123.2 kB / 405.4 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4439, allocations: 25.7 kB / 405.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.952e-05/0.4439, allocations: 162.1 kB / 405.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.444, allocations: 22.52 kB / 405.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.444, allocations: 0 / 405.6 MB, free: 7.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.084e-05/0.444, allocations: 314.8 kB / 405.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.4441, allocations: 21.94 kB / 405.9 MB, free: 7.332 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.4442, allocations: 39.92 kB / 405.9 MB, free: 7.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.4443, allocations: 48.56 kB / 406 MB, free: 7.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-06/0.4443, allocations: 0 / 406 MB, free: 7.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002023/0.4445, allocations: 109.5 kB / 406.1 MB, free: 7.207 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.4445, allocations: 29.55 kB / 406.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.885e-06/0.4446, allocations: 0 / 406.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4446, allocations: 0 / 406.1 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4447, allocations: 23.45 kB / 406.1 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.82e-06/0.4448, allocations: 4 kB / 406.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.4448, allocations: 7.688 kB / 406.2 MB, free: 7.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.4449, allocations: 7.859 kB / 406.2 MB, free: 7.164 MB / 314.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 () * 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 5.614e-05/0.4449, allocations: 112.6 kB / 406.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.587e-05/0.445, allocations: 7.719 kB / 406.3 MB, free: 7.047 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.4452, allocations: 104.5 kB / 406.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.243e-06/0.4453, allocations: 0 / 406.4 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.247e-06/0.4453, allocations: 4 kB / 406.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-06/0.4453, allocations: 0 / 406.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.4457, allocations: 353.2 kB / 406.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-06/0.4457, allocations: 4 kB / 406.7 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4459, allocations: 23.3 kB / 406.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.327e-06/0.4459, allocations: 0 / 406.8 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.4459, allocations: 7.812 kB / 406.8 MB, free: 6.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.602e-06/0.4459, allocations: 3.938 kB / 406.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.97e-06/0.4459, allocations: 4 kB / 406.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.4461, allocations: 182.2 kB / 406.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.4462, allocations: 80.95 kB / 407 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/0.4462, allocations: 0 / 407 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4463, allocations: 7.797 kB / 407 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.4464, allocations: 7.031 kB / 407 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.4464, allocations: 7.797 kB / 407 MB, free: 6.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.297e-05/0.4465, allocations: 97.38 kB / 407.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.4465, allocations: 3.562 kB / 407.1 MB, free: 6.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003719/0.4469, allocations: 38.83 kB / 407.2 MB, free: 6.301 MB / 314.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 () * 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.0008881/0.4478, allocations: 309.9 kB / 407.5 MB, free: 6.121 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001878/0.448, allocations: 104.6 kB / 407.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.448, allocations: 0 / 407.6 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.4481, allocations: 29.2 kB / 407.6 MB, free: 6.043 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.4483, allocations: 14.91 kB / 407.6 MB, free: 6.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.4486, allocations: 140.4 kB / 407.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.4488, allocations: 0.6992 MB / 408.5 MB, free: 5.211 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.4489, allocations: 15.12 kB / 408.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of SimCode: time 1.555e-06/0.4489, allocations: 0 / 408.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of Templates: time 0.003595/0.4525, allocations: 1.643 MB / 410.1 MB, free: 4.371 MB / 314.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'