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 2.092/2.092, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.726e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3901, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002341/0.3925, allocations: 1.222 MB / 326.1 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000655/0.3932, allocations: 252.7 kB / 326.3 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.3933, allocations: 9.188 kB / 326.3 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.3935, allocations: 15.41 kB / 326.3 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.3936, allocations: 14.94 kB / 326.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.3938, allocations: 29.58 kB / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3939, allocations: 27.52 kB / 326.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.394, allocations: 4.688 kB / 326.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.336e-05/0.3941, allocations: 21.7 kB / 326.4 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.3942, allocations: 17.41 kB / 326.5 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3943, allocations: 32.92 kB / 326.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3943, allocations: 3.5 kB / 326.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.3944, allocations: 14.47 kB / 326.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.3944, allocations: 1.312 kB / 326.5 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.3946, allocations: 61.36 kB / 326.6 MB, free: 2.168 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3947, allocations: 3.938 kB / 326.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3947, allocations: 0 / 326.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.3947, allocations: 0 / 326.6 MB, free: 2.164 MB / 266.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.000443/0.3951, allocations: 388.3 kB / 326.9 MB, free: 1.762 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3952, allocations: 10 kB / 327 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.064e-05/0.3952, allocations: 6.156 kB / 327 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.3954, allocations: 182.7 kB / 327.1 MB, free: 1.551 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3955, allocations: 7.891 kB / 327.1 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.3955, allocations: 2.344 kB / 327.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.3957, allocations: 76.91 kB / 327.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3958, allocations: 0 / 327.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3958, allocations: 1.031 kB / 327.2 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3958, allocations: 5.062 kB / 327.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.396, allocations: 32.11 kB / 327.3 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.3964, allocations: 296.8 kB / 327.6 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.3966, allocations: 44.08 kB / 327.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.3966, allocations: 1.281 kB / 327.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.3967, allocations: 32.56 kB / 327.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.3967, allocations: 0.9375 kB / 327.6 MB, free: 1.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008805/0.3976, allocations: 177.6 kB / 327.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3976, allocations: 78.3 kB / 327.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.3978, allocations: 117.2 kB / 328 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3978, allocations: 30.7 kB / 328 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.3979, allocations: 156.7 kB / 328.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3979, allocations: 24.36 kB / 328.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/0.3979, allocations: 0 / 328.2 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.116e-05/0.398, allocations: 317.5 kB / 328.5 MB, free: 328 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.3982, allocations: 32.94 kB / 328.5 MB, free: 320 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3983, allocations: 44.05 kB / 328.6 MB, free: 296 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.3985, allocations: 59.12 kB / 328.6 MB, free: 256 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3985, allocations: 0 / 328.6 MB, free: 256 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003884/0.3989, allocations: 133.7 kB / 328.8 MB, free: 168 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.399, allocations: 32.8 kB / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.399, allocations: 0 / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.399, allocations: 1.438 kB / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.3992, allocations: 15.14 kB / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3992, allocations: 2.391 kB / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.813e-05/0.3993, allocations: 10.47 kB / 328.8 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.3993, allocations: 3.328 kB / 328.8 MB, free: 136 kB / 266.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.674e-05/0.3994, allocations: 122.1 kB / 329 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.3995, allocations: 7.578 kB / 329 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.4, allocations: 117.2 kB / 329.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4, allocations: 0 / 329.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4, allocations: 6.75 kB / 329.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.4001, allocations: 3.938 kB / 329.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.4008, allocations: 367 kB / 329.4 MB, free: 15.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4008, allocations: 5.219 kB / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.4009, allocations: 18.52 kB / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.401, allocations: 6.141 kB / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.401, allocations: 1.25 kB / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.401, allocations: 0 / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.401, allocations: 1 kB / 329.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004804/0.4015, allocations: 200.6 kB / 329.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.4016, allocations: 83.69 kB / 329.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.4016, allocations: 6 kB / 329.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4017, allocations: 10.39 kB / 329.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.4018, allocations: 6.031 kB / 329.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4018, allocations: 1.062 kB / 329.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.915e-05/0.4019, allocations: 95.58 kB / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4019, allocations: 0 / 329.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003721/0.4023, allocations: 35.5 kB / 329.9 MB, free: 15.25 MB / 282.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.0008624/0.4032, allocations: 314.5 kB / 330.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004052/0.4036, allocations: 121.1 kB / 330.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.4037, allocations: 4 kB / 330.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.4038, allocations: 36.16 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4041, allocations: 9.859 kB / 330.4 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005033/0.4046, allocations: 202.9 kB / 330.6 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4049, allocations: 0.6987 MB / 331.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.405, allocations: 15.48 kB / 331.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.405, allocations: 0 / 331.3 MB, free: 14.09 MB / 282.7 MB Notification: Performance of Templates: time 0.005059/0.4101, allocations: 1.608 MB / 332.9 MB, free: 13.91 MB / 282.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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:29: 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:29: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:193: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