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.818/1.818, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.662e-05, allocations: 8 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08586/0.08592, allocations: 48.69 MB / 321.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.4765, allocations: 74.55 MB / 396.3 MB, free: 7.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.4769, allocations: 69.05 kB / 396.4 MB, free: 7.148 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.493, allocations: 2.626 MB / 399 MB, free: 6.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.04e-06/0.493, allocations: 0 / 399 MB, free: 6.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.4931, allocations: 0 / 399 MB, free: 6.711 MB / 314.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.0004939/0.4936, allocations: 393 kB / 399.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.4937, allocations: 11.53 kB / 399.4 MB, free: 6.312 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.4937, allocations: 11 kB / 399.4 MB, free: 6.309 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002925/0.494, allocations: 191.5 kB / 399.6 MB, free: 6.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4941, allocations: 4 kB / 399.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4942, allocations: 3.688 kB / 399.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.4944, allocations: 59.41 kB / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.4944, allocations: 0 / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.4945, allocations: 3 kB / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.846e-06/0.4945, allocations: 3.719 kB / 399.6 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.4946, allocations: 21.12 kB / 399.7 MB, free: 6.043 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.4952, allocations: 290.5 kB / 400 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001272/0.4954, allocations: 29.61 kB / 400 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.4955, allocations: 15.73 kB / 400 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.4955, allocations: 6.094 kB / 400 MB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.4956, allocations: 30.56 kB / 400 MB, free: 5.703 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.866e-06/0.4956, allocations: 0 / 400 MB, free: 5.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0007674/0.4964, allocations: 120.1 kB / 400.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4965, allocations: 80.95 kB / 400.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.4966, allocations: 121.3 kB / 400.3 MB, free: 5.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4967, allocations: 25.7 kB / 400.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.4967, allocations: 153.6 kB / 400.5 MB, free: 5.285 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.4968, allocations: 18.81 kB / 400.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.4968, allocations: 0 / 400.5 MB, free: 5.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.409e-05/0.4969, allocations: 329.7 kB / 400.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.748e-05/0.497, allocations: 10.88 kB / 400.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.4972, allocations: 42.02 kB / 400.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.4973, allocations: 47.2 kB / 401 MB, free: 4.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.854e-06/0.4973, allocations: 0 / 401 MB, free: 4.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003205/0.4977, allocations: 100.4 kB / 401.1 MB, free: 4.836 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.4977, allocations: 33.27 kB / 401.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.882e-06/0.4977, allocations: 0 / 401.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.4978, allocations: 4.031 kB / 401.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.498, allocations: 14.05 kB / 401.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.498, allocations: 2.25 kB / 401.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.4982, allocations: 7.812 kB / 401.1 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.4982, allocations: 5.531 kB / 401.1 MB, free: 4.801 MB / 314.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 8.656e-05/0.4983, allocations: 112.6 kB / 401.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.4984, allocations: 7.75 kB / 401.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003437/0.4988, allocations: 98.19 kB / 401.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.811e-06/0.4988, allocations: 3 kB / 401.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.426e-06/0.4988, allocations: 3.75 kB / 401.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.244e-06/0.4989, allocations: 0 / 401.3 MB, free: 4.633 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.4996, allocations: 345.9 kB / 401.7 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-06/0.4996, allocations: 3.938 kB / 401.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.4998, allocations: 14.64 kB / 401.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-06/0.4998, allocations: 0 / 401.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.4998, allocations: 7.062 kB / 401.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4998, allocations: 0 / 401.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4999, allocations: 7.047 kB / 401.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.5003, allocations: 163.8 kB / 401.9 MB, free: 20.19 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.5005, allocations: 81.16 kB / 402 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.5005, allocations: 13.47 kB / 402 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.5008, allocations: 3.812 kB / 402 MB, free: 20.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.5008, allocations: 10.28 kB / 402 MB, free: 20.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.5009, allocations: 0 / 402 MB, free: 20.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.501, allocations: 99.84 kB / 402.1 MB, free: 20 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.293e-06/0.5011, allocations: 0 / 402.1 MB, free: 20 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007709/0.5019, allocations: 39.98 kB / 402.1 MB, free: 19.99 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.001595/0.5035, allocations: 322.6 kB / 402.4 MB, free: 19.78 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003293/0.5038, allocations: 95.34 kB / 402.5 MB, free: 19.72 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5039, allocations: 0 / 402.5 MB, free: 19.72 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.504, allocations: 23.86 kB / 402.5 MB, free: 19.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.5044, allocations: 9.281 kB / 402.6 MB, free: 19.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.505, allocations: 137.7 kB / 402.7 MB, free: 19.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.5056, allocations: 0.6935 MB / 403.4 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.5057, allocations: 14.91 kB / 403.4 MB, free: 18.9 MB / 330.7 MB Notification: Performance of SimCode: time 2.139e-06/0.5057, allocations: 0 / 403.4 MB, free: 18.9 MB / 330.7 MB Notification: Performance of Templates: time 0.006256/0.512, allocations: 1.597 MB / 405 MB, free: 18.12 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab.makefile 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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:276:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./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 double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1