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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.689/2.689, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.436e-05/7.438e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3773, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002709/0.38, allocations: 1.241 MB / 364.1 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.3809, allocations: 253.4 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.104e-05/0.381, allocations: 1.188 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3812, allocations: 19.06 kB / 364.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000139/0.3813, allocations: 15.77 kB / 364.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001602/0.3815, allocations: 26.5 kB / 364.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3817, allocations: 31.61 kB / 364.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.249e-05/0.3818, allocations: 7.531 kB / 364.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.3819, allocations: 18.86 kB / 364.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.436e-05/0.3819, allocations: 9.406 kB / 364.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.3821, allocations: 36.64 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3821, allocations: 8.109 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.579e-05/0.3822, allocations: 10.3 kB / 364.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.3822, allocations: 2.625 kB / 364.5 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.3825, allocations: 62.66 kB / 364.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3825, allocations: 7.875 kB / 364.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.042e-06/0.3825, allocations: 0 / 364.6 MB, free: 10.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3825, allocations: 3.938 kB / 364.6 MB, free: 10.67 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005806/0.3831, allocations: 383.8 kB / 365 MB, free: 10.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3832, allocations: 14.25 kB / 365 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.539e-05/0.3832, allocations: 10.23 kB / 365 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002559/0.3835, allocations: 181.8 kB / 365.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3835, allocations: 5.531 kB / 365.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.3836, allocations: 1.688 kB / 365.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3838, allocations: 72.05 kB / 365.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3839, allocations: 3.938 kB / 365.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3839, allocations: 5.062 kB / 365.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3839, allocations: 1.312 kB / 365.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.3841, allocations: 36.52 kB / 365.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.3847, allocations: 291.2 kB / 365.6 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.3848, allocations: 44.11 kB / 365.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3849, allocations: 0 / 365.6 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.3849, allocations: 35.84 kB / 365.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.385, allocations: 0 / 365.7 MB, free: 9.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0009657/0.3859, allocations: 182.7 kB / 365.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.386, allocations: 78.61 kB / 365.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.3862, allocations: 119.9 kB / 366 MB, free: 9.254 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3862, allocations: 25.7 kB / 366.1 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.3863, allocations: 157.4 kB / 366.2 MB, free: 9.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.481e-05/0.3864, allocations: 25.14 kB / 366.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.3864, allocations: 1.312 kB / 366.2 MB, free: 9.047 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.3865, allocations: 312 kB / 366.5 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3867, allocations: 25.08 kB / 366.6 MB, free: 8.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.3869, allocations: 50.41 kB / 366.6 MB, free: 8.691 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3871, allocations: 57.91 kB / 366.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3871, allocations: 0 / 366.7 MB, free: 8.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004141/0.3875, allocations: 135.1 kB / 366.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.3876, allocations: 30.3 kB / 366.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3876, allocations: 1.406 kB / 366.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.3876, allocations: 3.953 kB / 366.8 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.3878, allocations: 16.48 kB / 366.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.3878, allocations: 1.094 kB / 366.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.3879, allocations: 13.67 kB / 366.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.388, allocations: 6.094 kB / 366.9 MB, free: 8.5 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 (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 0.0001215/0.3881, allocations: 113.9 kB / 367 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.3881, allocations: 7.125 kB / 367 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.3886, allocations: 115.3 kB / 367.1 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.3886, allocations: 5.5 kB / 367.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3886, allocations: 3.953 kB / 367.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3887, allocations: 1.125 kB / 367.1 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006952/0.3894, allocations: 364.5 kB / 367.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3894, allocations: 0 / 367.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.3895, allocations: 21.02 kB / 367.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3895, allocations: 1.188 kB / 367.5 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.3896, allocations: 17.2 kB / 367.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3896, allocations: 0 / 367.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.3896, allocations: 0 / 367.5 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.39, allocations: 197 kB / 367.7 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.3901, allocations: 83.53 kB / 367.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3902, allocations: 1.375 kB / 367.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.3903, allocations: 9.141 kB / 367.8 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3903, allocations: 10.36 kB / 367.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3904, allocations: 1.188 kB / 367.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.3905, allocations: 103.7 kB / 367.9 MB, free: 7.551 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3905, allocations: 4 kB / 367.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003466/0.3909, allocations: 24.19 kB / 367.9 MB, free: 7.539 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 (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.001034/0.3919, allocations: 354.5 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000436/0.3924, allocations: 128.2 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3924, allocations: 1.5 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.3925, allocations: 38.06 kB / 368.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.3928, allocations: 11.34 kB / 368.5 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.3934, allocations: 205.5 kB / 368.7 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.3938, allocations: 0.6941 MB / 369.3 MB, free: 6.305 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.3939, allocations: 17.19 kB / 369.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3939, allocations: 0 / 369.4 MB, free: 6.293 MB / 298.7 MB Notification: Performance of Templates: time 0.005517/0.3994, allocations: 1.617 MB / 371 MB, free: 5.383 MB / 298.7 MB make -j1 -f ModelicaTest_3.2.2_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.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.CombiTable1D.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.cpp:29: In file included from ./OMCppModelicaTest_3.2.2_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.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.CombiTable1D.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.2_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.2_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.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabCalcHelperMain.o] Error 1