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/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.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.14/2.14, allocations: 234.9 MB / 250.5 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004348/0.0004349, allocations: 16 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2916, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003148/0.2948, allocations: 1.223 MB / 370.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009845/0.2958, allocations: 273.1 kB / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.2959, allocations: 0 / 370.7 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.2961, allocations: 19.91 kB / 370.7 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.2963, allocations: 27.91 kB / 370.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001815/0.2965, allocations: 23.92 kB / 370.8 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.2968, allocations: 51.88 kB / 370.8 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.2969, allocations: 8 kB / 370.8 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.297, allocations: 19.92 kB / 370.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.069e-05/0.2971, allocations: 23.91 kB / 370.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.2971, allocations: 0 / 370.9 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001562/0.2973, allocations: 39.86 kB / 370.9 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.2974, allocations: 11.98 kB / 370.9 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.944e-05/0.2974, allocations: 33.64 kB / 370.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.2977, allocations: 67.89 kB / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.474e-06/0.2977, allocations: 0 / 371 MB, free: 8.867 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.2977, allocations: 4 kB / 371 MB, free: 8.863 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.643e-06/0.2977, allocations: 0 / 371 MB, free: 8.863 MB / 298.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.0006657/0.2984, allocations: 397.5 kB / 371.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2985, allocations: 8.031 kB / 371.4 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.2986, allocations: 11.86 kB / 371.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.2989, allocations: 179 kB / 371.6 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.299, allocations: 4 kB / 371.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.299, allocations: 7.984 kB / 371.6 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.2994, allocations: 79.33 kB / 371.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2994, allocations: 0 / 371.7 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.091e-05/0.2994, allocations: 3.984 kB / 371.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.2995, allocations: 0 / 371.7 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.2997, allocations: 43.94 kB / 371.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007176/0.3005, allocations: 308.7 kB / 372 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002934/0.3008, allocations: 58.5 kB / 372.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3009, allocations: 8.062 kB / 372.1 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.8e-05/0.3009, allocations: 30.56 kB / 372.1 MB, free: 7.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 3.241e-06/0.3009, allocations: 8 kB / 372.1 MB, free: 7.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001226/0.3022, allocations: 189.3 kB / 372.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.2e-05/0.3023, allocations: 81.11 kB / 372.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.3026, allocations: 129.8 kB / 372.5 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.3026, allocations: 25.7 kB / 372.5 MB, free: 7.109 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.3028, allocations: 158.6 kB / 372.7 MB, free: 6.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.3028, allocations: 23.64 kB / 372.7 MB, free: 6.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.3029, allocations: 4 kB / 372.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002308/0.3031, allocations: 310.8 kB / 373 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.3034, allocations: 35.98 kB / 373.1 MB, free: 6.578 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3036, allocations: 49.75 kB / 373.1 MB, free: 6.523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.3039, allocations: 57.69 kB / 373.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3039, allocations: 0 / 373.2 MB, free: 6.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003966/0.3043, allocations: 143.2 kB / 373.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/0.3044, allocations: 33.7 kB / 373.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.611e-06/0.3044, allocations: 0 / 373.3 MB, free: 6.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3044, allocations: 7.891 kB / 373.4 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.3046, allocations: 19.98 kB / 373.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.613e-06/0.3046, allocations: 0 / 373.4 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.3047, allocations: 12 kB / 373.4 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3047, allocations: 4 kB / 373.4 MB, free: 6.227 MB / 298.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 (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 0.0001238/0.3048, allocations: 117.8 kB / 373.5 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.3049, allocations: 7.906 kB / 373.5 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.3053, allocations: 122 kB / 373.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.3053, allocations: 7.953 kB / 373.6 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3053, allocations: 3.938 kB / 373.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.3053, allocations: 0 / 373.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.306, allocations: 370.5 kB / 374 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.298e-06/0.3061, allocations: 0 / 374 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.3062, allocations: 23.92 kB / 374 MB, free: 5.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.547e-06/0.3062, allocations: 3.953 kB / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.222e-06/0.3062, allocations: 0 / 374 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.581e-06/0.3062, allocations: 4 kB / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.98e-06/0.3062, allocations: 0 / 374 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.3066, allocations: 203.9 kB / 374.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.3067, allocations: 85 kB / 374.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.3067, allocations: 11.95 kB / 374.3 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3069, allocations: 4 kB / 374.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.061e-05/0.3069, allocations: 7.984 kB / 374.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.3069, allocations: 384 / 374.3 MB, free: 5.164 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001136/0.3071, allocations: 107.3 kB / 374.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.83e-07/0.3071, allocations: 3.938 kB / 374.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003762/0.3075, allocations: 27.98 kB / 374.5 MB, free: 5.027 MB / 298.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 (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.00128/0.3087, allocations: 404.5 kB / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003652/0.3091, allocations: 131.3 kB / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3091, allocations: 0 / 375 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.3093, allocations: 43.92 kB / 375 MB, free: 4.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.3096, allocations: 7.938 kB / 375 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004963/0.3101, allocations: 210.6 kB / 375.3 MB, free: 4.289 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.3105, allocations: 0.6926 MB / 375.9 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.3106, allocations: 19.42 kB / 376 MB, free: 3.551 MB / 298.7 MB Notification: Performance of SimCode: time 1.644e-06/0.3106, allocations: 0 / 376 MB, free: 3.551 MB / 298.7 MB Notification: Performance of Templates: time 0.004299/0.3149, allocations: 1.65 MB / 377.6 MB, free: 1.898 MB / 298.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=5 -DSUNDIALS_MINOR_VERSION=4 -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.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/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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:193: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'