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.00122/0.00122, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001194/0.001194, allocations: 194 kB / 18.77 MB, free: 4.742 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.333/1.333, allocations: 222.9 MB / 242.4 MB, free: 15.51 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.2077/0.2077, allocations: 44.17 MB / 336.8 MB, free: 3.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 73.28 kB / 408.4 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1189, allocations: 60.82 MB / 469.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003142/0.1221, allocations: 1.761 MB / 470.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.1235, allocations: 0.8887 MB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.1236, allocations: 4 kB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1239, allocations: 35.89 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1241, allocations: 35.84 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000296/0.1244, allocations: 99.77 kB / 472 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1246, allocations: 95.69 kB / 472.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.1247, allocations: 12.22 kB / 472.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.561e-05/0.1248, allocations: 35.8 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.921e-05/0.1249, allocations: 39.78 kB / 472.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.1249, allocations: 11.98 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.125, allocations: 63.97 kB / 472.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.1251, allocations: 11.94 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.1251, allocations: 31.78 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.1253, allocations: 96.03 kB / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1254, allocations: 0 / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1254, allocations: 0 / 472.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1254, allocations: 0 / 472.4 MB, free: 11.64 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.0005575/0.1259, allocations: 407.2 kB / 472.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.126, allocations: 12.03 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.656e-05/0.126, allocations: 8.844 kB / 472.8 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1263, allocations: 206.7 kB / 473 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.1263, allocations: 4.375 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.1264, allocations: 4.125 kB / 473 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.1265, allocations: 67.39 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1266, allocations: 3.984 kB / 473.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.1266, allocations: 4 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1266, allocations: 7.938 kB / 473.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.918e-05/0.1267, allocations: 23.92 kB / 473.1 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1271, allocations: 272.9 kB / 473.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002034/0.1273, allocations: 62.61 kB / 473.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.833e-05/0.1274, allocations: 28.97 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.1274, allocations: 7.938 kB / 473.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1276, allocations: 79.31 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.1276, allocations: 0 / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000607/0.1282, allocations: 201.1 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1283, allocations: 77.11 kB / 473.8 MB, free: 10 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.1285, allocations: 161.7 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1285, allocations: 33.7 kB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.1285, allocations: 88.14 kB / 474.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.1286, allocations: 35.55 kB / 474.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.1286, allocations: 29.7 kB / 474.2 MB, free: 9.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1287, allocations: 318.8 kB / 474.5 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.1288, allocations: 31.98 kB / 474.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.575e-05/0.1289, allocations: 57.11 kB / 474.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1291, allocations: 81.67 kB / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1291, allocations: 0 / 474.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002269/0.1293, allocations: 125.5 kB / 474.8 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.1294, allocations: 4 kB / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1294, allocations: 0 / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1294, allocations: 0 / 474.8 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1295, allocations: 31.92 kB / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1295, allocations: 0 / 474.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.654e-05/0.1296, allocations: 8.031 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1296, allocations: 3.984 kB / 474.8 MB, free: 8.957 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 0.0001134/0.1297, allocations: 126.3 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.1298, allocations: 11.81 kB / 475 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/0.1298, allocations: 20.69 kB / 475 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1298, allocations: 7.938 kB / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1298, allocations: 0 / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1298, allocations: 0 / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005179/0.1304, allocations: 423.2 kB / 475.4 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.1304, allocations: 4 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.1304, allocations: 11.98 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1304, allocations: 0 / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1305, allocations: 4.188 kB / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1305, allocations: 0 / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1305, allocations: 3.938 kB / 475.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.1307, allocations: 224.2 kB / 475.7 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.1308, allocations: 88.92 kB / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1308, allocations: 0 / 475.7 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.1309, allocations: 8 kB / 475.7 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.131, allocations: 7.984 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.655e-05/0.131, allocations: 4 kB / 475.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.61e-05/0.1311, allocations: 124.5 kB / 475.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1311, allocations: 0 / 475.9 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1314, allocations: 39.98 kB / 475.9 MB, free: 7.762 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.001197/0.1326, allocations: 0.4962 MB / 476.4 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1329, allocations: 79.84 kB / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.1329, allocations: 0 / 476.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.308e-05/0.133, allocations: 51.91 kB / 476.5 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1333, allocations: 30.02 kB / 476.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004831/0.1338, allocations: 242.7 kB / 476.8 MB, free: 7.027 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1341, allocations: 0.712 MB / 477.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.1342, allocations: 19.44 kB / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1342, allocations: 0 / 477.5 MB, free: 6.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004287/0.1385, allocations: 2.2 MB / 479.7 MB, free: 4.078 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