Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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",fileNamePrefix="ModelicaTest_4.0.0_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",fileNamePrefix="ModelicaTest_4.0.0_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.001681/0.001681, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001959/0.001959, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.18 MB / 337.3 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 65.17 kB / 409.1 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.136, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003129/0.1391, allocations: 1.699 MB / 471.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.1405, allocations: 0.9041 MB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.086e-05/0.1406, allocations: 8 kB / 472.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002738/0.1409, allocations: 35.77 kB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.1412, allocations: 47.77 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.1415, allocations: 114.6 kB / 472.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.1416, allocations: 99.69 kB / 472.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1417, allocations: 12.22 kB / 472.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.1418, allocations: 39.8 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.718e-05/0.1419, allocations: 43.78 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.1419, allocations: 4 kB / 472.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.1421, allocations: 67.91 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.1421, allocations: 19.91 kB / 473 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.1422, allocations: 27.81 kB / 473 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.1424, allocations: 131.9 kB / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1424, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1424, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1425, allocations: 0 / 473.2 MB, free: 11.11 MB / 350.1 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.0005667/0.143, allocations: 411.1 kB / 473.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.1431, allocations: 12.03 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.1431, allocations: 8.844 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1434, allocations: 208.1 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.1434, allocations: 8.375 kB / 473.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.1434, allocations: 4.125 kB / 473.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1436, allocations: 67.39 kB / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1436, allocations: 0 / 473.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1436, allocations: 11.92 kB / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1436, allocations: 0 / 473.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.1437, allocations: 16 kB / 473.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003558/0.1441, allocations: 272.9 kB / 474.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.1443, allocations: 74.55 kB / 474.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/0.1443, allocations: 28.97 kB / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1444, allocations: 0 / 474.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.1446, allocations: 67.39 kB / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.1446, allocations: 0 / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005793/0.1452, allocations: 209.1 kB / 474.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1452, allocations: 81.11 kB / 474.6 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1454, allocations: 161.7 kB / 474.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1454, allocations: 33.7 kB / 474.8 MB, free: 9.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.1455, allocations: 88.14 kB / 474.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/0.1455, allocations: 35.55 kB / 474.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.1456, allocations: 29.72 kB / 475 MB, free: 9.094 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1457, allocations: 326.8 kB / 475.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.958e-05/0.1458, allocations: 23.98 kB / 475.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-05/0.1459, allocations: 58.55 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.146, allocations: 81.58 kB / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.146, allocations: 0 / 475.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002097/0.1463, allocations: 121.5 kB / 475.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1463, allocations: 4 kB / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1463, allocations: 96 / 475.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1463, allocations: 3.938 kB / 475.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.947e-05/0.1464, allocations: 27.92 kB / 475.6 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.1464, allocations: 8 kB / 475.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.978e-05/0.1465, allocations: 12 kB / 475.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1465, allocations: 0 / 475.6 MB, free: 8.41 MB / 350.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 (13): * Single equations (assignments): 13 * 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.266e-05/0.1466, allocations: 121.8 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.1466, allocations: 11.81 kB / 475.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1467, allocations: 16.72 kB / 475.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1467, allocations: 7.938 kB / 475.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1467, allocations: 3.984 kB / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1467, allocations: 0 / 475.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1472, allocations: 419.2 kB / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1472, allocations: 0 / 476.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.1473, allocations: 19.92 kB / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1473, allocations: 0 / 476.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1473, allocations: 8 kB / 476.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1473, allocations: 0 / 476.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1473, allocations: 4.031 kB / 476.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1476, allocations: 216.2 kB / 476.4 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1476, allocations: 92.91 kB / 476.5 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1476, allocations: 4 kB / 476.5 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1477, allocations: 4 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1478, allocations: 7.984 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-05/0.1478, allocations: 15.94 kB / 476.5 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.792e-05/0.1479, allocations: 116.9 kB / 476.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1479, allocations: 0 / 476.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1482, allocations: 32 kB / 476.7 MB, free: 7.223 MB / 350.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 (10): * Single equations (assignments): 8 * 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.001127/0.1493, allocations: 0.4974 MB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1496, allocations: 87.78 kB / 477.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.1496, allocations: 8 kB / 477.3 MB, free: 6.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.217e-05/0.1497, allocations: 39.92 kB / 477.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.15, allocations: 29.83 kB / 477.3 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.1505, allocations: 237 kB / 477.6 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1508, allocations: 0.7038 MB / 478.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.914e-05/0.1508, allocations: 23.44 kB / 478.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1508, allocations: 0 / 478.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of Templates: time 0.003942/0.1548, allocations: 2.2 MB / 480.5 MB, free: 3.555 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_4.0.0_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 4.0.0+maint.om/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 4.0.0+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 4.0.0+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 4.0.0+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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:335:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1