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.001102/0.001106, allocations: 108.4 kB / 17.98 MB, free: 5.379 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.001112/0.001112, allocations: 193.3 kB / 18.9 MB, free: 4.461 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.335/1.335, allocations: 222.9 MB / 242.6 MB, free: 15.36 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.2137/0.2137, allocations: 44.17 MB / 336.9 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.17 kB / 408.6 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.1, allocations: 60.82 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.002854/0.1029, allocations: 1.773 MB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1042, allocations: 0.877 MB / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.1043, allocations: 0 / 472 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.1045, allocations: 39.83 kB / 472.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.1047, allocations: 43.84 kB / 472.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002646/0.105, allocations: 94.64 kB / 472.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.1052, allocations: 95.7 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.199e-05/0.1053, allocations: 24.2 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.1054, allocations: 39.8 kB / 472.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.1054, allocations: 39.77 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.1055, allocations: 4 kB / 472.4 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.1056, allocations: 59.98 kB / 472.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.1056, allocations: 19.92 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1057, allocations: 39.78 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1059, allocations: 100 kB / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1059, allocations: 0 / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1059, allocations: 0 / 472.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1059, allocations: 4 kB / 472.6 MB, free: 11.46 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.0004776/0.1064, allocations: 403.1 kB / 473 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.1064, allocations: 8.031 kB / 473 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1065, allocations: 8.844 kB / 473 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1067, allocations: 208.1 kB / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.1067, allocations: 384 / 473.2 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1067, allocations: 8.125 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1069, allocations: 67.39 kB / 473.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1069, allocations: 3.938 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.1069, allocations: 4 kB / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1069, allocations: 0 / 473.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.267e-05/0.107, allocations: 19.92 kB / 473.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.1074, allocations: 280.9 kB / 473.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002123/0.1076, allocations: 70.61 kB / 473.7 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.1077, allocations: 24.97 kB / 473.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1077, allocations: 7.938 kB / 473.7 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1079, allocations: 67.38 kB / 473.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.522e-06/0.1079, allocations: 0 / 473.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005668/0.1085, allocations: 205.1 kB / 474 MB, free: 9.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1086, allocations: 85.11 kB / 474.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.1087, allocations: 159.6 kB / 474.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.1088, allocations: 29.7 kB / 474.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.1088, allocations: 92.14 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.1088, allocations: 31.55 kB / 474.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1089, allocations: 25.81 kB / 474.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.109, allocations: 326.8 kB / 474.7 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.1091, allocations: 27.98 kB / 474.7 MB, free: 9.113 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.756e-05/0.1092, allocations: 66.48 kB / 474.8 MB, free: 9.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.1093, allocations: 77.64 kB / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1093, allocations: 0 / 474.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002111/0.1096, allocations: 121.5 kB / 475 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1096, allocations: 4 kB / 475 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1096, allocations: 4.062 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1096, allocations: 4 kB / 475 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.764e-05/0.1097, allocations: 27.91 kB / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1097, allocations: 0 / 475 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1098, allocations: 12 kB / 475 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1098, allocations: 4 kB / 475.1 MB, free: 8.777 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 8.962e-05/0.1099, allocations: 130.3 kB / 475.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1099, allocations: 11.81 kB / 475.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.11, allocations: 12.72 kB / 475.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.11, allocations: 7.938 kB / 475.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.11, allocations: 0 / 475.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.11, allocations: 3.984 kB / 475.2 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1105, allocations: 419.2 kB / 475.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1105, allocations: 0 / 475.6 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.961e-05/0.1105, allocations: 11.98 kB / 475.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1105, allocations: 4 kB / 475.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1106, allocations: 8.031 kB / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1106, allocations: 0 / 475.6 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1106, allocations: 4 kB / 475.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1108, allocations: 216.2 kB / 475.9 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.184e-05/0.1109, allocations: 92.91 kB / 476 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1109, allocations: 4.188 kB / 476 MB, free: 7.762 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.111, allocations: 4 kB / 476 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.111, allocations: 19.86 kB / 476 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.111, allocations: 4 kB / 476 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.1111, allocations: 119.2 kB / 476.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1111, allocations: 0 / 476.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1114, allocations: 28 kB / 476.1 MB, free: 7.59 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.001118/0.1125, allocations: 0.5088 MB / 476.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002179/0.1128, allocations: 91.78 kB / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1128, allocations: 0 / 476.7 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.1129, allocations: 35.92 kB / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1132, allocations: 44.86 kB / 476.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.1136, allocations: 253 kB / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.1139, allocations: 0.7077 MB / 477.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.114, allocations: 19.44 kB / 477.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 1.453e-06/0.114, allocations: 0 / 477.8 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Templates: time 0.003851/0.1178, allocations: 2.197 MB / 480 MB, free: 3.891 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