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.001091/0.001091, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.0009943/0.0009943, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.358/1.358, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.239/0.239, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3442, allocations: 60.83 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002968/0.3472, allocations: 1.712 MB / 0.5213 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.3485, allocations: 0.8937 MB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.3486, allocations: 1.531 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.3489, allocations: 35.42 kB / 0.5222 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.3491, allocations: 49.11 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.3494, allocations: 110.6 kB / 0.5224 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.3496, allocations: 101.8 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.3497, allocations: 12.58 kB / 0.5225 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.796e-05/0.3498, allocations: 46.38 kB / 0.5225 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.3499, allocations: 38.95 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.3499, allocations: 4.156 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.35, allocations: 64.31 kB / 0.5226 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.3501, allocations: 20.81 kB / 0.5227 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.072e-05/0.3501, allocations: 33.98 kB / 0.5227 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.3504, allocations: 128 kB / 0.5228 GB, free: 1.512 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3504, allocations: 4.516 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3504, allocations: 1.062 kB / 0.5228 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.3504, allocations: 0 / 0.5228 GB, free: 1.508 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004983/0.3509, allocations: 413.3 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.351, allocations: 8.594 kB / 0.5232 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.351, allocations: 13.56 kB / 0.5232 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.3513, allocations: 205.4 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.3513, allocations: 6.656 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.3513, allocations: 11.16 kB / 0.5234 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3515, allocations: 70.53 kB / 0.5235 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3515, allocations: 0 / 0.5235 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.3515, allocations: 5.734 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3515, allocations: 1.438 kB / 0.5235 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.595e-05/0.3516, allocations: 21.47 kB / 0.5235 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.3519, allocations: 272.4 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3521, allocations: 75.09 kB / 0.5239 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.3522, allocations: 25.12 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.3522, allocations: 0.7969 kB / 0.5239 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.3524, allocations: 68.7 kB / 0.524 GB, free: 412 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3524, allocations: 4 kB / 0.524 GB, free: 408 kB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005667/0.3529, allocations: 207.7 kB / 0.5242 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.353, allocations: 83.17 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.3531, allocations: 158.6 kB / 0.5244 GB, free: 80 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3531, allocations: 31.14 kB / 0.5244 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.3532, allocations: 94.81 kB / 0.5245 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.3533, allocations: 30 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.3533, allocations: 28.52 kB / 0.5246 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3534, allocations: 325.8 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.3535, allocations: 27.23 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.329e-05/0.3536, allocations: 60.8 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3538, allocations: 76.42 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.3538, allocations: 1.125 kB / 0.525 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002343/0.354, allocations: 119.5 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3541, allocations: 6.281 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3541, allocations: 0 / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3541, allocations: 2.188 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.3542, allocations: 27.75 kB / 0.5252 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3542, allocations: 6.078 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.065e-05/0.3543, allocations: 6.094 kB / 0.5252 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3543, allocations: 4.594 kB / 0.5252 GB, free: 15.42 MB / 398.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 0.0001012/0.3544, allocations: 121.3 kB / 0.5253 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.3544, allocations: 18.75 kB / 0.5253 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.3545, allocations: 13.03 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.3545, allocations: 5.469 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3545, allocations: 0.6562 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3545, allocations: 0.7031 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.355, allocations: 427.3 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.355, allocations: 5.125 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.3551, allocations: 14.86 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3551, allocations: 1.406 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3551, allocations: 6.781 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.3551, allocations: 1.469 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3551, allocations: 1.5 kB / 0.5258 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3554, allocations: 221 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.3554, allocations: 85.27 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.731e-05/0.3555, allocations: 6.609 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.3556, allocations: 7.453 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.3556, allocations: 10.41 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.3556, allocations: 4.344 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.414e-05/0.3557, allocations: 119 kB / 0.5262 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3557, allocations: 0 / 0.5262 GB, free: 14.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002716/0.356, allocations: 36.44 kB / 0.5263 GB, free: 14.51 MB / 398.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.001103/0.3571, allocations: 0.4912 MB / 0.5267 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002177/0.3573, allocations: 86.34 kB / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3573, allocations: 0 / 0.5268 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.3574, allocations: 37.83 kB / 0.5269 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.3578, allocations: 26.2 kB / 0.5269 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.3582, allocations: 232.5 kB / 0.5271 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.3585, allocations: 0.705 MB / 0.5278 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.3586, allocations: 28.03 kB / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3586, allocations: 192 / 0.5278 GB, free: 13.32 MB / 398.1 MB Notification: Performance of Templates: time 0.004284/0.3629, allocations: 2.215 MB / 0.53 GB, free: 12.46 MB / 398.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