Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 106.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 197.6 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 252.1 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.91 MB / 352.1 MB, free: 12.29 MB / 286.1 MB [Timeout remaining time 90] 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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 495.7 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3578, allocations: 64.25 MB / 0.5468 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00325/0.361, allocations: 1.578 MB / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009017/0.3619, allocations: 437.5 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.172e-05/0.362, allocations: 1.125 kB / 0.5487 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002373/0.3622, allocations: 20.8 kB / 0.5488 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3624, allocations: 33.53 kB / 0.5488 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.3627, allocations: 117.3 kB / 0.5489 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.3629, allocations: 60.17 kB / 0.549 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.363, allocations: 16.16 kB / 0.549 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.3631, allocations: 28.86 kB / 0.549 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.866e-05/0.3632, allocations: 27.86 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.3632, allocations: 2.812 kB / 0.549 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.3633, allocations: 50.97 kB / 0.5491 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.345e-05/0.3634, allocations: 12.02 kB / 0.5491 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.3634, allocations: 23.91 kB / 0.5491 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3637, allocations: 104.9 kB / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.3637, allocations: 0 / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3637, allocations: 0 / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3637, allocations: 0 / 0.5492 GB, free: 11.32 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005551/0.3642, allocations: 376.9 kB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.3643, allocations: 13.98 kB / 0.5496 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.3643, allocations: 11.7 kB / 0.5496 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.3646, allocations: 188.8 kB / 0.5498 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.3646, allocations: 384 / 0.5498 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.3646, allocations: 7.188 kB / 0.5498 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3648, allocations: 72.3 kB / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.3648, allocations: 0 / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3648, allocations: 0 / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3648, allocations: 5.203 kB / 0.5499 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.3649, allocations: 26.36 kB / 0.5499 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004903/0.3654, allocations: 290.1 kB / 0.5502 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3655, allocations: 56.39 kB / 0.5502 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.3656, allocations: 24.06 kB / 0.5502 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3656, allocations: 0 / 0.5502 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.3656, allocations: 31.91 kB / 0.5503 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.11e-07/0.3656, allocations: 0 / 0.5503 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.000612/0.3662, allocations: 184.1 kB / 0.5504 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.3663, allocations: 78.17 kB / 0.5505 GB, free: 9.996 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.3664, allocations: 133.8 kB / 0.5506 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3665, allocations: 25.7 kB / 0.5507 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.3665, allocations: 91.58 kB / 0.5508 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.3666, allocations: 30.7 kB / 0.5508 GB, free: 9.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.261e-05/0.3666, allocations: 24.31 kB / 0.5508 GB, free: 9.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3667, allocations: 324.3 kB / 0.5511 GB, free: 9.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.3668, allocations: 23.95 kB / 0.5511 GB, free: 9.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.866e-05/0.3669, allocations: 46.53 kB / 0.5512 GB, free: 9.344 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.3671, allocations: 71.12 kB / 0.5512 GB, free: 9.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3671, allocations: 5.031 kB / 0.5513 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002347/0.3673, allocations: 102.3 kB / 0.5514 GB, free: 9.238 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3673, allocations: 5.75 kB / 0.5514 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3673, allocations: 0 / 0.5514 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3674, allocations: 1.5 kB / 0.5514 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3675, allocations: 17.02 kB / 0.5514 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3675, allocations: 1.406 kB / 0.5514 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.59e-05/0.3675, allocations: 6.562 kB / 0.5514 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3675, allocations: 14.42 kB / 0.5514 GB, free: 9.219 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001017/0.3676, allocations: 118.3 kB / 0.5515 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.3677, allocations: 8.297 kB / 0.5515 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.3679, allocations: 118.8 kB / 0.5516 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3679, allocations: 1 kB / 0.5516 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3679, allocations: 1.219 kB / 0.5516 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3679, allocations: 0 / 0.5516 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.3685, allocations: 391.7 kB / 0.552 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3685, allocations: 1.594 kB / 0.552 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.3685, allocations: 16.08 kB / 0.552 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3685, allocations: 3.938 kB / 0.552 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3686, allocations: 9.469 kB / 0.552 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3686, allocations: 0 / 0.552 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.3686, allocations: 0 / 0.552 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.3688, allocations: 197.3 kB / 0.5522 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.3689, allocations: 87.84 kB / 0.5523 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3689, allocations: 3.938 kB / 0.5523 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.369, allocations: 8.078 kB / 0.5523 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.369, allocations: 6.625 kB / 0.5523 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.369, allocations: 1.562 kB / 0.5523 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.3691, allocations: 110.1 kB / 0.5524 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3691, allocations: 5.438 kB / 0.5524 GB, free: 8.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.3694, allocations: 28.12 kB / 0.5525 GB, free: 8.23 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001596/0.371, allocations: 460.7 kB / 0.5529 GB, free: 8.008 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.3712, allocations: 72.38 kB / 0.553 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3712, allocations: 0 / 0.553 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.703e-05/0.3713, allocations: 31.16 kB / 0.553 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.3717, allocations: 25.59 kB / 0.553 GB, free: 7.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.3721, allocations: 205.2 kB / 0.5532 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3724, allocations: 0.6988 MB / 0.5539 GB, free: 7.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.3725, allocations: 14.09 kB / 0.5539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3725, allocations: 0 / 0.5539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.003908/0.3764, allocations: 1.756 MB / 0.5556 GB, free: 6.137 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertabCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertabFunctions.cpp:291:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertabCalcHelperMain.o] Error 1