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.172/2.172, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.198e-05, allocations: 8 kB / 304.9 MB, free: 5.652 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3609, allocations: 54.85 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1242/0.4851, allocations: 81.01 MB / 440.8 MB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4854, allocations: 64.64 kB / 440.8 MB, free: 15.94 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.4966, allocations: 2.778 MB / 443.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4966, allocations: 0 / 443.6 MB, free: 13.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4966, allocations: 0 / 443.6 MB, free: 13.19 MB / 378.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.0004658/0.4971, allocations: 392 kB / 444 MB, free: 12.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.4972, allocations: 11.97 kB / 444 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.4972, allocations: 16.8 kB / 444 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.4975, allocations: 190.9 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.4975, allocations: 8 kB / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.4976, allocations: 0 / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.4977, allocations: 63.34 kB / 444.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.4978, allocations: 0.8438 kB / 444.3 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.4978, allocations: 4 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-06/0.4978, allocations: 3.953 kB / 444.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.4979, allocations: 19.98 kB / 444.3 MB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.4984, allocations: 284.3 kB / 444.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.291e-05/0.4985, allocations: 34.56 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.289e-05/0.4986, allocations: 16.86 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.4986, allocations: 3.938 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.4986, allocations: 42.52 kB / 444.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 2.275e-06/0.4987, allocations: 0.5625 kB / 444.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005061/0.4992, allocations: 109.6 kB / 444.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4992, allocations: 81.11 kB / 444.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.4994, allocations: 119.4 kB / 445 MB, free: 11.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.4994, allocations: 29.7 kB / 445 MB, free: 11.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.4995, allocations: 154.6 kB / 445.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.4996, allocations: 24.73 kB / 445.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-06/0.4996, allocations: 0 / 445.2 MB, free: 11.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4998, allocations: 318.8 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.165e-05/0.4998, allocations: 12 kB / 445.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.4999, allocations: 33.7 kB / 445.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.5, allocations: 49.67 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-06/0.5, allocations: 3.938 kB / 445.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002156/0.5003, allocations: 99.39 kB / 445.7 MB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.5003, allocations: 37.69 kB / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.355e-06/0.5003, allocations: 0 / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5004, allocations: 0 / 445.7 MB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5005, allocations: 25.42 kB / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.5005, allocations: 0 / 445.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.5006, allocations: 12.12 kB / 445.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.5006, allocations: 4 kB / 445.8 MB, free: 10.79 MB / 378.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.844e-05/0.5007, allocations: 105 kB / 445.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.5008, allocations: 11.89 kB / 445.9 MB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.501, allocations: 90.89 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-06/0.5011, allocations: 0 / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.052e-06/0.5011, allocations: 0 / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.5011, allocations: 4 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005024/0.5016, allocations: 342.4 kB / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-06/0.5016, allocations: 0 / 446.3 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.5017, allocations: 27.94 kB / 446.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.756e-06/0.5018, allocations: 0 / 446.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.5018, allocations: 4.875 kB / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.461e-06/0.5018, allocations: 0 / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-06/0.5018, allocations: 0.9375 kB / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.502, allocations: 166 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.491e-05/0.5021, allocations: 89 kB / 446.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.909e-05/0.5022, allocations: 7.953 kB / 446.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.5023, allocations: 8 kB / 446.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.5023, allocations: 7.984 kB / 446.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.5024, allocations: 0 / 446.6 MB, free: 9.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.5025, allocations: 99.92 kB / 446.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.13e-07/0.5025, allocations: 0 / 446.7 MB, free: 9.742 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00037/0.5029, allocations: 31.94 kB / 446.7 MB, free: 9.711 MB / 378.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.001215/0.5041, allocations: 374.3 kB / 447.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002095/0.5043, allocations: 103.3 kB / 447.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.5043, allocations: 0 / 447.2 MB, free: 9.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.5044, allocations: 24 kB / 447.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002196/0.5046, allocations: 7.984 kB / 447.2 MB, free: 9.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.505, allocations: 132 kB / 447.4 MB, free: 9.109 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5054, allocations: 0.6926 MB / 448.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.931e-05/0.5055, allocations: 19.42 kB / 448.1 MB, free: 8.371 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.5055, allocations: 4 kB / 448.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of Templates: time 0.004051/0.5096, allocations: 1.584 MB / 449.7 MB, free: 6.781 MB / 378.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 -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.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:28: 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:28: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.Test25_usertabFunctions.cpp:276: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