Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.157e-05, allocations: 7.938 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3261, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4648, allocations: 88.25 MB / 497.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4651, allocations: 75.95 kB / 497.2 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.4834, allocations: 4.695 MB / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.072e-06/0.4835, allocations: 0 / 0.4901 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.814e-05/0.4835, allocations: 4 kB / 0.4901 GB, free: 13.62 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005279/0.4841, allocations: 406.1 kB / 0.4905 GB, free: 13.18 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4841, allocations: 8.031 kB / 0.4905 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.4842, allocations: 15.81 kB / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.4845, allocations: 220.1 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.4845, allocations: 0 / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.4846, allocations: 8 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4848, allocations: 73.62 kB / 0.4908 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.4848, allocations: 7.844 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4848, allocations: 4 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.064e-06/0.4848, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.855e-05/0.4849, allocations: 31.98 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.4856, allocations: 356.6 kB / 0.4912 GB, free: 12.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001423/0.4857, allocations: 54.56 kB / 0.4912 GB, free: 12.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.015e-05/0.4858, allocations: 20.86 kB / 0.4913 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4858, allocations: 0 / 0.4913 GB, free: 12.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.4859, allocations: 34.56 kB / 0.4913 GB, free: 12.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.544e-06/0.4859, allocations: 8 kB / 0.4913 GB, free: 12.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008775/0.4868, allocations: 241.6 kB / 0.4915 GB, free: 11.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4869, allocations: 59.34 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.4872, allocations: 209.3 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.064e-05/0.4872, allocations: 29.7 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4873, allocations: 174.4 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.4874, allocations: 43.36 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.4874, allocations: 8 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4876, allocations: 314.8 kB / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/0.4877, allocations: 32 kB / 0.4924 GB, free: 11.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.553e-05/0.4878, allocations: 35.98 kB / 0.4924 GB, free: 11.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.4879, allocations: 39.98 kB / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.922e-06/0.4879, allocations: 0 / 0.4924 GB, free: 11.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002792/0.4882, allocations: 125.6 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4883, allocations: 8 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-06/0.4883, allocations: 0 / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4883, allocations: 4 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.4885, allocations: 39.92 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.879e-06/0.4885, allocations: 4.062 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.4886, allocations: 11.94 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4886, allocations: 4 kB / 0.4926 GB, free: 10.83 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 (13): * Single equations (assignments): 13 * 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.861e-05/0.4888, allocations: 109 kB / 0.4927 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.4888, allocations: 11.81 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.4892, allocations: 171.2 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-06/0.4893, allocations: 4 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.151e-06/0.4893, allocations: 0 / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.972e-06/0.4893, allocations: 0 / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008467/0.4901, allocations: 499 kB / 0.4934 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.741e-06/0.4902, allocations: 4.031 kB / 0.4934 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/0.4903, allocations: 27.98 kB / 0.4934 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.255e-06/0.4904, allocations: 0 / 0.4934 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.4904, allocations: 15.94 kB / 0.4934 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-06/0.4904, allocations: 0 / 0.4934 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.54e-06/0.4904, allocations: 3.938 kB / 0.4934 GB, free: 9.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.4908, allocations: 250.5 kB / 0.4937 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/0.4909, allocations: 100.9 kB / 0.4938 GB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4909, allocations: 4 kB / 0.4938 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.4911, allocations: 7.984 kB / 0.4938 GB, free: 9.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.4911, allocations: 15.98 kB / 0.4938 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4912, allocations: 4 kB / 0.4938 GB, free: 9.512 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002214/0.4914, allocations: 164.2 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.4914, allocations: 4 kB / 0.494 GB, free: 9.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.4918, allocations: 39.98 kB / 0.494 GB, free: 9.309 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 (13): * Single equations (assignments): 13 * 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.001624/0.4935, allocations: 456 kB / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.4937, allocations: 83.98 kB / 0.4945 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.328e-06/0.4938, allocations: 0 / 0.4945 GB, free: 8.922 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4939, allocations: 59.92 kB / 0.4946 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.4942, allocations: 16 kB / 0.4946 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.4949, allocations: 280.1 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4953, allocations: 0.7277 MB / 0.4956 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.739e-05/0.4954, allocations: 19.42 kB / 0.4956 GB, free: 7.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.508e-06/0.4954, allocations: 0 / 0.4956 GB, free: 7.77 MB / 426.7 MB Notification: Performance of Templates: time 0.005167/0.5006, allocations: 2.175 MB / 0.4977 GB, free: 5.59 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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.Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test4CalcHelperMain.o] Error 1