Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.518e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4633, allocations: 88.22 MB / 497.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4636, allocations: 71.95 kB / 497.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01684/0.4805, allocations: 4.267 MB / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4805, allocations: 0 / 0.4897 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.4806, allocations: 0 / 0.4897 GB, free: 14.07 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.0004482/0.481, allocations: 362.4 kB / 0.49 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4811, allocations: 8.031 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.4811, allocations: 11.91 kB / 0.49 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.4814, allocations: 198.9 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.4814, allocations: 4 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.4815, allocations: 0 / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4816, allocations: 63.36 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4817, allocations: 3.984 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.4817, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.493e-06/0.4817, allocations: 3.938 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.4818, allocations: 12 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.4822, allocations: 280.8 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.4824, allocations: 34.58 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.4825, allocations: 20.88 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4825, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4825, allocations: 34.56 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.002e-06/0.4826, allocations: 4 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004532/0.483, allocations: 93.42 kB / 0.4907 GB, free: 12.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.4831, allocations: 81.11 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.4833, allocations: 121 kB / 0.4909 GB, free: 12.56 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.4833, allocations: 25.7 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.4834, allocations: 158.5 kB / 0.4911 GB, free: 12.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.4835, allocations: 23.73 kB / 0.4911 GB, free: 12.35 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-06/0.4835, allocations: 4 kB / 0.4911 GB, free: 12.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4836, allocations: 312 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.771e-05/0.4837, allocations: 12 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-05/0.4838, allocations: 21.72 kB / 0.4915 GB, free: 11.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.4838, allocations: 15.94 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-06/0.4838, allocations: 0 / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001385/0.484, allocations: 57.64 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.484, allocations: 4 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-06/0.484, allocations: 4.031 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.484, allocations: 0 / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.972e-05/0.4842, allocations: 15.98 kB / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.716e-06/0.4842, allocations: 0 / 0.4916 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.4843, allocations: 11.98 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.4843, allocations: 0 / 0.4916 GB, free: 11.88 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.293e-05/0.4844, allocations: 108.9 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.4844, allocations: 7.906 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001947/0.4846, allocations: 77.95 kB / 0.4917 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.755e-06/0.4847, allocations: 4 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.158e-06/0.4847, allocations: 4.062 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.669e-06/0.4847, allocations: 3.984 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.4852, allocations: 322.5 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-06/0.4852, allocations: 3.938 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.4e-05/0.4853, allocations: 12 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.052e-06/0.4853, allocations: 4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.4854, allocations: 4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.037e-06/0.4854, allocations: 3.938 kB / 0.4921 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.326e-06/0.4854, allocations: 3.984 kB / 0.4921 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.4856, allocations: 155.4 kB / 0.4922 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.35e-05/0.4857, allocations: 89 kB / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.4857, allocations: 4 kB / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.4858, allocations: 11.98 kB / 0.4923 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/0.4859, allocations: 4 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-06/0.4859, allocations: 3.938 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.486, allocations: 107.3 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.486, allocations: 0 / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.4864, allocations: 27.98 kB / 0.4925 GB, free: 10.83 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.001593/0.488, allocations: 446.7 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.4882, allocations: 28 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.4882, allocations: 0 / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.4883, allocations: 19.98 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4886, allocations: 11.94 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003724/0.489, allocations: 130.7 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.4894, allocations: 0.6926 MB / 0.4938 GB, free: 9.594 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4894, allocations: 23.42 kB / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of SimCode: time 1.852e-06/0.4895, allocations: 0 / 0.4938 GB, free: 9.57 MB / 426.7 MB Notification: Performance of Templates: time 0.004177/0.4936, allocations: 1.567 MB / 0.4953 GB, free: 8.004 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24Functions.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.Test24CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test24CalcHelperMain.o] Error 1