Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadModel(ModelicaTest): time 2.37/2.37, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.693e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 61.87 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.472, allocations: 87.93 MB / 496.8 MB, free: 2.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4723, allocations: 71.95 kB / 496.8 MB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01513/0.4874, allocations: 3.745 MB / 0.4889 GB, free: 14.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4875, allocations: 0 / 0.4889 GB, free: 14.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.091e-05/0.4875, allocations: 3.984 kB / 0.4889 GB, free: 14.88 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.0004513/0.488, allocations: 374.2 kB / 0.4892 GB, free: 14.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.488, allocations: 12.03 kB / 0.4892 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.4881, allocations: 11.91 kB / 0.4892 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4884, allocations: 197.8 kB / 0.4894 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4884, allocations: 3.953 kB / 0.4894 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.4884, allocations: 7.984 kB / 0.4894 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4886, allocations: 37.69 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4886, allocations: 4 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-06/0.4886, allocations: 0 / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.505e-06/0.4886, allocations: 3.938 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.169e-05/0.4887, allocations: 15.94 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.4891, allocations: 284.8 kB / 0.4898 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4893, allocations: 38.56 kB / 0.4898 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.4894, allocations: 8.859 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.4894, allocations: 3.984 kB / 0.4898 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4895, allocations: 34.5 kB / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.308e-06/0.4895, allocations: 0 / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004655/0.49, allocations: 109.5 kB / 0.49 GB, free: 13.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.49, allocations: 55.41 kB / 0.49 GB, free: 13.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.4903, allocations: 148.8 kB / 0.4901 GB, free: 13.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.4903, allocations: 25.7 kB / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.537e-05/0.4904, allocations: 162.5 kB / 0.4903 GB, free: 13.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.4904, allocations: 15.8 kB / 0.4903 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-06/0.4905, allocations: 4 kB / 0.4903 GB, free: 13.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4906, allocations: 318.8 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.664e-05/0.4907, allocations: 11.94 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.537e-05/0.4907, allocations: 12 kB / 0.4907 GB, free: 12.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.749e-05/0.4908, allocations: 8 kB / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-06/0.4908, allocations: 0 / 0.4907 GB, free: 12.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001415/0.4909, allocations: 61.59 kB / 0.4907 GB, free: 12.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.491, allocations: 7.938 kB / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.327e-06/0.491, allocations: 0 / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.491, allocations: 0 / 0.4907 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.4911, allocations: 19.98 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.31e-06/0.4911, allocations: 0 / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.4912, allocations: 8 kB / 0.4908 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.779e-06/0.4912, allocations: 0 / 0.4908 GB, free: 12.71 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.269e-05/0.4913, allocations: 114 kB / 0.4909 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.4914, allocations: 11.89 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.4916, allocations: 69.78 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.4916, allocations: 4 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.002e-06/0.4916, allocations: 0 / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-06/0.4916, allocations: 0 / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.4922, allocations: 338.5 kB / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-06/0.4922, allocations: 0 / 0.4913 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.867e-05/0.4923, allocations: 16 kB / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.306e-06/0.4923, allocations: 0 / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4923, allocations: 384 / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-06/0.4923, allocations: 0 / 0.4913 GB, free: 12.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.4923, allocations: 8 kB / 0.4913 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.4925, allocations: 159.4 kB / 0.4915 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.4926, allocations: 96.94 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.4927, allocations: 0 / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.4928, allocations: 4 kB / 0.4916 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.4928, allocations: 7.984 kB / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-06/0.4929, allocations: 0 / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001584/0.493, allocations: 137.8 kB / 0.4917 GB, free: 11.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.493, allocations: 0 / 0.4917 GB, free: 11.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003458/0.4934, allocations: 23.92 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.001435/0.4948, allocations: 408.1 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001345/0.495, allocations: 27.98 kB / 0.4921 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.495, allocations: 0 / 0.4921 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.4951, 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.0002638/0.4954, allocations: 11.94 kB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004119/0.4958, allocations: 151.4 kB / 0.4923 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.4962, allocations: 0.7043 MB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.045e-05/0.4963, allocations: 15.42 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of SimCode: time 1.638e-06/0.4963, allocations: 0 / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Templates: time 0.003845/0.5001, allocations: 1.442 MB / 0.4944 GB, free: 8.938 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11.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.Test11CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11Functions.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.CombiTable1Ds.Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test11CalcHelperMain.o] Error 1