Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 270 MB / 282.7 MB, free: 1.816 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.125e-05, allocations: 4 kB / 347 MB, free: 3.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3252, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.4673, allocations: 88.14 MB / 497 MB, free: 2.531 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.4675, allocations: 67.97 kB / 497.1 MB, free: 2.465 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01748/0.4851, allocations: 4.512 MB / 0.4898 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4851, allocations: 0 / 0.4898 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.4851, allocations: 8 kB / 0.4898 GB, free: 13.93 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.0005017/0.4856, allocations: 398.2 kB / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4857, allocations: 8.031 kB / 0.4902 GB, free: 13.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.4858, allocations: 15.81 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4861, allocations: 218.5 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4861, allocations: 15.95 kB / 0.4904 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.4862, allocations: 4 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.4863, allocations: 45.69 kB / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.4863, allocations: 0 / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.921e-06/0.4863, allocations: 0 / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-06/0.4864, allocations: 4 kB / 0.4905 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.928e-05/0.4865, allocations: 23.92 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.487, allocations: 324.8 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.9e-05/0.4871, allocations: 38.56 kB / 0.4909 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.4872, allocations: 12.86 kB / 0.4909 GB, free: 12.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.115e-05/0.4872, allocations: 4 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4873, allocations: 31.69 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.295e-06/0.4873, allocations: 0 / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006674/0.488, allocations: 181 kB / 0.4911 GB, free: 12.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.488, allocations: 51.41 kB / 0.4911 GB, free: 12.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.4884, allocations: 237.6 kB / 0.4914 GB, free: 12.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.4884, allocations: 25.7 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.4886, allocations: 174.5 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.021e-05/0.4886, allocations: 31.55 kB / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-06/0.4886, allocations: 0 / 0.4916 GB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.4888, allocations: 314.8 kB / 0.4919 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.618e-05/0.4889, allocations: 20 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.489, allocations: 27.92 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.489, allocations: 28.05 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4891, allocations: 4 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001884/0.4893, allocations: 81.91 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4893, allocations: 4 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.332e-06/0.4893, allocations: 0 / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.4893, allocations: 4 kB / 0.492 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.4895, allocations: 19.98 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.4895, allocations: 4 kB / 0.4921 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/0.4896, allocations: 7.984 kB / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4896, allocations: 3.953 kB / 0.4921 GB, free: 11.41 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.374e-05/0.4897, allocations: 116.9 kB / 0.4922 GB, free: 11.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.4898, allocations: 15.81 kB / 0.4922 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002728/0.4901, allocations: 107.5 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.83e-06/0.4901, allocations: 8 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.738e-06/0.4901, allocations: 3.984 kB / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.374e-06/0.4901, allocations: 0 / 0.4923 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.4909, allocations: 435.2 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-06/0.4909, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.491, allocations: 19.98 kB / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-06/0.491, allocations: 0 / 0.4927 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.491, allocations: 8.031 kB / 0.4928 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4911, allocations: 0 / 0.4928 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.505e-06/0.4911, allocations: 3.953 kB / 0.4928 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.4914, allocations: 213.8 kB / 0.493 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.4915, allocations: 100.9 kB / 0.4931 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.4915, allocations: 7.922 kB / 0.4931 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.4917, allocations: 15.95 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.4918, allocations: 3.984 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4918, allocations: 8 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002637/0.4921, allocations: 196.4 kB / 0.4933 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.48e-07/0.4921, allocations: 0 / 0.4933 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003814/0.4925, allocations: 31.94 kB / 0.4933 GB, free: 10.02 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.001617/0.4941, allocations: 455 kB / 0.4937 GB, free: 9.719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4943, allocations: 55.97 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.134e-06/0.4943, allocations: 0 / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.866e-05/0.4944, allocations: 31.94 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.4947, allocations: 16.17 kB / 0.4938 GB, free: 9.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.4954, allocations: 272.3 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/0.4959, allocations: 0.7247 MB / 0.4948 GB, free: 8.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.614e-05/0.4959, allocations: 15.44 kB / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4959, allocations: 0 / 0.4948 GB, free: 8.551 MB / 426.7 MB Notification: Performance of Templates: time 0.004825/0.5008, allocations: 2.006 MB / 0.4968 GB, free: 6.543 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31Functions.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.Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31CalcHelperMain.o] Error 1