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.0009477/0.0009477, allocations: 201.6 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.6 MB / 243.1 MB, free: 14.3 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007934/0.0007934, allocations: 99.98 kB / 295.1 MB, free: 10.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1949/0.1949, allocations: 44.84 MB / 392 MB, free: 9.332 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002574/0.0002575, allocations: 11.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09344, allocations: 62.96 MB / 0.5153 GB, free: 2.785 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.00179/0.09526, allocations: 1.427 MB / 0.5167 GB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.09652, allocations: 0.9635 MB / 0.5177 GB, free: 380 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.09658, allocations: 0 / 0.5177 GB, free: 380 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.09682, allocations: 39.83 kB / 0.5177 GB, free: 340 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002/0.09703, allocations: 75.73 kB / 0.5178 GB, free: 264 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.09727, allocations: 91.77 kB / 0.5179 GB, free: 172 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.09741, allocations: 87.7 kB / 0.5179 GB, free: 84 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.58e-05/0.09749, allocations: 23.97 kB / 0.518 GB, free: 60 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.09757, allocations: 43.72 kB / 0.518 GB, free: 16 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1819/0.2795, allocations: 27.94 kB / 0.518 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.2795, allocations: 2.531 kB / 0.518 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.2798, allocations: 96.97 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.317e-05/0.2799, allocations: 15.45 kB / 0.5181 GB, free: 9.824 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.2799, allocations: 38.7 kB / 0.5182 GB, free: 9.793 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.2802, allocations: 122.9 kB / 0.5183 GB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2802, allocations: 4.062 kB / 0.5183 GB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2802, allocations: 0 / 0.5183 GB, free: 9.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.2802, allocations: 0 / 0.5183 GB, free: 9.793 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.00046/0.2807, allocations: 416.6 kB / 0.5187 GB, free: 9.402 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2807, allocations: 9.062 kB / 0.5187 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2808, allocations: 12.41 kB / 0.5187 GB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.281, allocations: 210 kB / 0.5189 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.281, allocations: 2.922 kB / 0.5189 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.281, allocations: 4.875 kB / 0.5189 GB, free: 9.191 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.2812, allocations: 71.47 kB / 0.519 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2812, allocations: 0 / 0.519 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.2812, allocations: 4.109 kB / 0.519 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2812, allocations: 0.5312 kB / 0.519 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.2813, allocations: 19.33 kB / 0.519 GB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.2816, allocations: 277.1 kB / 0.5193 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/0.2818, allocations: 71.69 kB / 0.5194 GB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.916e-05/0.2819, allocations: 25.92 kB / 0.5194 GB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2819, allocations: 7.578 kB / 0.5194 GB, free: 8.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.2821, allocations: 69.94 kB / 0.5195 GB, free: 8.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.2821, allocations: 0 / 0.5195 GB, free: 8.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005851/0.2827, allocations: 211.3 kB / 0.5197 GB, free: 8.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.2827, allocations: 79.97 kB / 0.5197 GB, free: 8.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.2829, allocations: 171.8 kB / 0.5199 GB, free: 8.547 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2829, allocations: 28.41 kB / 0.5199 GB, free: 8.516 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.513e-05/0.2829, allocations: 105.6 kB / 0.52 GB, free: 8.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.283, allocations: 30.03 kB / 0.5201 GB, free: 8.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-06/0.283, allocations: 1.656 kB / 0.5201 GB, free: 8.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.283, allocations: 323.4 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.2831, allocations: 27.44 kB / 0.5204 GB, free: 8.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.121e-05/0.2832, allocations: 52.36 kB / 0.5204 GB, free: 8.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.273e-05/0.2833, allocations: 37.11 kB / 0.5205 GB, free: 8.07 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2833, allocations: 1.562 kB / 0.5205 GB, free: 8.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002204/0.2835, allocations: 126.1 kB / 0.5206 GB, free: 8.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2835, allocations: 10.41 kB / 0.5206 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2835, allocations: 2.5 kB / 0.5206 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2836, allocations: 2.281 kB / 0.5206 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2837, allocations: 22.52 kB / 0.5206 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.2837, allocations: 5.703 kB / 0.5206 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.2837, allocations: 6.156 kB / 0.5206 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2838, allocations: 12.28 kB / 0.5207 GB, free: 8.016 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 7e-05/0.2838, allocations: 125.9 kB / 0.5208 GB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2839, allocations: 9.562 kB / 0.5208 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.2839, allocations: 13.83 kB / 0.5208 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2839, allocations: 0.6875 kB / 0.5208 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.2839, allocations: 4.25 kB / 0.5208 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2839, allocations: 0.7031 kB / 0.5208 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.2843, allocations: 433.1 kB / 0.5212 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2843, allocations: 0.9688 kB / 0.5212 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.2844, allocations: 13.69 kB / 0.5212 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2844, allocations: 1 kB / 0.5212 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.2844, allocations: 6.828 kB / 0.5212 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2844, allocations: 3.953 kB / 0.5212 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2844, allocations: 2.078 kB / 0.5212 GB, free: 7.578 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.2846, allocations: 213.5 kB / 0.5214 GB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.2847, allocations: 91.39 kB / 0.5215 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.2847, allocations: 8.172 kB / 0.5215 GB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.2848, allocations: 8.031 kB / 0.5215 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.986e-05/0.2848, allocations: 14.23 kB / 0.5216 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.2849, allocations: 3.484 kB / 0.5216 GB, free: 7.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.285, allocations: 137.6 kB / 0.5217 GB, free: 7.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.285, allocations: 0 / 0.5217 GB, free: 7.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.2852, allocations: 50.56 kB / 0.5217 GB, free: 7.238 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.001013/0.2863, allocations: 0.5408 MB / 0.5223 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001891/0.2865, allocations: 73.84 kB / 0.5223 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2865, allocations: 0 / 0.5223 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.04e-05/0.2866, allocations: 38.08 kB / 0.5224 GB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.2869, allocations: 38.11 kB / 0.5224 GB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.2873, allocations: 263 kB / 0.5227 GB, free: 6.789 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2874, allocations: 0.7006 MB / 0.5234 GB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.2875, allocations: 24.3 kB / 0.5234 GB, free: 6.086 MB / 346.7 MB Notification: Performance of SimCode: time 2.9e-07/0.2875, allocations: 0 / 0.5234 GB, free: 6.086 MB / 346.7 MB Notification: Performance of Templates: time 0.004225/0.2917, allocations: 2.559 MB / 0.5259 GB, free: 5.801 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++ -Winvalid-pch -O0 -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/c/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