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.0008345/0.0008346, allocations: 91.56 kB / 18 MB, free: 5.734 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.000935/0.0009351, allocations: 178.2 kB / 18.91 MB, free: 4.871 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.315/1.315, allocations: 223.3 MB / 243 MB, free: 14.46 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.1867/0.1867, allocations: 44.26 MB / 338.3 MB, free: 2.41 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003001, allocations: 8.234 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09774, allocations: 61.93 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.001907/0.09968, allocations: 1.417 MB / 474.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.101, allocations: 0.8616 MB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.1011, allocations: 0 / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002485/0.1014, allocations: 35.83 kB / 475.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.1016, allocations: 43.83 kB / 475.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.1019, allocations: 95.81 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1021, allocations: 95.7 kB / 475.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.368e-05/0.1022, allocations: 12.22 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.1023, allocations: 43.7 kB / 475.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.1023, allocations: 27.86 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1024, allocations: 4 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.1025, allocations: 67.95 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.497e-05/0.1026, allocations: 19.92 kB / 475.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.828e-05/0.1026, allocations: 57.45 kB / 475.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1028, allocations: 96.02 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1028, allocations: 4 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1028, allocations: 0 / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1028, allocations: 0 / 475.8 MB, free: 10.39 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.000471/0.1033, allocations: 393.4 kB / 476.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1034, allocations: 16.02 kB / 476.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.1034, allocations: 8.844 kB / 476.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1036, allocations: 200.2 kB / 476.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1037, allocations: 4.359 kB / 476.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.1037, allocations: 12.12 kB / 476.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.1038, allocations: 71.33 kB / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.1039, allocations: 0 / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.1039, allocations: 0 / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1039, allocations: 0 / 476.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.104, allocations: 27.92 kB / 476.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.1043, allocations: 276.8 kB / 476.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1045, allocations: 70.55 kB / 476.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.1046, allocations: 28.97 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.1046, allocations: 0 / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.1048, allocations: 71.38 kB / 476.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1048, allocations: 4 kB / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005553/0.1053, allocations: 205.2 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.1054, allocations: 77.11 kB / 477.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1055, allocations: 159.4 kB / 477.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1056, allocations: 29.7 kB / 477.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.613e-05/0.1056, allocations: 96.12 kB / 477.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1057, allocations: 27.56 kB / 477.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.1057, allocations: 21.7 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1058, allocations: 326.8 kB / 477.9 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.137e-05/0.1059, allocations: 27.98 kB / 477.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.106, allocations: 57.69 kB / 478 MB, free: 7.992 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1061, allocations: 73.64 kB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1062, allocations: 4 kB / 478 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002224/0.1064, allocations: 121.5 kB / 478.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1064, allocations: 10.48 kB / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.1064, allocations: 0 / 478.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1064, allocations: 4 kB / 478.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1065, allocations: 23.88 kB / 478.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-06/0.1066, allocations: 0 / 478.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.1066, allocations: 11.98 kB / 478.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1066, allocations: 4 kB / 478.2 MB, free: 7.734 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.664e-05/0.1067, allocations: 122.4 kB / 478.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.1068, allocations: 15.94 kB / 478.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.154e-05/0.1068, allocations: 20.64 kB / 478.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1068, allocations: 3.938 kB / 478.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1068, allocations: 0 / 478.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1068, allocations: 3.984 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004888/0.1073, allocations: 419.2 kB / 478.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.1073, allocations: 8.016 kB / 478.8 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.466e-05/0.1074, allocations: 16 kB / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.1074, allocations: 0 / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1074, allocations: 0 / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1074, allocations: 0 / 478.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1074, allocations: 7.938 kB / 478.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1077, allocations: 220.1 kB / 479 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1077, allocations: 89.02 kB / 479.1 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.1078, allocations: 11.98 kB / 479.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1079, allocations: 4 kB / 479.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.285e-05/0.1079, allocations: 7.984 kB / 479.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1079, allocations: 0 / 479.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.108e-05/0.108, allocations: 120.9 kB / 479.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.108, allocations: 3.938 kB / 479.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.1083, allocations: 36 kB / 479.3 MB, free: 6.539 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.001129/0.1095, allocations: 0.5007 MB / 479.8 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.1097, allocations: 79.84 kB / 479.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1097, allocations: 0 / 479.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1098, allocations: 35.92 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1101, allocations: 32.11 kB / 479.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.1106, allocations: 256.2 kB / 480.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.1108, allocations: 0.7079 MB / 480.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.1109, allocations: 23.42 kB / 480.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1109, allocations: 0 / 480.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of Templates: time 0.004112/0.115, allocations: 2.186 MB / 483.1 MB, free: 2.863 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++14 -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