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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.795e-05, allocations: 0 / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4015, allocations: 48.69 MB / 324.8 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002288/0.4038, allocations: 1.223 MB / 326.1 MB, free: 2.391 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.4045, allocations: 254.5 kB / 326.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.4046, allocations: 4.938 kB / 326.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.4048, allocations: 10.55 kB / 326.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.4049, allocations: 22.33 kB / 326.4 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.4051, allocations: 23.52 kB / 326.4 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.4053, allocations: 33.89 kB / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.753e-05/0.4054, allocations: 4.875 kB / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.4054, allocations: 20.84 kB / 326.4 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.4055, allocations: 16.84 kB / 326.4 MB, free: 2.207 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.4057, allocations: 38.73 kB / 326.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4057, allocations: 3.625 kB / 326.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.927e-05/0.4058, allocations: 13.02 kB / 326.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.699e-05/0.4058, allocations: 2.781 kB / 326.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.406, allocations: 69.08 kB / 326.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.406, allocations: 3.938 kB / 326.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4061, allocations: 0 / 326.6 MB, free: 2.172 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.4061, allocations: 1 kB / 326.6 MB, free: 2.172 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004619/0.4065, allocations: 387.9 kB / 327 MB, free: 1.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4066, allocations: 9.094 kB / 327 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.4067, allocations: 12.11 kB / 327 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.4069, allocations: 180 kB / 327.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4069, allocations: 1.094 kB / 327.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.4069, allocations: 8.172 kB / 327.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4072, allocations: 78.38 kB / 327.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4072, allocations: 0 / 327.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4072, allocations: 1.25 kB / 327.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.4073, allocations: 1.25 kB / 327.2 MB, free: 1.492 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.4075, allocations: 48.34 kB / 327.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.4079, allocations: 291.3 kB / 327.6 MB, free: 1.191 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.4081, allocations: 63.45 kB / 327.6 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.4082, allocations: 5.406 kB / 327.6 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.4082, allocations: 32.83 kB / 327.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 2.504e-06/0.4082, allocations: 0 / 327.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009552/0.4092, allocations: 205 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.621e-05/0.4093, allocations: 78.3 kB / 327.9 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4094, allocations: 125.5 kB / 328.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4095, allocations: 26.95 kB / 328.1 MB, free: 0.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.4095, allocations: 161.1 kB / 328.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4096, allocations: 24.2 kB / 328.3 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.4096, allocations: 4 kB / 328.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.4097, allocations: 316.7 kB / 328.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4098, allocations: 33.03 kB / 328.6 MB, free: 296 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.41, allocations: 44.59 kB / 328.7 MB, free: 272 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.4102, allocations: 62.53 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4102, allocations: 1.5 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00041/0.4106, allocations: 135.8 kB / 328.9 MB, free: 144 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.4107, allocations: 33.64 kB / 328.9 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.4107, allocations: 4.656 kB / 328.9 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4107, allocations: 4 kB / 328.9 MB, free: 108 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.4109, allocations: 21.94 kB / 328.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4109, allocations: 0 / 328.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/0.411, allocations: 7.719 kB / 328.9 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.4111, allocations: 3.828 kB / 328.9 MB, free: 104 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 (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.0001254/0.4112, allocations: 118.5 kB / 329.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.4112, allocations: 8.406 kB / 329.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.4117, allocations: 125.5 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4118, allocations: 1.922 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4118, allocations: 0 / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4118, allocations: 0.6562 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007395/0.4125, allocations: 383.1 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4126, allocations: 1.984 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.4127, allocations: 16.73 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4127, allocations: 5.062 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.4128, allocations: 1.625 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4128, allocations: 3.938 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4128, allocations: 5.219 kB / 329.6 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.4132, allocations: 199.4 kB / 329.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-05/0.4133, allocations: 89.64 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.4134, allocations: 1.766 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4135, allocations: 11.52 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.4136, allocations: 5.141 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.4136, allocations: 6.219 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000116/0.4137, allocations: 101.8 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4137, allocations: 0 / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.4141, allocations: 32.22 kB / 330 MB, free: 15.21 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 (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.0008986/0.415, allocations: 321.8 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004866/0.4155, allocations: 122.7 kB / 330.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4155, allocations: 1.25 kB / 330.5 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001733/0.4157, allocations: 42.81 kB / 330.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.416, allocations: 17.36 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.4166, allocations: 213.4 kB / 330.7 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.4169, allocations: 0.6913 MB / 331.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.117e-05/0.417, allocations: 20.72 kB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of SimCode: time 8.81e-07/0.417, allocations: 0 / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.005683/0.4227, allocations: 1.664 MB / 333.1 MB, free: 13.84 MB / 282.7 MB make -j1 -f ModelicaTest_3.2.1_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: In file included from ./OMCppModelicaTest_3.2.1_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.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.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:29: ./OMCppModelicaTest_3.2.1_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.1_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.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1