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.155/2.155, allocations: 235 MB / 248.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.144e-05/5.163e-05, allocations: 4 kB / 309.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4016, allocations: 54.85 MB / 364.5 MB, free: 5.484 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1698/0.5714, allocations: 81 MB / 445.5 MB, free: 15.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5717, allocations: 72.52 kB / 445.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01168/0.5834, allocations: 2.769 MB / 448.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.902e-06/0.5835, allocations: 0 / 448.4 MB, free: 12.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5835, allocations: 7.938 kB / 448.4 MB, free: 12.66 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.0005012/0.584, allocations: 397.1 kB / 448.8 MB, free: 12.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5841, allocations: 12.72 kB / 448.8 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.5841, allocations: 11.86 kB / 448.8 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.5844, allocations: 182.9 kB / 449 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5844, allocations: 0 / 449 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.5845, allocations: 8.828 kB / 449 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.5846, allocations: 66.78 kB / 449 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5846, allocations: 4 kB / 449.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.5847, allocations: 0 / 449.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.541e-06/0.5847, allocations: 0 / 449.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.16e-05/0.5848, allocations: 23.95 kB / 449.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.5853, allocations: 281 kB / 449.3 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.532e-05/0.5854, allocations: 42.5 kB / 449.4 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.5854, allocations: 20.84 kB / 449.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.803e-05/0.5855, allocations: 1.406 kB / 449.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.5856, allocations: 34.56 kB / 449.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.173e-06/0.5856, allocations: 0 / 449.4 MB, free: 11.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005187/0.5861, allocations: 125.4 kB / 449.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.5862, allocations: 77.11 kB / 449.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.5863, allocations: 121.5 kB / 449.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.5864, allocations: 25.7 kB / 449.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.5865, allocations: 154.6 kB / 449.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.5866, allocations: 23.7 kB / 450 MB, free: 10.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.5866, allocations: 0 / 450 MB, free: 10.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.5867, allocations: 314.8 kB / 450.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.715e-05/0.5868, allocations: 16 kB / 450.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.5869, allocations: 29.7 kB / 450.3 MB, free: 10.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.587, allocations: 61.8 kB / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-06/0.587, allocations: 0 / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002184/0.5872, allocations: 107.3 kB / 450.5 MB, free: 10.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.5873, allocations: 29.7 kB / 450.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.465e-06/0.5873, allocations: 3.953 kB / 450.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.5873, allocations: 0 / 450.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5875, allocations: 15.98 kB / 450.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.252e-06/0.5875, allocations: 4 kB / 450.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.682e-05/0.5876, allocations: 8 kB / 450.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.5876, allocations: 7.984 kB / 450.5 MB, free: 10.25 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 (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.417e-05/0.5877, allocations: 105 kB / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.664e-05/0.5878, allocations: 7.906 kB / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.588, allocations: 90.17 kB / 450.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.567e-06/0.5881, allocations: 3.953 kB / 450.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.143e-06/0.5881, allocations: 0 / 450.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-06/0.5881, allocations: 0 / 450.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005214/0.5886, allocations: 351.3 kB / 451.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.211e-06/0.5886, allocations: 0 / 451.1 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.914e-05/0.5887, allocations: 19.92 kB / 451.1 MB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.289e-06/0.5888, allocations: 3.953 kB / 451.1 MB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.5888, allocations: 8 kB / 451.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.77e-06/0.5888, allocations: 192 / 451.1 MB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.861e-06/0.5888, allocations: 4 kB / 451.1 MB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002228/0.589, allocations: 163.5 kB / 451.3 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.5891, allocations: 85 kB / 451.4 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.5892, allocations: 11.95 kB / 451.4 MB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.5893, allocations: 4 kB / 451.4 MB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.5893, allocations: 7.984 kB / 451.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5894, allocations: 0 / 451.4 MB, free: 9.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.5895, allocations: 96.92 kB / 451.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.218e-06/0.5895, allocations: 0 / 451.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.5899, allocations: 39.86 kB / 451.5 MB, free: 9.172 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 (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.001221/0.5911, allocations: 366.6 kB / 451.9 MB, free: 8.891 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.5914, allocations: 99.39 kB / 452 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.21e-06/0.5914, allocations: 0 / 452 MB, free: 8.781 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.5915, allocations: 19.94 kB / 452 MB, free: 8.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.5917, allocations: 11.98 kB / 452 MB, free: 8.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.5921, allocations: 132 kB / 452.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004189/0.5925, allocations: 0.6965 MB / 452.8 MB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.481e-05/0.5926, allocations: 19.42 kB / 452.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of SimCode: time 1.475e-06/0.5926, allocations: 0 / 452.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of Templates: time 0.004996/0.5976, allocations: 1.595 MB / 454.5 MB, free: 6.25 MB / 378.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'