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.CombiTable1Ds.Test25_usertab.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.129/2.129, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.92e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 54.85 MB / 358 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.401, allocations: 80.34 MB / 438.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4013, allocations: 67.97 kB / 438.4 MB, free: 14.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01182/0.4131, allocations: 2.922 MB / 441.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.427e-06/0.4131, allocations: 0 / 441.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4132, allocations: 4 kB / 441.4 MB, free: 11.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004819/0.4137, allocations: 392 kB / 441.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4137, allocations: 8.031 kB / 441.8 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.686e-05/0.4138, allocations: 11.86 kB / 441.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.4141, allocations: 190.8 kB / 442 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4141, allocations: 8 kB / 442 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.4141, allocations: 4 kB / 442 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/0.4142, allocations: 23.98 kB / 442 MB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.4144, allocations: 67.33 kB / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4144, allocations: 0 / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.4144, allocations: 0 / 442.1 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.4145, allocations: 11.94 kB / 442.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.4149, allocations: 261.5 kB / 442.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.4151, allocations: 54.56 kB / 442.4 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.576e-05/0.4151, allocations: 16.92 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.4152, allocations: 7.984 kB / 442.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.4152, allocations: 30.56 kB / 442.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.189e-06/0.4152, allocations: 0 / 442.4 MB, free: 10.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000528/0.4158, allocations: 131.2 kB / 442.6 MB, free: 10.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.4158, allocations: 77.11 kB / 442.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.416, allocations: 116.9 kB / 442.7 MB, free: 9.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.416, allocations: 25.7 kB / 442.8 MB, free: 9.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.4161, allocations: 166.4 kB / 442.9 MB, free: 9.734 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.4162, allocations: 15.72 kB / 443 MB, free: 9.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-06/0.4162, allocations: 0 / 443 MB, free: 9.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.4163, allocations: 322.8 kB / 443.3 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.4164, allocations: 12 kB / 443.3 MB, free: 9.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.328e-05/0.4165, allocations: 29.72 kB / 443.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.4165, allocations: 23.98 kB / 443.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-06/0.4166, allocations: 0 / 443.3 MB, free: 9.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002086/0.4168, allocations: 77.75 kB / 443.4 MB, free: 9.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.4168, allocations: 33.64 kB / 443.4 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.4169, allocations: 0 / 443.4 MB, free: 9.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4169, allocations: 4 kB / 443.4 MB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.417, allocations: 27.91 kB / 443.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.417, allocations: 0 / 443.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.611e-05/0.4171, allocations: 11.98 kB / 443.5 MB, free: 9.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.4172, allocations: 4 kB / 443.5 MB, free: 9.156 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 () * 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 8.768e-05/0.4173, allocations: 105 kB / 443.6 MB, free: 9.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.4173, allocations: 7.906 kB / 443.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.4176, allocations: 90.53 kB / 443.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-06/0.4176, allocations: 4 kB / 443.7 MB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.828e-06/0.4176, allocations: 3.953 kB / 443.7 MB, free: 8.938 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.014e-06/0.4177, allocations: 7.922 kB / 443.7 MB, free: 8.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.4182, allocations: 323 kB / 444 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.809e-06/0.4182, allocations: 4 kB / 444 MB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4183, allocations: 15.98 kB / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.144e-06/0.4183, allocations: 0 / 444 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4183, allocations: 8 kB / 444 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4183, allocations: 3.953 kB / 444 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.4184, allocations: 0 / 444 MB, free: 8.539 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.4186, allocations: 171.5 kB / 444.2 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.524e-05/0.4187, allocations: 85.02 kB / 444.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4187, allocations: 0 / 444.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.4188, allocations: 7.984 kB / 444.3 MB, free: 8.246 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.4189, allocations: 11.95 kB / 444.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.4189, allocations: 4 kB / 444.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.214e-05/0.419, allocations: 99.27 kB / 444.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.419, allocations: 0 / 444.4 MB, free: 8.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.4194, allocations: 31.92 kB / 444.5 MB, free: 8.102 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 () * 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.001156/0.4206, allocations: 338.2 kB / 444.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.4208, allocations: 107.3 kB / 444.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4209, allocations: 0 / 444.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.241e-05/0.4209, allocations: 23.98 kB / 444.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.4212, allocations: 8 kB / 444.9 MB, free: 7.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/0.4216, allocations: 137.8 kB / 445.1 MB, free: 7.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.422, allocations: 0.6891 MB / 445.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.4221, allocations: 19.42 kB / 445.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of SimCode: time 4.634e-06/0.4221, allocations: 0 / 445.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of Templates: time 0.00454/0.4267, allocations: 1.646 MB / 447.4 MB, free: 5.117 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'