Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.723e-05, allocations: 8 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08767, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4321, allocations: 75.89 MB / 397.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4324, allocations: 68.22 kB / 397.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01535/0.4478, allocations: 3.863 MB / 401.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4478, allocations: 0 / 401.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4478, allocations: 3.844 kB / 401.6 MB, free: 6.176 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003889/0.4482, allocations: 409.3 kB / 402 MB, free: 5.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4483, allocations: 11.53 kB / 402 MB, free: 5.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.4483, allocations: 7.688 kB / 402 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.4486, allocations: 197 kB / 402.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.4486, allocations: 3.875 kB / 402.2 MB, free: 5.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.4486, allocations: 7.781 kB / 402.2 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4488, allocations: 62.19 kB / 402.3 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4488, allocations: 3.984 kB / 402.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.4488, allocations: 0 / 402.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-06/0.4488, allocations: 3.844 kB / 402.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.315e-05/0.4489, allocations: 14.78 kB / 402.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003437/0.4493, allocations: 292.7 kB / 402.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.703e-05/0.4493, allocations: 36.52 kB / 402.6 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.903e-05/0.4494, allocations: 19.94 kB / 402.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4494, allocations: 0 / 402.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.4496, allocations: 65.3 kB / 402.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.263e-06/0.4496, allocations: 0 / 402.7 MB, free: 5.078 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004137/0.45, allocations: 111.6 kB / 402.8 MB, free: 5.023 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4501, allocations: 85.05 kB / 402.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.4502, allocations: 132.5 kB / 403 MB, free: 4.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.4502, allocations: 33.36 kB / 403 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.072e-05/0.4503, allocations: 157.2 kB / 403.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.4503, allocations: 18.84 kB / 403.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-06/0.4503, allocations: 3.625 kB / 403.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.4504, allocations: 314.7 kB / 403.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.837e-05/0.4505, allocations: 17.66 kB / 403.5 MB, free: 4.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.61e-05/0.4505, allocations: 43.92 kB / 403.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.508e-05/0.4506, allocations: 55.75 kB / 403.6 MB, free: 4.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4506, allocations: 3.938 kB / 403.6 MB, free: 4.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.4508, allocations: 120.9 kB / 403.8 MB, free: 4.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/0.4509, allocations: 40.81 kB / 403.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.545e-06/0.4509, allocations: 0 / 403.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.4509, allocations: 0 / 403.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.451, allocations: 7.688 kB / 403.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.656e-06/0.451, allocations: 0 / 403.8 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.54e-05/0.4511, allocations: 7.875 kB / 403.8 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.4511, allocations: 11.78 kB / 403.8 MB, free: 4.125 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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * 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 6.046e-05/0.4512, allocations: 108.6 kB / 403.9 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4513, allocations: 7.75 kB / 403.9 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.4515, allocations: 94.55 kB / 404 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.842e-06/0.4515, allocations: 0 / 404 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-06/0.4515, allocations: 0 / 404 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-06/0.4515, allocations: 8.047 kB / 404 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003482/0.4519, allocations: 354.9 kB / 404.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-06/0.4519, allocations: 0 / 404.4 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.185e-05/0.452, allocations: 11.44 kB / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.722e-06/0.452, allocations: 0 / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.452, allocations: 7.031 kB / 404.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.614e-06/0.452, allocations: 3.984 kB / 404.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.452, allocations: 0 / 404.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.4523, allocations: 179.4 kB / 404.6 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7e-05/0.4524, allocations: 92.28 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.4525, allocations: 256 / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.934e-05/0.4526, allocations: 7.844 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.4526, allocations: 7.859 kB / 404.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.4527, allocations: 3.188 kB / 404.7 MB, free: 19.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001098/0.4528, allocations: 114.8 kB / 404.8 MB, free: 19.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.4528, allocations: 0 / 404.8 MB, free: 19.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004017/0.4532, allocations: 49.19 kB / 404.9 MB, free: 19.27 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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001297/0.4545, allocations: 437 kB / 405.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.4548, allocations: 113.4 kB / 405.4 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.117e-06/0.4548, allocations: 0 / 405.4 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.4549, allocations: 23.34 kB / 405.4 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.4552, allocations: 18.67 kB / 405.4 MB, free: 18.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.4555, allocations: 136.5 kB / 405.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4559, allocations: 0.6959 MB / 406.3 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.456, allocations: 15.28 kB / 406.3 MB, free: 18.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.761e-06/0.456, allocations: 0 / 406.3 MB, free: 18.06 MB / 330.7 MB Notification: Performance of Templates: time 0.00413/0.4601, allocations: 2.016 MB / 408.3 MB, free: 17.03 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:364:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_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.CombiTimeTable.Test66_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1