Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 117.7 kB / 17.08 MB, free: 5.957 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.001186/0.001186, allocations: 197.2 kB / 18.02 MB, free: 5.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2004/0.2004, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 69.47 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1074, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003227/0.1107, allocations: 1.559 MB / 0.4901 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006986/0.1114, allocations: 347.4 kB / 0.4904 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.1115, allocations: 4 kB / 0.4904 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.1118, allocations: 27.8 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.112, allocations: 35.84 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000263/0.1123, allocations: 75.72 kB / 0.4905 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001546/0.1125, allocations: 67.81 kB / 0.4906 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1126, allocations: 16.17 kB / 0.4906 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.1126, allocations: 19.92 kB / 0.4906 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.453e-05/0.1127, allocations: 31.84 kB / 0.4907 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1127, allocations: 7.938 kB / 0.4907 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1129, allocations: 51.97 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.1129, allocations: 8 kB / 0.4907 GB, free: 9.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.113, allocations: 31.78 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1132, allocations: 91.78 kB / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1132, allocations: 0 / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1133, allocations: 0 / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1133, allocations: 0 / 0.4909 GB, free: 9.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005342/0.1138, allocations: 402.5 kB / 0.4912 GB, free: 8.973 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1139, allocations: 8.031 kB / 0.4912 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.1139, allocations: 8.844 kB / 0.4913 GB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002083/0.1141, allocations: 188.3 kB / 0.4914 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1141, allocations: 384 / 0.4914 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.1142, allocations: 4.375 kB / 0.4914 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.1144, allocations: 75.33 kB / 0.4915 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1144, allocations: 0 / 0.4915 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1144, allocations: 4 kB / 0.4915 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1144, allocations: 0 / 0.4915 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.1145, allocations: 43.91 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.1149, allocations: 288.8 kB / 0.4918 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.1151, allocations: 58.55 kB / 0.4919 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.1152, allocations: 20.97 kB / 0.4919 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.1152, allocations: 16 kB / 0.4919 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1152, allocations: 34.56 kB / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.1152, allocations: 0 / 0.492 GB, free: 8.117 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006382/0.1159, allocations: 161.3 kB / 0.4921 GB, free: 7.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.116, allocations: 85.09 kB / 0.4922 GB, free: 7.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.1161, allocations: 145.2 kB / 0.4923 GB, free: 7.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1161, allocations: 25.7 kB / 0.4924 GB, free: 7.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1162, allocations: 88.14 kB / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1162, allocations: 27.55 kB / 0.4925 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.1163, allocations: 21.72 kB / 0.4925 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1164, allocations: 326.7 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.593e-05/0.1164, allocations: 23.98 kB / 0.4928 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.42e-05/0.1165, allocations: 45.64 kB / 0.4929 GB, free: 7.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.1167, allocations: 52.83 kB / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1167, allocations: 0 / 0.4929 GB, free: 7.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001995/0.1169, allocations: 101.6 kB / 0.493 GB, free: 6.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1169, allocations: 4 kB / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1169, allocations: 0 / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.117, allocations: 32 / 0.493 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1171, allocations: 20.36 kB / 0.493 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.1171, allocations: 4 kB / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.1171, allocations: 0 / 0.493 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1171, allocations: 15.92 kB / 0.4931 GB, free: 6.922 MB / 382.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 (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 prepare postOptimizeDAE: time 8.853e-05/0.1172, allocations: 117.8 kB / 0.4932 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.1173, allocations: 7.906 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.1176, allocations: 122.2 kB / 0.4933 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1176, allocations: 4 kB / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1176, allocations: 0 / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1176, allocations: 0 / 0.4933 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.118, allocations: 366.5 kB / 0.4936 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1181, allocations: 0 / 0.4936 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.1181, allocations: 23.92 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1181, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.1182, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1182, allocations: 7.938 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1182, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.1184, allocations: 191.4 kB / 0.4939 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.1185, allocations: 81.11 kB / 0.4939 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.1185, allocations: 0 / 0.4939 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.1186, allocations: 15.92 kB / 0.4939 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.1186, allocations: 8 kB / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.1186, allocations: 0 / 0.494 GB, free: 5.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.1187, allocations: 115.2 kB / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.485e-06/0.1187, allocations: 0 / 0.4941 GB, free: 5.773 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002788/0.119, allocations: 27.94 kB / 0.4941 GB, free: 5.746 MB / 382.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.001123/0.1201, allocations: 453.2 kB / 0.4945 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.1204, allocations: 59.95 kB / 0.4946 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1204, allocations: 4 kB / 0.4946 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.289e-05/0.1205, allocations: 35.91 kB / 0.4946 GB, free: 5.246 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.1209, allocations: 19.84 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.1213, allocations: 207.7 kB / 0.4948 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.1216, allocations: 0.6924 MB / 0.4955 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.88e-05/0.1216, allocations: 11.44 kB / 0.4955 GB, free: 4.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1216, allocations: 0 / 0.4955 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Templates: time 0.003845/0.1255, allocations: 1.762 MB / 0.4972 GB, free: 2.5 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 3.2.3+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 3.2.3+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 3.2.3+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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:279:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1