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.436/2.436, allocations: 234.9 MB / 250.1 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.298e-05, allocations: 4 kB / 308 MB, free: 15.76 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 54.85 MB / 362.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002345/0.3537, allocations: 1.25 MB / 364.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006818/0.3544, allocations: 255.8 kB / 364.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.373e-05/0.3545, allocations: 4 kB / 364.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.3546, allocations: 15.86 kB / 364.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.3548, allocations: 19.95 kB / 364.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.3549, allocations: 23.92 kB / 364.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.3551, allocations: 31.95 kB / 364.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.3552, allocations: 8 kB / 364.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.21e-05/0.3552, allocations: 19.92 kB / 364.5 MB, free: 10.15 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.519e-05/0.3553, allocations: 23.91 kB / 364.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.3555, allocations: 35.92 kB / 364.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.3555, allocations: 4 kB / 364.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3556, allocations: 11.94 kB / 364.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3556, allocations: 0 / 364.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3558, allocations: 63.91 kB / 364.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.3558, allocations: 0 / 364.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3558, allocations: 0 / 364.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.006e-06/0.3558, allocations: 0 / 364.6 MB, free: 10.02 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.0005375/0.3564, allocations: 402.7 kB / 365 MB, free: 9.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3564, allocations: 8.031 kB / 365 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.3565, allocations: 15.8 kB / 365 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.3567, allocations: 183 kB / 365.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3568, allocations: 0 / 365.2 MB, free: 9.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.3568, allocations: 8 kB / 365.2 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/0.3571, allocations: 79.31 kB / 365.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3571, allocations: 4 kB / 365.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3571, allocations: 0 / 365.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3571, allocations: 3.984 kB / 365.3 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001917/0.3573, allocations: 47.92 kB / 365.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.3578, allocations: 284.8 kB / 365.6 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002112/0.358, allocations: 62.5 kB / 365.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.3581, allocations: 7.984 kB / 365.7 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.3581, allocations: 34.69 kB / 365.7 MB, free: 8.727 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.824e-06/0.3582, allocations: 0 / 365.7 MB, free: 8.727 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009565/0.3591, allocations: 193.3 kB / 365.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.3592, allocations: 81.11 kB / 366 MB, free: 8.434 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3594, allocations: 120.9 kB / 366.1 MB, free: 8.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.3594, allocations: 29.7 kB / 366.1 MB, free: 8.273 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.3595, allocations: 158.6 kB / 366.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.712e-05/0.3595, allocations: 23.66 kB / 366.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.3596, allocations: 0 / 366.3 MB, free: 8.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3597, allocations: 318.8 kB / 366.6 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.3599, allocations: 27.98 kB / 366.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.36, allocations: 49.69 kB / 366.7 MB, free: 7.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.3602, allocations: 57.69 kB / 366.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3602, allocations: 0 / 366.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004261/0.3607, allocations: 143.2 kB / 366.9 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.3607, allocations: 37.7 kB / 366.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3608, allocations: 0 / 366.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3608, allocations: 3.953 kB / 366.9 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.361, allocations: 19.98 kB / 367 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.361, allocations: 0 / 367 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3611, allocations: 4 kB / 367 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.3611, allocations: 4 kB / 367 MB, free: 7.402 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 () * 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.0001143/0.3613, allocations: 121.8 kB / 367.1 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.3613, allocations: 7.906 kB / 367.1 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004567/0.3618, allocations: 125.9 kB / 367.2 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3618, allocations: 4 kB / 367.2 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.3618, allocations: 3.953 kB / 367.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3618, allocations: 4 kB / 367.2 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007112/0.3626, allocations: 370.5 kB / 367.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3626, allocations: 0 / 367.6 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3627, allocations: 20.36 kB / 367.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.3627, allocations: 0 / 367.6 MB, free: 6.684 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.3628, allocations: 15.95 kB / 367.6 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3628, allocations: 4.469 kB / 367.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3628, allocations: 0 / 367.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004079/0.3632, allocations: 199.4 kB / 367.8 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.567e-05/0.3633, allocations: 89 kB / 367.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3633, allocations: 4 kB / 367.9 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3634, allocations: 11.89 kB / 367.9 MB, free: 6.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.3635, allocations: 15.92 kB / 367.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.3635, allocations: 0 / 367.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.3637, allocations: 99.27 kB / 368 MB, free: 6.219 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3637, allocations: 0 / 368 MB, free: 6.219 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.364, allocations: 31.98 kB / 368.1 MB, free: 6.188 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 () * 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.001037/0.3651, allocations: 353.1 kB / 368.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004668/0.3656, allocations: 127.4 kB / 368.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3656, allocations: 0 / 368.5 MB, free: 5.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3658, allocations: 40.08 kB / 368.6 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.366, allocations: 8.156 kB / 368.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005347/0.3666, allocations: 222.5 kB / 368.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3669, allocations: 0.6926 MB / 369.5 MB, free: 4.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.367, allocations: 15.44 kB / 369.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.367, allocations: 0 / 369.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of Templates: time 0.005045/0.372, allocations: 1.67 MB / 371.2 MB, free: 3.07 MB / 298.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.2/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.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 In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: In file included from ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:193:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./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 double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. : recipe for target 'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1