Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 270 MB / 282.7 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.309e-05, allocations: 8 kB / 347 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3203, allocations: 61.88 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4568, allocations: 88.13 MB / 497 MB, free: 2.473 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4571, allocations: 71.97 kB / 497.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.4744, allocations: 4.402 MB / 0.4897 GB, free: 13.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.117e-06/0.4744, allocations: 0 / 0.4897 GB, free: 13.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.4745, allocations: 0 / 0.4897 GB, free: 13.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004848/0.4749, allocations: 398.2 kB / 0.4901 GB, free: 13.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.475, allocations: 12.03 kB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.692e-05/0.4751, allocations: 11.81 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003217/0.4754, allocations: 210.8 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4754, allocations: 7.953 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.4755, allocations: 3.938 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.4756, allocations: 53.67 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4756, allocations: 0 / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-06/0.4757, allocations: 0 / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.979e-06/0.4757, allocations: 4 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.874e-05/0.4758, allocations: 12 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.4763, allocations: 320.7 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4764, allocations: 42.5 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.642e-05/0.4765, allocations: 12.86 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4765, allocations: 0 / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4766, allocations: 35.69 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.898e-06/0.4766, allocations: 4 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006722/0.4773, allocations: 173.1 kB / 0.4909 GB, free: 12.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.4773, allocations: 51.41 kB / 0.491 GB, free: 12.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003521/0.4777, allocations: 215.2 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.4777, allocations: 29.64 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4779, allocations: 170.5 kB / 0.4914 GB, free: 12.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4779, allocations: 31.62 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-06/0.4779, allocations: 4 kB / 0.4914 GB, free: 12.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4781, allocations: 318.8 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.4782, allocations: 16 kB / 0.4917 GB, free: 11.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/0.4782, allocations: 20 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.4783, allocations: 24.22 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-06/0.4783, allocations: 0 / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002129/0.4786, allocations: 93.59 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4786, allocations: 4 kB / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.906e-06/0.4786, allocations: 0 / 0.4919 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4786, allocations: 4 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.4788, allocations: 19.98 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.044e-06/0.4788, allocations: 0 / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.4789, allocations: 8 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.4789, allocations: 11.89 kB / 0.4919 GB, free: 11.5 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 (8): * Single equations (assignments): 8 * 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.051e-05/0.479, allocations: 109 kB / 0.492 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.976e-05/0.4791, allocations: 11.81 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.4794, allocations: 123.1 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.503e-06/0.4794, allocations: 0 / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-06/0.4794, allocations: 0 / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.4795, allocations: 0 / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.4802, allocations: 423.3 kB / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-06/0.4802, allocations: 0 / 0.4926 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.4804, allocations: 24.3 kB / 0.4926 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.354e-06/0.4804, allocations: 0 / 0.4926 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4804, allocations: 8 kB / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.612e-06/0.4804, allocations: 0 / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.263e-06/0.4804, allocations: 3.953 kB / 0.4926 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.4807, allocations: 217.8 kB / 0.4928 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-05/0.4808, allocations: 96.92 kB / 0.4929 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.4809, allocations: 11.98 kB / 0.4929 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.481, allocations: 7.953 kB / 0.4929 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.4811, allocations: 7.984 kB / 0.4929 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4811, allocations: 4 kB / 0.4929 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00027/0.4814, allocations: 179.5 kB / 0.4931 GB, free: 10.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.47e-07/0.4814, allocations: 0 / 0.4931 GB, free: 10.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.4818, allocations: 35.92 kB / 0.4931 GB, free: 10.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001597/0.4834, allocations: 457.6 kB / 0.4936 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.4836, allocations: 59.92 kB / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.168e-06/0.4836, allocations: 0 / 0.4936 GB, free: 9.789 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.901e-05/0.4837, allocations: 31.94 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.484, allocations: 12.17 kB / 0.4937 GB, free: 9.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.4847, allocations: 252.5 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.4851, allocations: 0.7208 MB / 0.4946 GB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.4852, allocations: 15.44 kB / 0.4946 GB, free: 8.703 MB / 426.7 MB Notification: Performance of SimCode: time 1.431e-06/0.4852, allocations: 0 / 0.4946 GB, free: 8.703 MB / 426.7 MB Notification: Performance of Templates: time 0.004657/0.4899, allocations: 1.925 MB / 0.4965 GB, free: 6.773 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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.Test32CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test32CalcHelperMain.o] Error 1