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.CombiTable1D.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.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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.214/2.214, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004394, allocations: 12 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2772, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3986, allocations: 81.09 MB / 450.4 MB, free: 9.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.3989, allocations: 67.97 kB / 450.4 MB, free: 9.441 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01139/0.4103, allocations: 2.793 MB / 453.2 MB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.442e-06/0.4103, allocations: 4 kB / 453.2 MB, free: 6.637 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.4104, allocations: 0 / 453.2 MB, free: 6.637 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004895/0.4109, allocations: 404.9 kB / 453.6 MB, free: 6.188 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4109, allocations: 8.031 kB / 453.6 MB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.411, allocations: 11.86 kB / 453.6 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002463/0.4112, allocations: 179 kB / 453.8 MB, free: 5.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.4113, allocations: 3.938 kB / 453.8 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.4113, allocations: 4 kB / 453.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.4115, allocations: 75.33 kB / 453.9 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4115, allocations: 0 / 453.9 MB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4116, allocations: 4 kB / 453.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-06/0.4116, allocations: 0 / 453.9 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.4117, allocations: 35.92 kB / 453.9 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.4122, allocations: 284.9 kB / 454.2 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.4124, allocations: 46.5 kB / 454.3 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.4124, allocations: 4.078 kB / 454.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4124, allocations: 32.38 kB / 454.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.09e-06/0.4125, allocations: 0 / 454.3 MB, free: 5.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007578/0.4132, allocations: 189.2 kB / 454.5 MB, free: 5.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.4133, allocations: 81.11 kB / 454.6 MB, free: 5.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4135, allocations: 113 kB / 454.7 MB, free: 4.988 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.4135, allocations: 25.7 kB / 454.7 MB, free: 4.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.4136, allocations: 158.5 kB / 454.8 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.4136, allocations: 23.64 kB / 454.9 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.4137, allocations: 4 kB / 454.9 MB, free: 4.773 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4138, allocations: 310.8 kB / 455.2 MB, free: 4.461 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.4139, allocations: 31.98 kB / 455.2 MB, free: 4.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.4141, allocations: 45.69 kB / 455.3 MB, free: 4.379 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.4143, allocations: 57.69 kB / 455.3 MB, free: 4.316 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-06/0.4143, allocations: 0 / 455.3 MB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003321/0.4146, allocations: 131.3 kB / 455.4 MB, free: 4.176 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/0.4147, allocations: 29.7 kB / 455.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.045e-06/0.4147, allocations: 0 / 455.5 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4147, allocations: 3.953 kB / 455.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.4148, allocations: 23.98 kB / 455.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.573e-06/0.4149, allocations: 0 / 455.5 MB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.553e-05/0.4149, allocations: 8 kB / 455.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.415, allocations: 11.88 kB / 455.5 MB, free: 4.094 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 (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.0001141/0.4151, allocations: 117.8 kB / 455.6 MB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.4151, allocations: 3.906 kB / 455.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.4155, allocations: 122.2 kB / 455.8 MB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.809e-06/0.4155, allocations: 3.953 kB / 455.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4155, allocations: 0 / 455.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-06/0.4156, allocations: 0 / 455.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006257/0.4162, allocations: 370.6 kB / 456.1 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4162, allocations: 4 kB / 456.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.4163, allocations: 15.98 kB / 456.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.231e-06/0.4163, allocations: 3.953 kB / 456.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.4164, allocations: 4 kB / 456.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.256e-06/0.4164, allocations: 0 / 456.1 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4164, allocations: 3.984 kB / 456.1 MB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.4167, allocations: 195.4 kB / 456.3 MB, free: 3.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.4168, allocations: 85.02 kB / 456.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.4169, allocations: 7.953 kB / 456.4 MB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.417, allocations: 7.984 kB / 456.4 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.417, allocations: 4 kB / 456.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.417, allocations: 11.92 kB / 456.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001013/0.4172, allocations: 99.27 kB / 456.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4172, allocations: 0 / 456.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.4176, allocations: 28 kB / 456.6 MB, free: 2.918 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 (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.00134/0.4189, allocations: 401.4 kB / 457 MB, free: 2.598 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.4193, allocations: 119.4 kB / 457.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.996e-06/0.4193, allocations: 0 / 457.1 MB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.4195, allocations: 43.92 kB / 457.1 MB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.4197, allocations: 12.14 kB / 457.1 MB, free: 2.414 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.4202, allocations: 194.8 kB / 457.3 MB, free: 2.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.4206, allocations: 0.7043 MB / 458 MB, free: 1.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.4207, allocations: 15.42 kB / 458 MB, free: 1.438 MB / 378.7 MB Notification: Performance of SimCode: time 1.434e-06/0.4207, allocations: 0 / 458 MB, free: 1.438 MB / 378.7 MB Notification: Performance of Templates: time 0.004134/0.4248, allocations: 1.597 MB / 459.6 MB, free: 15.84 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_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.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.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.2_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.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.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1\n'