Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 270 MB / 282.7 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.324e-05, allocations: 7.938 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4579, allocations: 88.22 MB / 497.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.4581, allocations: 67.97 kB / 497.1 MB, free: 2.344 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01643/0.4746, allocations: 4.278 MB / 0.4897 GB, free: 14.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4746, allocations: 0 / 0.4897 GB, free: 14.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.4747, allocations: 0 / 0.4897 GB, free: 14.05 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.0004301/0.4751, allocations: 358.4 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4752, allocations: 12.03 kB / 0.49 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.4752, allocations: 11.89 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002601/0.4755, allocations: 190.9 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4755, allocations: 4 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4756, allocations: 4 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4757, allocations: 63.34 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4757, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4757, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.4758, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.038e-05/0.4758, allocations: 19.98 kB / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004093/0.4763, allocations: 276.8 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.4765, allocations: 38.56 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.474e-05/0.4765, allocations: 12.86 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.4765, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.4766, allocations: 34.56 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.049e-06/0.4766, allocations: 4 kB / 0.4906 GB, free: 12.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004386/0.477, allocations: 101.4 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.237e-05/0.4771, allocations: 81.11 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4773, allocations: 121 kB / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4773, allocations: 25.7 kB / 0.491 GB, free: 12.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.223e-05/0.4774, allocations: 162.5 kB / 0.4911 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.4775, allocations: 19.75 kB / 0.4911 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-06/0.4775, allocations: 0 / 0.4911 GB, free: 12.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4777, allocations: 312 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.823e-05/0.4777, allocations: 12 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.4778, allocations: 25.7 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.168e-05/0.4778, allocations: 11.95 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-06/0.4778, allocations: 0 / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.478, allocations: 61.66 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.478, allocations: 9.719 kB / 0.4915 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.985e-06/0.478, allocations: 0 / 0.4915 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.478, allocations: 0 / 0.4915 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.4782, allocations: 15.98 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.301e-06/0.4782, allocations: 0 / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.4783, allocations: 8 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-06/0.4783, 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.057e-05/0.4784, allocations: 112.9 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.4784, allocations: 7.906 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.4786, allocations: 74.02 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.98e-06/0.4787, allocations: 4 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-06/0.4787, allocations: 4 kB / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.535e-06/0.4787, allocations: 0 / 0.4918 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.4792, allocations: 322.5 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.447e-06/0.4792, allocations: 0 / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.815e-05/0.4793, allocations: 19.98 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.4793, allocations: 3.938 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4793, allocations: 4 kB / 0.4921 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.092e-06/0.4793, allocations: 0 / 0.4921 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-06/0.4794, allocations: 3.938 kB / 0.4921 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.4796, allocations: 159.4 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.4796, allocations: 89 kB / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.4797, allocations: 4 kB / 0.4923 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4798, allocations: 8 kB / 0.4923 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.4798, allocations: 7.984 kB / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-06/0.4799, allocations: 0 / 0.4924 GB, free: 10.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.48, allocations: 103.3 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.74e-07/0.48, allocations: 0 / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.4804, 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.001521/0.4819, allocations: 458.5 kB / 0.4929 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.4821, allocations: 28 kB / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4821, allocations: 0 / 0.4929 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.693e-05/0.4821, allocations: 12 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.0002656/0.4824, allocations: 20.12 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.4828, allocations: 126.7 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.4832, allocations: 0.7003 MB / 0.4938 GB, free: 9.582 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.4e-05/0.4833, allocations: 15.44 kB / 0.4938 GB, free: 9.566 MB / 426.7 MB Notification: Performance of SimCode: time 1.416e-06/0.4833, allocations: 0 / 0.4938 GB, free: 9.566 MB / 426.7 MB Notification: Performance of Templates: time 0.004145/0.4874, allocations: 1.567 MB / 0.4953 GB, free: 7.996 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23Functions.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.Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23CalcHelperMain.o] Error 1