Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.529e-05/3.538e-05, allocations: 4 kB / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3381, allocations: 61.88 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4722, allocations: 88.02 MB / 496.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4725, allocations: 79.89 kB / 497 MB, free: 2.547 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01665/0.4892, allocations: 4.256 MB / 0.4895 GB, free: 14.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.223e-06/0.4892, allocations: 0 / 0.4895 GB, free: 14.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.688e-05/0.4892, allocations: 3.938 kB / 0.4895 GB, free: 14.28 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.0004562/0.4897, allocations: 382.2 kB / 0.4898 GB, free: 13.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4898, allocations: 12.03 kB / 0.4898 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.4898, allocations: 15.91 kB / 0.4899 GB, free: 13.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002837/0.4901, allocations: 203.7 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.4901, allocations: 0 / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.4902, allocations: 4 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.4903, allocations: 57.56 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4903, allocations: 0 / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4904, allocations: 4 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4904, allocations: 0 / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.153e-05/0.4904, allocations: 12 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.4909, allocations: 300.8 kB / 0.4904 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.491, allocations: 42.5 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.4911, allocations: 12.86 kB / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.4911, allocations: 0 / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4912, allocations: 39.69 kB / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.03e-06/0.4912, allocations: 0 / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006009/0.4918, allocations: 149.2 kB / 0.4906 GB, free: 12.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.4919, allocations: 55.41 kB / 0.4907 GB, free: 12.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.4921, allocations: 180.9 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4922, allocations: 33.64 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/0.4923, allocations: 162.5 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.4923, allocations: 31.64 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-06/0.4923, allocations: 4 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4925, allocations: 318.8 kB / 0.4914 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.4926, allocations: 16 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.195e-05/0.4926, allocations: 16 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.4927, allocations: 16.22 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-06/0.4927, allocations: 0 / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001701/0.4929, allocations: 77.62 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.4929, allocations: 4 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.538e-06/0.4929, allocations: 4.281 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.493, allocations: 3.984 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.4931, allocations: 16 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.113e-06/0.4931, allocations: 0 / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.29e-05/0.4932, allocations: 15.98 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.4932, allocations: 0 / 0.4916 GB, free: 11.93 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 8.595e-05/0.4933, allocations: 112.9 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.4934, allocations: 15.8 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4936, allocations: 106.2 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-06/0.4937, allocations: 0 / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.23e-06/0.4937, allocations: 0 / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.956e-06/0.4937, allocations: 3.984 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006183/0.4943, allocations: 395.2 kB / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-06/0.4943, allocations: 0 / 0.4922 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.4945, allocations: 28.02 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.321e-06/0.4945, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.4945, allocations: 4 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.68e-06/0.4945, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-06/0.4945, allocations: 0 / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.4948, allocations: 202.1 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.064e-05/0.4949, allocations: 93 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4949, allocations: 8 kB / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.495, allocations: 4 kB / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.4951, allocations: 15.94 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4951, allocations: 4 kB / 0.4925 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001911/0.4953, allocations: 152.6 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4953, allocations: 0 / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000361/0.4957, allocations: 27.94 kB / 0.4927 GB, free: 10.67 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.001587/0.4973, allocations: 461.4 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.4975, allocations: 47.92 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.72e-06/0.4975, allocations: 0 / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.4976, allocations: 20.16 kB / 0.4932 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4979, allocations: 12.16 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005165/0.4984, allocations: 228 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.4988, allocations: 0.7119 MB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.4989, allocations: 19.44 kB / 0.4941 GB, free: 9.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.458e-06/0.4989, allocations: 0 / 0.4941 GB, free: 9.27 MB / 426.7 MB Notification: Performance of Templates: time 0.004361/0.5033, allocations: 1.753 MB / 0.4958 GB, free: 7.512 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30Functions.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.CombiTable1Ds.Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30CalcHelperMain.o] Error 1