Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.548e-05, allocations: 3.938 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3267, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.4676, allocations: 90.84 MB / 499.7 MB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4679, allocations: 75.97 kB / 499.7 MB, free: 15.78 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03812/0.506, allocations: 9.504 MB / 0.4973 GB, free: 6.25 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5061, allocations: 0 / 0.4973 GB, free: 6.25 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.92e-05/0.5061, allocations: 8 kB / 0.4973 GB, free: 6.242 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007649/0.5069, allocations: 0.5521 MB / 0.4979 GB, free: 5.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5069, allocations: 8.031 kB / 0.4979 GB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.994e-05/0.5071, allocations: 39.53 kB / 0.4979 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/0.5077, allocations: 345.3 kB / 0.4982 GB, free: 5.219 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.5077, allocations: 15.94 kB / 0.4983 GB, free: 5.203 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.5078, allocations: 19.97 kB / 0.4983 GB, free: 5.184 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.5081, allocations: 95.42 kB / 0.4984 GB, free: 5.086 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.5081, allocations: 3.906 kB / 0.4984 GB, free: 5.082 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.5081, allocations: 8 kB / 0.4984 GB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.5081, allocations: 4 kB / 0.4984 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.5083, allocations: 63.86 kB / 0.4984 GB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008941/0.5092, allocations: 0.4924 MB / 0.4989 GB, free: 4.465 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.5094, allocations: 90.55 kB / 0.499 GB, free: 4.367 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.5095, allocations: 30.02 kB / 0.499 GB, free: 4.336 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.5096, allocations: 3.953 kB / 0.499 GB, free: 4.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.5096, allocations: 34.56 kB / 0.4991 GB, free: 4.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.787e-06/0.5096, allocations: 0 / 0.4991 GB, free: 4.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009435/0.5106, allocations: 316.2 kB / 0.4994 GB, free: 3.973 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.5107, allocations: 59.41 kB / 0.4994 GB, free: 3.902 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.5115, allocations: 491 kB / 0.4999 GB, free: 3.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.5116, allocations: 33.7 kB / 0.4999 GB, free: 3.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.5118, allocations: 242.7 kB / 0.5002 GB, free: 3.137 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.5119, allocations: 51.2 kB / 0.5002 GB, free: 3.086 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.5119, allocations: 4 kB / 0.5002 GB, free: 3.082 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5121, allocations: 318.8 kB / 0.5005 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.5122, allocations: 40 kB / 0.5006 GB, free: 2.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.888e-05/0.5123, allocations: 37.72 kB / 0.5006 GB, free: 2.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.5124, allocations: 50.8 kB / 0.5006 GB, free: 2.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5124, allocations: 3.953 kB / 0.5006 GB, free: 2.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003337/0.5128, allocations: 145.5 kB / 0.5008 GB, free: 2.488 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.5128, allocations: 4 kB / 0.5008 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5128, allocations: 0 / 0.5008 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.5129, allocations: 0 / 0.5008 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.5131, allocations: 39.91 kB / 0.5008 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5131, allocations: 4 kB / 0.5008 GB, free: 2.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001296/0.5132, allocations: 12 kB / 0.5008 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.5133, allocations: 8 kB / 0.5008 GB, free: 2.422 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 (17): * Single equations (assignments): 17 * 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 0.0001027/0.5134, allocations: 109 kB / 0.501 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.5135, allocations: 43.48 kB / 0.501 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005046/0.514, allocations: 217.1 kB / 0.5012 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.65e-06/0.514, allocations: 4 kB / 0.5012 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.47e-06/0.5141, allocations: 0 / 0.5012 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.292e-06/0.5141, allocations: 7.984 kB / 0.5012 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5152, allocations: 0.6482 MB / 0.5018 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.684e-06/0.5153, allocations: 3.938 kB / 0.5019 GB, free: 1.328 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.5154, allocations: 35.98 kB / 0.5019 GB, free: 1.293 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.348e-06/0.5155, allocations: 3.984 kB / 0.5019 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.5155, allocations: 4 kB / 0.5019 GB, free: 1.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.402e-06/0.5155, allocations: 4 kB / 0.5019 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-06/0.5155, allocations: 0 / 0.5019 GB, free: 1.281 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004495/0.516, allocations: 286.8 kB / 0.5022 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.5162, allocations: 140.6 kB / 0.5023 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.5162, allocations: 4 kB / 0.5023 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5164, allocations: 11.98 kB / 0.5023 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.732e-05/0.5165, allocations: 19.98 kB / 0.5023 GB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.5165, allocations: 11.98 kB / 0.5023 GB, free: 0.7812 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006401/0.5172, allocations: 389.2 kB / 0.5027 GB, free: 412 kB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.5172, allocations: 0 / 0.5027 GB, free: 412 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.5177, allocations: 75.83 kB / 0.5028 GB, free: 336 kB / 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 (17): * Single equations (assignments): 17 * 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.002635/0.5203, allocations: 0.6829 MB / 0.5035 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0003092/0.5207, allocations: 107.9 kB / 0.5036 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-06/0.5207, allocations: 0 / 0.5036 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.5208, allocations: 59.94 kB / 0.5036 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005076/0.5213, allocations: 70 kB / 0.5037 GB, free: 15.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.5226, allocations: 0.5535 MB / 0.5042 GB, free: 15.05 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.5232, allocations: 0.8182 MB / 0.505 GB, free: 14.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.5234, allocations: 35.42 kB / 0.5051 GB, free: 14.17 MB / 442.7 MB Notification: Performance of SimCode: time 1.775e-06/0.5234, allocations: 4 kB / 0.5051 GB, free: 14.16 MB / 442.7 MB Notification: Performance of Templates: time 0.00935/0.5328, allocations: 4.643 MB / 0.5096 GB, free: 9.523 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21.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.CombiTable2Ds.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21Functions.cpp:330:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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.CombiTable2Ds.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test21CalcHelperMain.o] Error 1