Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.229e-05, allocations: 8 kB / 347 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3288, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.4769, allocations: 91.13 MB / 500 MB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4771, allocations: 75.95 kB / 0.4883 GB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03855/0.5157, allocations: 8.929 MB / 0.497 GB, free: 6.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.121e-06/0.5158, allocations: 224 / 0.497 GB, free: 6.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.962e-05/0.5159, allocations: 15.92 kB / 0.4971 GB, free: 6.504 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.00128/0.5172, allocations: 0.5514 MB / 0.4976 GB, free: 5.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.601e-05/0.5173, allocations: 12.03 kB / 0.4976 GB, free: 5.898 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.5175, allocations: 35.53 kB / 0.4976 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5188, allocations: 364.9 kB / 0.498 GB, free: 5.465 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.5188, allocations: 8 kB / 0.498 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.5189, allocations: 12 kB / 0.498 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.5194, allocations: 107.4 kB / 0.4981 GB, free: 5.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/0.5195, allocations: 7.938 kB / 0.4981 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.5195, allocations: 3.984 kB / 0.4981 GB, free: 5.324 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.5196, allocations: 4 kB / 0.4981 GB, free: 5.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003706/0.52, allocations: 67.98 kB / 0.4982 GB, free: 5.254 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001797/0.5218, allocations: 0.5393 MB / 0.4987 GB, free: 4.664 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.5222, allocations: 98.53 kB / 0.4988 GB, free: 4.559 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.5224, allocations: 28.86 kB / 0.4988 GB, free: 4.527 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.508e-05/0.5225, allocations: 11.95 kB / 0.4989 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.5226, allocations: 38.5 kB / 0.4989 GB, free: 4.469 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 4.778e-06/0.5226, allocations: 0 / 0.4989 GB, free: 4.469 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.001935/0.5245, allocations: 376.1 kB / 0.4993 GB, free: 4.094 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.349e-05/0.5246, allocations: 59.31 kB / 0.4993 GB, free: 4.023 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.5263, allocations: 495.1 kB / 0.4998 GB, free: 3.527 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.5264, allocations: 29.7 kB / 0.4998 GB, free: 3.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.5267, allocations: 238.8 kB / 0.5 GB, free: 3.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/0.5269, allocations: 59.19 kB / 0.5001 GB, free: 3.199 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.5269, allocations: 0 / 0.5001 GB, free: 3.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002435/0.5272, allocations: 314.8 kB / 0.5004 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.5274, allocations: 51.98 kB / 0.5004 GB, free: 2.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.5277, allocations: 57.55 kB / 0.5005 GB, free: 2.777 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.528, allocations: 66.77 kB / 0.5006 GB, free: 2.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.37e-06/0.528, allocations: 3.953 kB / 0.5006 GB, free: 2.711 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007554/0.5288, allocations: 181.4 kB / 0.5007 GB, free: 2.527 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.5289, allocations: 8 kB / 0.5007 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.5289, allocations: 4 kB / 0.5008 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.5289, allocations: 0 / 0.5008 GB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.5293, allocations: 35.92 kB / 0.5008 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/0.5294, allocations: 3.984 kB / 0.5008 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.5297, allocations: 8 kB / 0.5008 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.5297, allocations: 8 kB / 0.5008 GB, free: 2.461 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.0001737/0.5299, allocations: 113 kB / 0.5009 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.5302, allocations: 39.48 kB / 0.5009 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.5313, allocations: 265.1 kB / 0.5012 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5313, allocations: 4 kB / 0.5012 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.5314, allocations: 3.984 kB / 0.5012 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.839e-06/0.5314, allocations: 0 / 0.5012 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.5338, allocations: 0.7185 MB / 0.5019 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.566e-06/0.5338, allocations: 0 / 0.5019 GB, free: 1.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.5342, allocations: 31.98 kB / 0.5019 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.838e-06/0.5342, allocations: 0 / 0.5019 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.5343, allocations: 15.98 kB / 0.502 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.755e-06/0.5343, allocations: 0 / 0.502 GB, free: 1.211 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.458e-06/0.5343, allocations: 3.938 kB / 0.502 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000947/0.5353, allocations: 310.9 kB / 0.5023 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.5357, allocations: 144.6 kB / 0.5024 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5358, allocations: 3.984 kB / 0.5024 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003607/0.5362, allocations: 12 kB / 0.5024 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.239e-05/0.5363, allocations: 11.98 kB / 0.5024 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.5364, allocations: 8 kB / 0.5024 GB, free: 0.6914 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001247/0.5376, allocations: 397.1 kB / 0.5028 GB, free: 312 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.243e-06/0.5377, allocations: 0 / 0.5028 GB, free: 312 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001006/0.5387, allocations: 75.92 kB / 0.5029 GB, free: 236 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.004662/0.5434, allocations: 0.6906 MB / 0.5036 GB, free: 15.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007077/0.5441, allocations: 143.8 kB / 0.5037 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.633e-06/0.5442, allocations: 0 / 0.5037 GB, free: 15.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003301/0.5445, allocations: 83.92 kB / 0.5038 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.5456, allocations: 70.62 kB / 0.5038 GB, free: 15.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.548, allocations: 0.5808 MB / 0.5044 GB, free: 14.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.5491, allocations: 0.8299 MB / 0.5052 GB, free: 14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.5494, allocations: 43.41 kB / 0.5053 GB, free: 13.96 MB / 442.7 MB Notification: Performance of SimCode: time 2.579e-06/0.5494, allocations: 0 / 0.5053 GB, free: 13.96 MB / 442.7 MB Notification: Performance of Templates: time 0.01813/0.5675, allocations: 4.917 MB / 0.5101 GB, free: 9.043 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.CombiTable2Dv.Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20Functions.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.CombiTable2Dv.Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20CalcHelperMain.o] Error 1