Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.283/2.283, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.275e-05/3.277e-05, allocations: 0 / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3183, allocations: 61.88 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.453, allocations: 88.02 MB / 496.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4533, allocations: 71.97 kB / 496.9 MB, free: 2.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.4698, allocations: 4.175 MB / 0.4894 GB, free: 14.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.4698, allocations: 0 / 0.4894 GB, free: 14.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.4698, allocations: 4 kB / 0.4894 GB, free: 14.33 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.0004719/0.4703, allocations: 398.1 kB / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4704, allocations: 8.031 kB / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.4704, allocations: 7.906 kB / 0.4898 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002776/0.4707, allocations: 198.9 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.4708, allocations: 0 / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.4708, allocations: 8 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/0.4709, allocations: 49.64 kB / 0.49 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.471, allocations: 0 / 0.49 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.471, allocations: 11.92 kB / 0.49 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.255e-06/0.471, allocations: 3.938 kB / 0.49 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.773e-05/0.4711, allocations: 19.98 kB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.4716, allocations: 300.7 kB / 0.4903 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.575e-05/0.4717, allocations: 30.58 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.4717, allocations: 20.86 kB / 0.4904 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.4718, allocations: 3.938 kB / 0.4904 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.4718, allocations: 31.69 kB / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.175e-06/0.4718, allocations: 0 / 0.4904 GB, free: 13.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006004/0.4724, allocations: 149.4 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.4725, allocations: 51.41 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.4728, allocations: 184 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.4728, allocations: 29.7 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.4729, allocations: 162.5 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4729, allocations: 23.62 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-06/0.473, allocations: 0 / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4731, allocations: 318.8 kB / 0.4913 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.001e-05/0.4732, allocations: 20 kB / 0.4913 GB, free: 12.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.4733, allocations: 12 kB / 0.4913 GB, free: 12.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.112e-05/0.4733, allocations: 24.22 kB / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4733, allocations: 4 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001753/0.4735, allocations: 69.69 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4736, allocations: 4 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-06/0.4736, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4736, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.4737, allocations: 23.92 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.619e-06/0.4738, allocations: 3.938 kB / 0.4915 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.543e-05/0.4738, allocations: 11.98 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4739, allocations: 4 kB / 0.4915 GB, free: 11.98 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 9.566e-05/0.474, allocations: 112.9 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.187e-05/0.474, allocations: 7.906 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000244/0.4743, allocations: 102.1 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.005e-06/0.4743, allocations: 4 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.682e-06/0.4743, allocations: 3.938 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.675e-06/0.4743, allocations: 0 / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/0.475, allocations: 391.3 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-06/0.475, allocations: 4 kB / 0.4921 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4751, allocations: 27.92 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-06/0.4751, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.643e-06/0.4752, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-06/0.4752, allocations: 0 / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4752, allocations: 4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.4755, allocations: 198 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.311e-05/0.4756, allocations: 96.86 kB / 0.4924 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.4756, allocations: 4 kB / 0.4924 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4757, allocations: 7.984 kB / 0.4924 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.4758, allocations: 11.89 kB / 0.4924 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4758, allocations: 4 kB / 0.4924 GB, free: 10.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.476, allocations: 153.3 kB / 0.4925 GB, free: 10.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.476, allocations: 0 / 0.4925 GB, free: 10.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.4764, allocations: 27.98 kB / 0.4926 GB, free: 10.73 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.001595/0.478, allocations: 453.3 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.4782, allocations: 43.94 kB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.042e-06/0.4782, allocations: 4 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.819e-05/0.4783, allocations: 24 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4785, allocations: 16.3 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.479, allocations: 199.5 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004061/0.4795, allocations: 0.7043 MB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.4796, allocations: 27.42 kB / 0.494 GB, free: 9.359 MB / 426.7 MB Notification: Performance of SimCode: time 1.538e-06/0.4796, allocations: 4 kB / 0.494 GB, free: 9.355 MB / 426.7 MB Notification: Performance of Templates: time 0.004221/0.4838, allocations: 1.721 MB / 0.4957 GB, free: 7.633 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3Functions.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.CombiTable1Ds.Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test3CalcHelperMain.o] Error 1