Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.987e-05/2.998e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.327, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1366/0.4637, allocations: 88.14 MB / 497 MB, free: 2.508 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.464, allocations: 71.97 kB / 497.1 MB, free: 2.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01683/0.4808, allocations: 4.28 MB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.302e-06/0.4809, allocations: 4 kB / 0.4896 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.4809, allocations: 0 / 0.4896 GB, free: 14.14 MB / 426.7 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.0004919/0.4814, allocations: 402.1 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4814, allocations: 8.031 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.4815, allocations: 7.906 kB / 0.49 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.4818, allocations: 200.6 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.4818, allocations: 8 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.4819, allocations: 7.984 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.482, allocations: 53.58 kB / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.4821, allocations: 4 kB / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1e-05/0.4821, allocations: 0 / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.4821, allocations: 4 kB / 0.4902 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.249e-05/0.4822, allocations: 12 kB / 0.4903 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.4827, allocations: 308.7 kB / 0.4906 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.4829, allocations: 46.45 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.273e-05/0.4829, allocations: 20.94 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4829, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.483, allocations: 31.69 kB / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.835e-06/0.483, allocations: 0 / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000672/0.4837, allocations: 169.2 kB / 0.4908 GB, free: 12.72 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4837, allocations: 55.41 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.484, allocations: 179.6 kB / 0.491 GB, free: 12.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4841, allocations: 29.7 kB / 0.4911 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.4842, allocations: 166.5 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.4842, allocations: 23.64 kB / 0.4912 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.4842, allocations: 4 kB / 0.4912 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.4844, allocations: 318.8 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.338e-05/0.4845, allocations: 23.98 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.4845, allocations: 20 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.825e-05/0.4846, allocations: 27.98 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-06/0.4846, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.4848, allocations: 85.59 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4849, allocations: 4 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-06/0.4849, allocations: 3.938 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.4849, allocations: 4 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.485, allocations: 19.98 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4851, allocations: 8 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.4851, allocations: 4 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.4852, allocations: 0 / 0.4917 GB, free: 11.72 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 0.0001044/0.4853, allocations: 112.9 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.439e-05/0.4854, allocations: 11.81 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.4856, allocations: 110.5 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.4856, allocations: 4 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.189e-06/0.4857, allocations: 4 kB / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.681e-06/0.4857, allocations: 0 / 0.492 GB, free: 11.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006626/0.4863, allocations: 423.2 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-06/0.4864, allocations: 0 / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.4865, allocations: 16 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.043e-06/0.4865, allocations: 0 / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4865, allocations: 4 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.283e-06/0.4865, allocations: 12.02 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4866, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002672/0.4868, allocations: 202 kB / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.4869, allocations: 93.28 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.487, allocations: 3.938 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.4871, allocations: 15.98 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.4872, allocations: 15.88 kB / 0.4927 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4872, allocations: 4 kB / 0.4927 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001849/0.4874, allocations: 148.8 kB / 0.4929 GB, free: 10.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.025e-06/0.4874, allocations: 0 / 0.4929 GB, free: 10.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.4878, allocations: 35.92 kB / 0.4929 GB, free: 10.42 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001643/0.4894, allocations: 457.3 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.4896, allocations: 51.94 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.734e-06/0.4897, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.808e-05/0.4898, allocations: 27.98 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.4901, allocations: 15.98 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.4906, allocations: 228 kB / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4911, allocations: 0.716 MB / 0.4943 GB, free: 9.02 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.929e-05/0.4911, allocations: 15.44 kB / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4911, allocations: 0 / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of Templates: time 0.004522/0.4957, allocations: 1.827 MB / 0.4961 GB, free: 7.18 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test26CalcHelperMain.o] Error 1