Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.962/1.962, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005917/0.0005919, allocations: 8 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.348, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4811, allocations: 74.63 MB / 406.4 MB, free: 3.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.4815, allocations: 71.95 kB / 406.5 MB, free: 3.758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.4928, allocations: 2.63 MB / 409.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4928, allocations: 0 / 409.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.4928, allocations: 0 / 409.1 MB, free: 1.125 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.000499/0.4934, allocations: 404.9 kB / 409.5 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4934, allocations: 16.03 kB / 409.5 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.4935, allocations: 3.906 kB / 409.5 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.4937, allocations: 190.9 kB / 409.7 MB, free: 440 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4938, allocations: 4 kB / 409.7 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4938, allocations: 0 / 409.7 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.494, allocations: 67.39 kB / 409.8 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.494, allocations: 4 kB / 409.8 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4941, allocations: 8 kB / 409.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4941, allocations: 0 / 409.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.4943, allocations: 31.92 kB / 409.8 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.4948, allocations: 284.8 kB / 410.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001453/0.495, allocations: 50.56 kB / 410.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.495, allocations: 0 / 410.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.495, allocations: 34.66 kB / 410.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.4951, allocations: 0 / 410.2 MB, free: 15.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008937/0.496, allocations: 181.4 kB / 410.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.496, allocations: 85.09 kB / 410.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.4962, allocations: 117.8 kB / 410.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.4962, allocations: 25.7 kB / 410.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.4963, allocations: 154.6 kB / 410.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.4963, allocations: 31.64 kB / 410.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.4964, allocations: 0 / 410.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4965, allocations: 314.8 kB / 411.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.4966, allocations: 35.92 kB / 411.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4968, allocations: 49.61 kB / 411.2 MB, free: 14.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.497, allocations: 61.72 kB / 411.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.497, allocations: 0 / 411.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003876/0.4974, allocations: 131.5 kB / 411.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.4975, allocations: 29.7 kB / 411.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4975, allocations: 4 kB / 411.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.4975, allocations: 4 kB / 411.4 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.4977, allocations: 19.92 kB / 411.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4977, allocations: 3.938 kB / 411.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.604e-05/0.4978, allocations: 4 kB / 411.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.4978, allocations: 7.984 kB / 411.4 MB, free: 14.56 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.0001066/0.4979, allocations: 117.8 kB / 411.6 MB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.498, allocations: 11.91 kB / 411.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.4984, allocations: 110 kB / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4984, allocations: 0 / 411.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4985, allocations: 4 kB / 411.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4985, allocations: 0 / 411.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.4991, allocations: 366.5 kB / 412 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4991, allocations: 0 / 412 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.4993, allocations: 19.98 kB / 412.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.4993, allocations: 0 / 412.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4993, allocations: 4 kB / 412.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.4993, allocations: 4 kB / 412.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4993, allocations: 0 / 412.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4997, allocations: 203.6 kB / 412.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/0.4998, allocations: 81.02 kB / 412.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.4998, allocations: 11.98 kB / 412.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.5, allocations: 8 kB / 412.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.5, allocations: 3.984 kB / 412.4 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.5, allocations: 8 kB / 412.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.303e-05/0.5001, allocations: 91.27 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.5002, allocations: 4 kB / 412.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003698/0.5005, allocations: 28 kB / 412.5 MB, free: 13.4 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.0009165/0.5015, allocations: 343.3 kB / 412.8 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000404/0.5019, allocations: 123.3 kB / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5019, allocations: 0 / 412.9 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.5021, allocations: 39.98 kB / 413 MB, free: 12.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.5023, allocations: 7.984 kB / 413 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.5029, allocations: 203.2 kB / 413.2 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.5031, allocations: 0.6965 MB / 413.9 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.5032, allocations: 15.44 kB / 413.9 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.041e-06/0.5032, allocations: 3.938 kB / 413.9 MB, free: 11.97 MB / 346.7 MB Notification: Performance of Templates: time 0.004765/0.508, allocations: 1.606 MB / 415.5 MB, free: 10.37 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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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'