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.32/2.32, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.5e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3225, allocations: 54.85 MB / 359.8 MB, free: 2.668 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1565/0.479, allocations: 81.01 MB / 440.8 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.4793, allocations: 68.75 kB / 440.8 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.4914, allocations: 2.946 MB / 443.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.148e-06/0.4915, allocations: 0 / 443.8 MB, free: 13.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.4915, allocations: 4 kB / 443.8 MB, free: 13 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004931/0.492, allocations: 388.1 kB / 444.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4921, allocations: 8.031 kB / 444.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.4921, allocations: 15.86 kB / 444.2 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.4924, allocations: 192.9 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.4924, allocations: 4 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4925, allocations: 3.938 kB / 444.4 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.4926, allocations: 67.39 kB / 444.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4927, allocations: 0 / 444.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4927, allocations: 4 kB / 444.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-06/0.4927, allocations: 3.953 kB / 444.5 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.795e-05/0.4928, allocations: 27.98 kB / 444.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/0.4933, allocations: 288.9 kB / 444.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.4935, allocations: 59.34 kB / 444.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.4935, allocations: 16.98 kB / 444.8 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.119e-05/0.4936, allocations: 7.984 kB / 444.9 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4936, allocations: 38.52 kB / 444.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.263e-06/0.4936, allocations: 3.938 kB / 444.9 MB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005435/0.4942, allocations: 132 kB / 445 MB, free: 11.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.4943, allocations: 77.11 kB / 445.1 MB, free: 11.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.4944, allocations: 121 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.4945, allocations: 25.7 kB / 445.2 MB, free: 11.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/0.4946, allocations: 159.1 kB / 445.4 MB, free: 11.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.4946, allocations: 19.72 kB / 445.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.4946, allocations: 4 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4948, allocations: 314.8 kB / 445.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.4949, allocations: 20 kB / 445.7 MB, free: 10.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.495, allocations: 34.89 kB / 445.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.4951, allocations: 42.72 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.87e-06/0.4951, allocations: 4 kB / 445.8 MB, free: 10.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002308/0.4953, allocations: 115.6 kB / 445.9 MB, free: 10.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.4954, allocations: 45.67 kB / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.188e-06/0.4954, allocations: 0 / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4954, allocations: 0 / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4956, allocations: 16 kB / 446 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.161e-06/0.4956, allocations: 3.984 kB / 446 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.471e-05/0.4957, allocations: 4 kB / 446 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.4957, allocations: 8 kB / 446 MB, free: 10.53 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 (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 8.946e-05/0.4958, allocations: 105 kB / 446.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.4959, allocations: 9.406 kB / 446.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.4961, allocations: 110 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.27e-06/0.4962, allocations: 4 kB / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.4962, allocations: 0 / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-06/0.4962, allocations: 0 / 446.2 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.4967, allocations: 342.6 kB / 446.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.074e-06/0.4968, allocations: 4 kB / 446.6 MB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.4969, allocations: 23.94 kB / 446.6 MB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.629e-06/0.4969, allocations: 3.938 kB / 446.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.4969, allocations: 7.938 kB / 446.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.399e-06/0.4969, allocations: 0 / 446.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.4969, allocations: 0 / 446.6 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.4972, allocations: 168.4 kB / 446.8 MB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.4973, allocations: 85 kB / 446.9 MB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.4973, allocations: 7.953 kB / 446.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4974, allocations: 12 kB / 446.9 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4975, allocations: 8.922 kB / 446.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4975, allocations: 0 / 446.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001046/0.4976, allocations: 104.8 kB / 447 MB, free: 9.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4976, allocations: 0 / 447 MB, free: 9.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.498, allocations: 27.98 kB / 447 MB, free: 9.43 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 (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.00126/0.4993, allocations: 374 kB / 447.4 MB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.4996, allocations: 111.4 kB / 447.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4996, allocations: 0 / 447.5 MB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.4997, allocations: 23.94 kB / 447.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.4999, allocations: 8 kB / 447.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.5003, allocations: 139.8 kB / 447.7 MB, free: 8.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.5007, allocations: 0.6917 MB / 448.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/0.5008, allocations: 23.42 kB / 448.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.651e-06/0.5008, allocations: 4 kB / 448.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of Templates: time 0.004351/0.5052, allocations: 1.651 MB / 450 MB, free: 6.418 MB / 378.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 -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.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:28: 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:28: ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.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.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