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.001125/0.001125, allocations: 114.5 kB / 17.08 MB, free: 6.008 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.001025/0.001025, allocations: 198.3 kB / 18.01 MB, free: 5.086 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.367/1.367, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.1997/0.1997, allocations: 43.52 MB / 314.8 MB, free: 472 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.001408/0.001408, allocations: 71.89 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1276, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003425/0.1311, allocations: 1.709 MB / 0.4903 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1326, allocations: 0.8233 MB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.007e-05/0.1327, allocations: 4 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1331, allocations: 43.77 kB / 0.4911 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002257/0.1333, allocations: 51.7 kB / 0.4912 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.1336, allocations: 91.69 kB / 0.4913 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.1338, allocations: 91.77 kB / 0.4914 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1339, allocations: 24.19 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.759e-05/0.134, allocations: 39.8 kB / 0.4914 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.159e-05/0.1341, allocations: 39.77 kB / 0.4915 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.1341, allocations: 8 kB / 0.4915 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.1343, allocations: 59.97 kB / 0.4915 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.315e-05/0.1343, allocations: 8 kB / 0.4915 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.853e-05/0.1344, allocations: 39.72 kB / 0.4916 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1346, allocations: 127.7 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1346, allocations: 0 / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1347, allocations: 4 kB / 0.4917 GB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1347, allocations: 0 / 0.4917 GB, free: 8.582 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.0006031/0.1353, allocations: 411 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1353, allocations: 15.88 kB / 0.4921 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1354, allocations: 8.844 kB / 0.4921 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.1357, allocations: 207.7 kB / 0.4923 GB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.1357, allocations: 4.312 kB / 0.4923 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.1358, allocations: 12.03 kB / 0.4923 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.136, allocations: 75.39 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.136, allocations: 0 / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.136, allocations: 0 / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.136, allocations: 4 kB / 0.4924 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.1361, allocations: 27.95 kB / 0.4924 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003886/0.1365, allocations: 292.8 kB / 0.4927 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.1367, allocations: 62.48 kB / 0.4928 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.952e-05/0.1368, allocations: 20.98 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1368, allocations: 7.984 kB / 0.4928 GB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.137, allocations: 63.39 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.137, allocations: 0 / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005609/0.1376, allocations: 189.3 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.1376, allocations: 81.11 kB / 0.4931 GB, free: 6.938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.1378, allocations: 149.8 kB / 0.4932 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1378, allocations: 25.8 kB / 0.4933 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/0.1379, allocations: 100 kB / 0.4934 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1379, allocations: 35.55 kB / 0.4934 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/0.138, allocations: 21.72 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1381, allocations: 326.8 kB / 0.4937 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.1382, allocations: 27.98 kB / 0.4938 GB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.1382, allocations: 42.56 kB / 0.4938 GB, free: 6.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1384, allocations: 61.64 kB / 0.4939 GB, free: 6.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1384, allocations: 4 kB / 0.4939 GB, free: 6.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001973/0.1386, allocations: 105.5 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1386, allocations: 4 kB / 0.494 GB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1386, allocations: 4.062 kB / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1386, allocations: 0 / 0.494 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.1388, allocations: 16 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1388, allocations: 0 / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.075e-05/0.1388, allocations: 11.92 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.1389, allocations: 8 kB / 0.494 GB, free: 5.957 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.735e-05/0.139, allocations: 121.7 kB / 0.4941 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.139, allocations: 7.906 kB / 0.4941 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.1392, allocations: 122.3 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1393, allocations: 0 / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1393, allocations: 192 / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1393, allocations: 3.938 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.1397, allocations: 407.2 kB / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1398, allocations: 0 / 0.4946 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.218e-05/0.1398, allocations: 11.98 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1398, allocations: 4 kB / 0.4947 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.1398, allocations: 7.938 kB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1398, allocations: 4.031 kB / 0.4947 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1398, allocations: 4 kB / 0.4947 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1401, allocations: 204.2 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.565e-05/0.1402, allocations: 89 kB / 0.4949 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.315e-05/0.1402, allocations: 3.938 kB / 0.495 GB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1403, allocations: 8 kB / 0.495 GB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.1403, allocations: 11.98 kB / 0.495 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1403, allocations: 4 kB / 0.495 GB, free: 4.848 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.1404, allocations: 118.7 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1404, allocations: 0 / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1407, allocations: 32 kB / 0.4951 GB, free: 4.703 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.001232/0.142, allocations: 0.5056 MB / 0.4956 GB, free: 4.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.1422, allocations: 67.91 kB / 0.4957 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1422, allocations: 4.062 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1423, allocations: 28 kB / 0.4957 GB, free: 4.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.1427, allocations: 39.11 kB / 0.4957 GB, free: 4.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005073/0.1432, allocations: 228.5 kB / 0.496 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1435, allocations: 0.6924 MB / 0.4966 GB, free: 3.129 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.1436, allocations: 31.42 kB / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1436, allocations: 0 / 0.4967 GB, free: 3.098 MB / 382.1 MB Notification: Performance of Templates: time 0.004717/0.1483, allocations: 2.15 MB / 0.4988 GB, free: 0.9492 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