Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 120.4 kB / 17.09 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001995/0.001995, allocations: 193.2 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.201/0.201, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 69.47 kB / 442.5 MB, free: 5.578 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 57.79 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003459/0.1177, allocations: 1.697 MB / 0.4903 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1192, allocations: 0.8311 MB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1193, allocations: 7.938 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003014/0.1196, allocations: 39.77 kB / 0.4911 GB, free: 9.117 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002642/0.1199, allocations: 51.7 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002959/0.1202, allocations: 91.75 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.1204, allocations: 95.75 kB / 0.4914 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1206, allocations: 16.22 kB / 0.4914 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1207, allocations: 47.77 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.1208, allocations: 39.73 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.179e-05/0.1208, allocations: 4 kB / 0.4915 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.121, allocations: 63.95 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.299e-05/0.121, allocations: 15.92 kB / 0.4915 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.568e-05/0.1211, allocations: 35.78 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1214, allocations: 123.7 kB / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1214, allocations: 0 / 0.4917 GB, free: 8.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1214, allocations: 4 kB / 0.4917 GB, free: 8.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.1214, allocations: 0 / 0.4917 GB, free: 8.539 MB / 382.1 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.0005766/0.122, allocations: 422.3 kB / 0.4921 GB, free: 8.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.122, allocations: 11.89 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.02e-05/0.1221, allocations: 8.844 kB / 0.4921 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.1224, allocations: 200.2 kB / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1224, allocations: 384 / 0.4923 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1225, allocations: 12.03 kB / 0.4923 GB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.1227, allocations: 79.31 kB / 0.4924 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1227, allocations: 4 kB / 0.4924 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.1227, allocations: 7.984 kB / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1227, allocations: 0 / 0.4924 GB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.1228, allocations: 23.97 kB / 0.4924 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1232, allocations: 288.8 kB / 0.4927 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.1234, allocations: 66.48 kB / 0.4928 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.1235, allocations: 20.97 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1235, allocations: 4 kB / 0.4928 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001539/0.1237, allocations: 67.39 kB / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.1237, allocations: 0 / 0.4928 GB, free: 7.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006262/0.1243, allocations: 181.4 kB / 0.493 GB, free: 6.996 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.1244, allocations: 77.11 kB / 0.4931 GB, free: 6.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.1245, allocations: 157.8 kB / 0.4932 GB, free: 6.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1246, allocations: 25.7 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1246, allocations: 92.23 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1247, allocations: 35.48 kB / 0.4934 GB, free: 6.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.1247, allocations: 29.7 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1248, allocations: 322.8 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.1249, allocations: 31.92 kB / 0.4938 GB, free: 6.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.06e-05/0.125, allocations: 42.56 kB / 0.4938 GB, free: 6.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.1251, allocations: 61.7 kB / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1251, allocations: 0 / 0.4939 GB, free: 6.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002098/0.1253, allocations: 105.5 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1254, allocations: 4 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.1254, allocations: 4.062 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1254, allocations: 7.938 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.1255, allocations: 15.98 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1255, allocations: 0 / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.185e-05/0.1256, allocations: 7.938 kB / 0.494 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.1256, allocations: 4 kB / 0.494 GB, free: 5.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.1257, allocations: 125.2 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1257, allocations: 11.91 kB / 0.4941 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.126, allocations: 118.3 kB / 0.4942 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.126, allocations: 4 kB / 0.4942 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.126, allocations: 0 / 0.4942 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.126, allocations: 8.109 kB / 0.4943 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004749/0.1265, allocations: 395.2 kB / 0.4946 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1265, allocations: 7.922 kB / 0.4946 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.1266, allocations: 15.94 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1266, allocations: 0 / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1266, allocations: 7.969 kB / 0.4947 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.1266, allocations: 7.938 kB / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1266, allocations: 0 / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.1269, allocations: 208.2 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.653e-05/0.1269, allocations: 89 kB / 0.495 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.127, allocations: 7.938 kB / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.127, allocations: 0 / 0.495 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.1271, allocations: 15.98 kB / 0.495 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1271, allocations: 4 kB / 0.495 GB, free: 4.801 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.454e-05/0.1272, allocations: 118.7 kB / 0.4951 GB, free: 4.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1272, allocations: 0 / 0.4951 GB, free: 4.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002837/0.1275, allocations: 35.98 kB / 0.4951 GB, free: 4.652 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001196/0.1287, allocations: 0.4919 MB / 0.4956 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.1289, allocations: 71.89 kB / 0.4957 GB, free: 4.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1289, allocations: 4.062 kB / 0.4957 GB, free: 4.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.129, allocations: 31.92 kB / 0.4957 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1294, allocations: 31.84 kB / 0.4957 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.1298, allocations: 220.6 kB / 0.496 GB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1301, allocations: 0.7041 MB / 0.4966 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.1301, allocations: 15.44 kB / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1301, allocations: 0 / 0.4967 GB, free: 3.07 MB / 382.1 MB Notification: Performance of Templates: time 0.004155/0.1343, allocations: 2.176 MB / 0.4988 GB, free: 0.8984 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:323:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.2.3_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. make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1