Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 270 MB / 282.7 MB, free: 1.742 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.276e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 61.88 MB / 408.8 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4582, allocations: 88.22 MB / 497.1 MB, free: 2.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4584, allocations: 75.95 kB / 497.1 MB, free: 2.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01673/0.4752, allocations: 4.266 MB / 0.4897 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.876e-06/0.4752, allocations: 0 / 0.4897 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.4753, allocations: 4 kB / 0.4897 GB, free: 13.94 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004244/0.4757, allocations: 358.4 kB / 0.49 GB, free: 13.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4757, allocations: 12.03 kB / 0.49 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.4758, allocations: 7.906 kB / 0.49 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.4761, allocations: 194.9 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4761, allocations: 4 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.4761, allocations: 4 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.4763, allocations: 55.36 kB / 0.4903 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4763, allocations: 4 kB / 0.4903 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.4763, allocations: 4 kB / 0.4903 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.095e-06/0.4763, allocations: 0 / 0.4903 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.376e-05/0.4764, allocations: 8 kB / 0.4903 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.4768, allocations: 288.7 kB / 0.4906 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.477, allocations: 34.56 kB / 0.4906 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.4771, allocations: 12.86 kB / 0.4906 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.4771, allocations: 4 kB / 0.4906 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.4771, allocations: 34.56 kB / 0.4906 GB, free: 12.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.182e-06/0.4771, allocations: 0 / 0.4906 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004399/0.4776, allocations: 101.5 kB / 0.4907 GB, free: 12.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.4777, allocations: 81.09 kB / 0.4908 GB, free: 12.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.4778, allocations: 121 kB / 0.4909 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.4779, allocations: 25.7 kB / 0.4909 GB, free: 12.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.894e-05/0.478, allocations: 162.5 kB / 0.4911 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.478, allocations: 19.73 kB / 0.4911 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-06/0.478, allocations: 4 kB / 0.4911 GB, free: 12.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4782, allocations: 316 kB / 0.4914 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.552e-05/0.4782, allocations: 8 kB / 0.4914 GB, free: 11.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.682e-05/0.4783, allocations: 25.7 kB / 0.4915 GB, free: 11.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.348e-05/0.4783, allocations: 11.95 kB / 0.4915 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-06/0.4784, allocations: 4 kB / 0.4915 GB, free: 11.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001362/0.4785, allocations: 57.62 kB / 0.4915 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4785, allocations: 5.75 kB / 0.4915 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4786, allocations: 8 kB / 0.4915 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4786, allocations: 0 / 0.4915 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.4787, allocations: 12 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.4787, allocations: 0 / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.4788, allocations: 11.98 kB / 0.4916 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-06/0.4788, allocations: 0 / 0.4916 GB, free: 11.75 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 (5): * Single equations (assignments): 5 * 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 8.88e-05/0.4789, allocations: 108.9 kB / 0.4917 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.4789, allocations: 11.91 kB / 0.4917 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.4791, allocations: 73.7 kB / 0.4918 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-06/0.4792, allocations: 0 / 0.4918 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.244e-06/0.4792, allocations: 144 / 0.4918 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.277e-06/0.4792, allocations: 3.984 kB / 0.4918 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.4797, allocations: 326.9 kB / 0.4921 GB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.4797, allocations: 4.062 kB / 0.4921 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.437e-05/0.4798, allocations: 19.98 kB / 0.4921 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.852e-06/0.4798, allocations: 3.938 kB / 0.4921 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4798, allocations: 4 kB / 0.4921 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.349e-06/0.4798, allocations: 3.938 kB / 0.4921 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4798, allocations: 0 / 0.4921 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001893/0.48, allocations: 159.4 kB / 0.4923 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4801, allocations: 85.02 kB / 0.4923 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4801, allocations: 0 / 0.4923 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4803, allocations: 11.98 kB / 0.4923 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.785e-05/0.4803, allocations: 4 kB / 0.4923 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4803, allocations: 4 kB / 0.4924 GB, free: 10.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001054/0.4805, allocations: 103.3 kB / 0.4925 GB, free: 10.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.83e-07/0.4805, allocations: 0 / 0.4925 GB, free: 10.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003586/0.4808, allocations: 31.98 kB / 0.4925 GB, free: 10.71 MB / 426.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.00153/0.4824, allocations: 458.2 kB / 0.4929 GB, free: 10.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.4825, allocations: 24 kB / 0.4929 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.193e-06/0.4825, allocations: 0 / 0.4929 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.4826, allocations: 16 kB / 0.493 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.0002517/0.4829, allocations: 23.88 kB / 0.493 GB, free: 10.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.4832, allocations: 118.7 kB / 0.4931 GB, free: 10.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4836, allocations: 0.7043 MB / 0.4938 GB, free: 9.457 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.4837, allocations: 15.44 kB / 0.4938 GB, free: 9.441 MB / 426.7 MB Notification: Performance of SimCode: time 1.617e-06/0.4837, allocations: 0 / 0.4938 GB, free: 9.441 MB / 426.7 MB Notification: Performance of Templates: time 0.004033/0.4877, allocations: 1.567 MB / 0.4953 GB, free: 7.875 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19Functions.cpp:208:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19CalcHelperMain.o] Error 1