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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.93/1.93, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.846e-05/1.853e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2567, allocations: 48.68 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1093/0.366, allocations: 73.88 MB / 393.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3663, allocations: 63.97 kB / 393.9 MB, free: 6.512 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01039/0.3767, allocations: 2.617 MB / 396.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.3767, allocations: 0 / 396.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3768, allocations: 0 / 396.6 MB, free: 3.891 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.0004485/0.3772, allocations: 391.4 kB / 396.9 MB, free: 3.461 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3773, allocations: 8.031 kB / 397 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.3773, allocations: 11.84 kB / 397 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.3776, allocations: 190.8 kB / 397.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.764e-06/0.3776, allocations: 0 / 397.2 MB, free: 3.215 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3776, allocations: 8 kB / 397.2 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.096e-05/0.3777, allocations: 19.98 kB / 397.2 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.3779, allocations: 59.34 kB / 397.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3779, allocations: 0 / 397.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-06/0.3779, allocations: 0 / 397.2 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.25e-06/0.3779, allocations: 4 kB / 397.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004333/0.3784, allocations: 273.4 kB / 397.5 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.3785, allocations: 30.58 kB / 397.5 MB, free: 2.77 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.347e-05/0.3785, allocations: 12.86 kB / 397.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.3786, allocations: 0 / 397.5 MB, free: 2.754 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.3786, allocations: 38.64 kB / 397.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.837e-06/0.3786, allocations: 0 / 397.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.3791, allocations: 117.4 kB / 397.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.3792, allocations: 77.11 kB / 397.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.3793, allocations: 116.9 kB / 397.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3793, allocations: 25.7 kB / 397.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.779e-05/0.3794, allocations: 158.5 kB / 398.1 MB, free: 2.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.3795, allocations: 15.81 kB / 398.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.703e-06/0.3795, allocations: 0 / 398.1 MB, free: 2.168 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3797, allocations: 318.8 kB / 398.4 MB, free: 1.848 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.3797, allocations: 15.98 kB / 398.4 MB, free: 1.832 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.3798, allocations: 29.72 kB / 398.4 MB, free: 1.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.3799, allocations: 23.92 kB / 398.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.661e-06/0.3799, allocations: 0 / 398.5 MB, free: 1.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.3801, allocations: 73.67 kB / 398.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.3801, allocations: 30.48 kB / 398.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-06/0.3801, allocations: 0 / 398.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3801, allocations: 3.984 kB / 398.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.3803, allocations: 16.03 kB / 398.6 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.225e-06/0.3803, allocations: 4 kB / 398.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.3804, allocations: 7.984 kB / 398.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3804, allocations: 4 kB / 398.6 MB, free: 1.625 MB / 330.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 (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 9.208e-05/0.3805, allocations: 104.9 kB / 398.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.468e-05/0.3806, allocations: 11.84 kB / 398.7 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002146/0.3808, allocations: 90.17 kB / 398.8 MB, free: 1.414 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.505e-06/0.3808, allocations: 7.938 kB / 398.8 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.691e-06/0.3808, allocations: 0 / 398.8 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.956e-06/0.3809, allocations: 3.984 kB / 398.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004344/0.3813, allocations: 311 kB / 399.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-06/0.3813, allocations: 0 / 399.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.783e-05/0.3814, allocations: 23.92 kB / 399.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3815, allocations: 0 / 399.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.03e-06/0.3815, allocations: 0 / 399.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.196e-06/0.3815, allocations: 4 kB / 399.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-06/0.3815, allocations: 0 / 399.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.3817, allocations: 167.8 kB / 399.3 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.3818, allocations: 89 kB / 399.4 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.3818, allocations: 4 kB / 399.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3819, allocations: 4 kB / 399.4 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.382, allocations: 3.984 kB / 399.4 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.382, allocations: 8 kB / 399.4 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.245e-05/0.3821, allocations: 95.66 kB / 399.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.3821, allocations: 0 / 399.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.3825, allocations: 31.98 kB / 399.5 MB, free: 0.5977 MB / 330.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 (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.0008429/0.3833, allocations: 287.8 kB / 399.8 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001809/0.3835, allocations: 99.33 kB / 399.9 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.86e-06/0.3836, allocations: 0 / 399.9 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.037e-05/0.3836, allocations: 27.94 kB / 399.9 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3839, allocations: 10.7 kB / 400 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.3842, allocations: 130.8 kB / 400.1 MB, free: 52 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3846, allocations: 0.6885 MB / 400.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.855e-05/0.3847, allocations: 23.42 kB / 400.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3847, allocations: 0 / 400.8 MB, free: 15.31 MB / 346.7 MB Notification: Performance of Templates: time 0.003999/0.3887, allocations: 1.587 MB / 402.4 MB, free: 13.72 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=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.1/Resources/Data/Tables" -I"." -I"." -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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'