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.CombiTable1Ds.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.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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.4 MB / 217.3 MB, free: 4.125 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.702e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2635, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3734, allocations: 73.88 MB / 393.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3736, allocations: 67.95 kB / 394 MB, free: 6.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.3845, allocations: 2.766 MB / 396.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.669e-06/0.3845, allocations: 0 / 396.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.3846, allocations: 4 kB / 396.7 MB, free: 3.707 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004822/0.3851, allocations: 396 kB / 397.1 MB, free: 3.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.3851, allocations: 8.031 kB / 397.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.3852, allocations: 4 kB / 397.1 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.3854, allocations: 194.8 kB / 397.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3855, allocations: 0 / 397.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3855, allocations: 4 kB / 397.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/0.3856, allocations: 27.98 kB / 397.4 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3858, allocations: 59.41 kB / 397.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3858, allocations: 0 / 397.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.3858, allocations: 4 kB / 397.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.701e-06/0.3858, allocations: 0 / 397.4 MB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004263/0.3863, allocations: 273.3 kB / 397.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.3864, allocations: 50.56 kB / 397.7 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.3865, allocations: 16.98 kB / 397.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3865, allocations: 0 / 397.7 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.3865, allocations: 42.56 kB / 397.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.899e-06/0.3866, allocations: 0 / 397.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005308/0.3871, allocations: 125.3 kB / 397.9 MB, free: 2.359 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3872, allocations: 77.11 kB / 398 MB, free: 2.266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3873, allocations: 116.9 kB / 398.1 MB, free: 2.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3874, allocations: 25.7 kB / 398.1 MB, free: 2.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.072e-05/0.3875, allocations: 162.5 kB / 398.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.3875, allocations: 19.7 kB / 398.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-06/0.3875, allocations: 3.938 kB / 398.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3877, allocations: 322.8 kB / 398.6 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.3877, allocations: 12 kB / 398.6 MB, free: 1.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.3878, allocations: 33.7 kB / 398.7 MB, free: 1.555 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.3879, allocations: 20 kB / 398.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-06/0.3879, allocations: 0 / 398.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000203/0.3881, allocations: 93.92 kB / 398.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.3882, allocations: 30.48 kB / 398.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3882, allocations: 0 / 398.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.3882, allocations: 0 / 398.8 MB, free: 1.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3884, allocations: 19.98 kB / 398.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.423e-06/0.3884, allocations: 0 / 398.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.3885, allocations: 7.938 kB / 398.8 MB, free: 1.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.3885, allocations: 8 kB / 398.8 MB, free: 1.367 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 (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 9.82e-05/0.3886, allocations: 116 kB / 399 MB, free: 1.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.3887, allocations: 7.891 kB / 399 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.3889, allocations: 94.08 kB / 399.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-06/0.3889, allocations: 0 / 399.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-06/0.3889, allocations: 0 / 399.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-06/0.389, allocations: 4 kB / 399.1 MB, free: 1.145 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3894, allocations: 323.1 kB / 399.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-06/0.3895, allocations: 0 / 399.4 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3896, allocations: 27.92 kB / 399.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.3896, allocations: 3.984 kB / 399.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-06/0.3896, allocations: 0 / 399.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-06/0.3896, allocations: 0 / 399.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.3896, allocations: 0 / 399.4 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.3899, allocations: 171.4 kB / 399.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.39, allocations: 85.09 kB / 399.7 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.39, allocations: 8 kB / 399.7 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.3901, allocations: 4 kB / 399.7 MB, free: 468 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.189e-05/0.3902, allocations: 7.984 kB / 399.7 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.3902, allocations: 0 / 399.7 MB, free: 460 kB / 330.7 MB Notification: Performance of sorting global known variables: time 9.197e-05/0.3903, allocations: 103.2 kB / 399.8 MB, free: 356 kB / 330.7 MB Notification: Performance of sort global known variables: time 7.6e-07/0.3903, allocations: 0 / 399.8 MB, free: 356 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.3907, allocations: 28 kB / 399.8 MB, free: 328 kB / 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 (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.0008406/0.3915, allocations: 290.8 kB / 400.1 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.3918, allocations: 103.4 kB / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.091e-06/0.3918, allocations: 0 / 400.2 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.302e-05/0.3919, allocations: 23.94 kB / 400.2 MB, free: 15.94 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.3921, allocations: 14.53 kB / 400.2 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.3925, allocations: 142.6 kB / 400.4 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3929, allocations: 0.6898 MB / 401.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.688e-05/0.393, allocations: 19.42 kB / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of SimCode: time 3.457e-06/0.393, allocations: 0 / 401.1 MB, free: 15.03 MB / 346.7 MB Notification: Performance of Templates: time 0.004098/0.3971, allocations: 1.653 MB / 402.7 MB, free: 13.37 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.1_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.1_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.1_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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1\n'