Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.344e-05, allocations: 4 kB / 347 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3213, allocations: 61.88 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4585, allocations: 88.04 MB / 496.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.4588, allocations: 75.95 kB / 497 MB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.4739, allocations: 3.682 MB / 0.4889 GB, free: 14.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.261e-06/0.4739, allocations: 0 / 0.4889 GB, free: 14.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.4739, allocations: 0 / 0.4889 GB, free: 14.81 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.0004456/0.4744, allocations: 366.4 kB / 0.4893 GB, free: 14.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.4744, allocations: 12.03 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.4745, allocations: 7.906 kB / 0.4893 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.4748, allocations: 197.9 kB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.4748, allocations: 0 / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.4748, allocations: 8 kB / 0.4895 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.475, allocations: 41.66 kB / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.475, allocations: 0 / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.475, allocations: 4 kB / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-06/0.475, allocations: 0 / 0.4895 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.408e-05/0.4751, allocations: 15.98 kB / 0.4895 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.4756, allocations: 276.9 kB / 0.4898 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4759, allocations: 50.5 kB / 0.4898 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.4759, allocations: 12.8 kB / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4759, allocations: 0 / 0.4899 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.476, allocations: 34.56 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.476, allocations: 3.938 kB / 0.4899 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.4765, allocations: 113.4 kB / 0.49 GB, free: 13.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.4766, allocations: 55.41 kB / 0.4901 GB, free: 13.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.4768, allocations: 129.2 kB / 0.4902 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4768, allocations: 25.7 kB / 0.4902 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.4769, allocations: 158.5 kB / 0.4904 GB, free: 13.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.4769, allocations: 15.81 kB / 0.4904 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.477, allocations: 0 / 0.4904 GB, free: 13.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4771, allocations: 318.8 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.4772, allocations: 12 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.4772, allocations: 15.98 kB / 0.4907 GB, free: 12.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.4773, allocations: 16 kB / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-06/0.4773, allocations: 0 / 0.4907 GB, free: 12.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001576/0.4775, allocations: 65.53 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4775, allocations: 4 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.548e-06/0.4775, allocations: 4 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.4775, allocations: 0 / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.4777, allocations: 15.98 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4777, allocations: 0 / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.995e-05/0.4778, allocations: 8.25 kB / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.4778, allocations: 3.984 kB / 0.4908 GB, free: 12.65 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.407e-05/0.4779, allocations: 114 kB / 0.4909 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.4779, allocations: 4 kB / 0.4909 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.4782, allocations: 89.66 kB / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.965e-06/0.4782, allocations: 0 / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-06/0.4782, allocations: 0 / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.64e-06/0.4782, allocations: 7.938 kB / 0.491 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.4787, allocations: 334.5 kB / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.803e-06/0.4788, allocations: 0 / 0.4913 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.218e-05/0.4789, allocations: 15.98 kB / 0.4913 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4789, allocations: 0 / 0.4913 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4789, allocations: 0 / 0.4913 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.534e-06/0.4789, allocations: 3.938 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.049e-06/0.4789, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.4791, allocations: 171.3 kB / 0.4915 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.988e-05/0.4792, allocations: 89.23 kB / 0.4916 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4793, allocations: 0 / 0.4916 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.4794, allocations: 8 kB / 0.4916 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.4794, allocations: 7.969 kB / 0.4916 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.4795, allocations: 4 kB / 0.4916 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.4796, allocations: 110.2 kB / 0.4917 GB, free: 11.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.4796, allocations: 4 kB / 0.4917 GB, free: 11.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003373/0.48, allocations: 23.78 kB / 0.4918 GB, free: 11.58 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.001402/0.4814, allocations: 397.9 kB / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001304/0.4815, allocations: 31.94 kB / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.4815, allocations: 0 / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.4816, allocations: 19.98 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.4819, allocations: 15.95 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.4823, allocations: 142.5 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.4827, allocations: 0.7004 MB / 0.493 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.4828, allocations: 11.44 kB / 0.493 GB, free: 10.35 MB / 426.7 MB Notification: Performance of SimCode: time 1.953e-06/0.4828, allocations: 0 / 0.493 GB, free: 10.35 MB / 426.7 MB Notification: Performance of Templates: time 0.003832/0.4866, allocations: 1.406 MB / 0.4944 GB, free: 8.938 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2Functions.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.Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test2CalcHelperMain.o] Error 1