Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 196.6 kB / 16.1 MB, free: 5.488 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.6 MB / 243.4 MB, free: 13.95 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007928/0.0007928, allocations: 102.6 kB / 295.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1812/0.1812, allocations: 44.83 MB / 392.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.000326, allocations: 12 kB / 465.3 MB, free: 49.42 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 62.96 MB / 0.5159 GB, free: 2.426 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002137/0.1259, allocations: 1.428 MB / 0.5173 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1275, allocations: 0.9597 MB / 0.5182 GB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.56e-05/0.1276, allocations: 4 kB / 0.5182 GB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.2553/0.3829, allocations: 32.23 kB / 0.5183 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004437/0.3834, allocations: 71.38 kB / 0.5183 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004958/0.3839, allocations: 94.27 kB / 0.5184 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3841, allocations: 95.41 kB / 0.5185 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3843, allocations: 12 kB / 0.5185 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.3844, allocations: 44.02 kB / 0.5186 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.607e-05/0.3845, allocations: 40.7 kB / 0.5186 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.3845, allocations: 2.906 kB / 0.5186 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.3848, allocations: 92.62 kB / 0.5187 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.7e-05/0.3848, allocations: 21.05 kB / 0.5187 GB, free: 10.06 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.3849, allocations: 54.89 kB / 0.5188 GB, free: 10.03 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.3852, allocations: 131.6 kB / 0.5189 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3852, allocations: 1.406 kB / 0.5189 GB, free: 10.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3852, allocations: 0.5156 kB / 0.5189 GB, free: 10.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.768e-06/0.3852, allocations: 4.562 kB / 0.5189 GB, free: 10.01 MB / 346.7 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.00056/0.3858, allocations: 412.4 kB / 0.5193 GB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3859, allocations: 13.16 kB / 0.5193 GB, free: 9.609 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.3859, allocations: 10.19 kB / 0.5193 GB, free: 9.605 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3862, allocations: 211.6 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3862, allocations: 3.422 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3862, allocations: 3.562 kB / 0.5195 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002127/0.3864, allocations: 80.31 kB / 0.5196 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3865, allocations: 0 / 0.5196 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3865, allocations: 1.906 kB / 0.5196 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3865, allocations: 3.594 kB / 0.5196 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.3866, allocations: 18.73 kB / 0.5196 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.3869, allocations: 278.6 kB / 0.5199 GB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3871, allocations: 72.42 kB / 0.52 GB, free: 9.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.3872, allocations: 30.08 kB / 0.52 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3872, allocations: 2.203 kB / 0.52 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.3874, allocations: 69.83 kB / 0.5201 GB, free: 8.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3875, allocations: 0 / 0.5201 GB, free: 8.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006707/0.3881, allocations: 202.9 kB / 0.5202 GB, free: 8.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3882, allocations: 83.91 kB / 0.5203 GB, free: 8.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3884, allocations: 169.8 kB / 0.5205 GB, free: 8.734 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.3884, allocations: 26.86 kB / 0.5205 GB, free: 8.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.3885, allocations: 96.61 kB / 0.5206 GB, free: 8.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.3885, allocations: 35.75 kB / 0.5206 GB, free: 8.602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.3885, allocations: 1.062 kB / 0.5206 GB, free: 8.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.474e-05/0.3886, allocations: 328.6 kB / 0.521 GB, free: 8.285 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.108e-05/0.3887, allocations: 32.3 kB / 0.521 GB, free: 8.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.3888, allocations: 47.33 kB / 0.521 GB, free: 8.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.3889, allocations: 74.64 kB / 0.5211 GB, free: 8.242 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.389, allocations: 5.188 kB / 0.5211 GB, free: 8.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002244/0.3892, allocations: 123.7 kB / 0.5212 GB, free: 8.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3892, allocations: 5.312 kB / 0.5212 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3892, allocations: 4 kB / 0.5212 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3892, allocations: 3.562 kB / 0.5212 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.3894, allocations: 24.11 kB / 0.5213 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3894, allocations: 0.5625 kB / 0.5213 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.3894, allocations: 9.453 kB / 0.5213 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.3895, allocations: 7.641 kB / 0.5213 GB, free: 8.184 MB / 346.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.388e-05/0.3896, allocations: 120.1 kB / 0.5214 GB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.3896, allocations: 10.41 kB / 0.5214 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.3897, allocations: 17.7 kB / 0.5214 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3897, allocations: 0.7188 kB / 0.5214 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.3897, allocations: 1.453 kB / 0.5214 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3897, allocations: 0.5625 kB / 0.5214 GB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/0.3902, allocations: 436 kB / 0.5218 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3902, allocations: 0 / 0.5218 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.708e-05/0.3903, allocations: 15.56 kB / 0.5219 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.3903, allocations: 9.781 kB / 0.5219 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-05/0.3904, allocations: 2.375 kB / 0.5219 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3904, allocations: 5.516 kB / 0.5219 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3904, allocations: 1.312 kB / 0.5219 GB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.3907, allocations: 213.1 kB / 0.5221 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.3907, allocations: 90.53 kB / 0.5222 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3908, allocations: 13.34 kB / 0.5222 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.3908, allocations: 12.84 kB / 0.5222 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.3909, allocations: 6.875 kB / 0.5222 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.3909, allocations: 4.125 kB / 0.5222 GB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.391, allocations: 128.3 kB / 0.5223 GB, free: 7.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.391, allocations: 0 / 0.5223 GB, free: 7.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003379/0.3914, allocations: 52.16 kB / 0.5224 GB, free: 7.387 MB / 346.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.3927, allocations: 0.5495 MB / 0.5229 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.3929, allocations: 72.14 kB / 0.523 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3929, allocations: 0 / 0.523 GB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.393, allocations: 45.31 kB / 0.523 GB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.3934, allocations: 33.95 kB / 0.523 GB, free: 7.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004627/0.3939, allocations: 260.5 kB / 0.5233 GB, free: 6.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.394, allocations: 0.7085 MB / 0.524 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.3941, allocations: 24.06 kB / 0.524 GB, free: 6.207 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3941, allocations: 0 / 0.524 GB, free: 6.207 MB / 346.7 MB Notification: Performance of Templates: time 0.005799/0.3999, allocations: 2.545 MB / 0.5265 GB, free: 5.934 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile clang++ -std=c++14 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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 trunk/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 trunk/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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:464:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1