Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.205e-05, allocations: 8 kB / 347 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4629, allocations: 88.04 MB / 496.9 MB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.4632, allocations: 75.95 kB / 497 MB, free: 2.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01449/0.4777, allocations: 3.678 MB / 0.4889 GB, free: 14.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.084e-05/0.4778, allocations: 0 / 0.4889 GB, free: 14.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.4778, allocations: 4 kB / 0.4889 GB, free: 14.87 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.0004284/0.4782, allocations: 370.3 kB / 0.4893 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.4783, allocations: 8.031 kB / 0.4893 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.4783, allocations: 7.906 kB / 0.4893 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4786, allocations: 194.1 kB / 0.4895 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4786, allocations: 4 kB / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4787, allocations: 7.984 kB / 0.4895 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.4788, allocations: 45.64 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4788, allocations: 7.938 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.4788, allocations: 4 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.4789, allocations: 3.938 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.998e-05/0.4789, allocations: 15.98 kB / 0.4895 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.4794, allocations: 284.9 kB / 0.4898 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4796, allocations: 38.56 kB / 0.4899 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.4797, allocations: 12.86 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.4797, allocations: 3.938 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.4797, allocations: 34.56 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.605e-06/0.4797, allocations: 0 / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004513/0.4802, allocations: 105.5 kB / 0.49 GB, free: 13.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/0.4803, allocations: 51.41 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.4804, allocations: 137.2 kB / 0.4902 GB, free: 13.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4805, allocations: 33.58 kB / 0.4902 GB, free: 13.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.183e-05/0.4806, allocations: 158.6 kB / 0.4904 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.4806, allocations: 15.8 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-06/0.4806, allocations: 0 / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4808, allocations: 318.8 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.424e-05/0.4809, allocations: 12 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.503e-05/0.4809, allocations: 12 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.481, allocations: 19.98 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.504e-06/0.481, allocations: 0 / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001407/0.4811, allocations: 57.69 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4812, allocations: 4 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.71e-06/0.4812, allocations: 0 / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4812, allocations: 0 / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4813, allocations: 15.98 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.223e-06/0.4813, allocations: 0 / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.4814, allocations: 11.91 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-06/0.4814, allocations: 4 kB / 0.4908 GB, free: 12.7 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 9.21e-05/0.4815, allocations: 114 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.4816, allocations: 4 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.4818, allocations: 85.66 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.4818, allocations: 7.984 kB / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.936e-06/0.4818, allocations: 320 / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.4818, allocations: 0 / 0.491 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.4823, allocations: 342.5 kB / 0.4913 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.4824, allocations: 3.938 kB / 0.4913 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.919e-05/0.4825, allocations: 11.98 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.823e-06/0.4825, allocations: 4 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.874e-06/0.4825, allocations: 0 / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.258e-06/0.4825, allocations: 0 / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-06/0.4825, allocations: 0 / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.4827, allocations: 167.4 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.4828, allocations: 89.09 kB / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.4829, allocations: 0 / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.483, allocations: 4 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.483, allocations: 7.984 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.483, allocations: 0 / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.4832, allocations: 118.3 kB / 0.4917 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.4832, allocations: 0 / 0.4917 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003285/0.4835, allocations: 15.94 kB / 0.4917 GB, free: 11.64 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.001379/0.4849, allocations: 409 kB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.4851, allocations: 28 kB / 0.4922 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-06/0.4851, allocations: 4 kB / 0.4922 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.4852, allocations: 19.94 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4854, allocations: 27.78 kB / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.4858, allocations: 142.6 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.4862, allocations: 0.6926 MB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.4863, allocations: 19.44 kB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.527e-06/0.4863, allocations: 0 / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of Templates: time 0.00364/0.49, allocations: 1.401 MB / 0.4944 GB, free: 8.984 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1Functions.cpp:194: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.CombiTable1Dv.Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test1CalcHelperMain.o] Error 1