Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 270 MB / 282.7 MB, free: 1.902 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.116e-05, allocations: 4 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3655, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.5065, allocations: 90.96 MB / 499.8 MB, free: 15.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.5067, allocations: 71.97 kB / 499.9 MB, free: 15.63 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03437/0.5411, allocations: 8.825 MB / 0.4968 GB, free: 6.777 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.5412, allocations: 3.938 kB / 0.4968 GB, free: 6.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.48e-05/0.5412, allocations: 12 kB / 0.4968 GB, free: 6.762 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007084/0.5419, allocations: 0.5326 MB / 0.4973 GB, free: 6.184 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.542, allocations: 8.031 kB / 0.4973 GB, free: 6.176 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.5421, allocations: 39.53 kB / 0.4974 GB, free: 6.137 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006456/0.5428, allocations: 349 kB / 0.4977 GB, free: 5.754 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.5428, allocations: 4 kB / 0.4977 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.5428, allocations: 8 kB / 0.4977 GB, free: 5.742 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.5431, allocations: 83.08 kB / 0.4978 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.216e-06/0.5431, allocations: 0 / 0.4978 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5431, allocations: 0 / 0.4978 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.33e-06/0.5431, allocations: 4 kB / 0.4978 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.5433, allocations: 55.92 kB / 0.4978 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.5442, allocations: 488.4 kB / 0.4983 GB, free: 5.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.5443, allocations: 66.5 kB / 0.4984 GB, free: 4.996 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.5444, allocations: 32.97 kB / 0.4984 GB, free: 4.961 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.146e-05/0.5445, allocations: 7.984 kB / 0.4984 GB, free: 4.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.5445, allocations: 34.56 kB / 0.4984 GB, free: 4.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.427e-06/0.5445, allocations: 0 / 0.4984 GB, free: 4.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003093/0.5448, allocations: 113.2 kB / 0.4985 GB, free: 4.793 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.5449, allocations: 59.41 kB / 0.4986 GB, free: 4.723 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008414/0.5458, allocations: 495.1 kB / 0.4991 GB, free: 4.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.5458, allocations: 25.7 kB / 0.4991 GB, free: 4.199 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.546, allocations: 234.7 kB / 0.4993 GB, free: 3.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.546, allocations: 15.72 kB / 0.4993 GB, free: 3.949 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.5461, allocations: 0 / 0.4993 GB, free: 3.949 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5462, allocations: 318.8 kB / 0.4996 GB, free: 3.629 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.5463, allocations: 20 kB / 0.4997 GB, free: 3.609 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.5464, allocations: 19.98 kB / 0.4997 GB, free: 3.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.794e-05/0.5464, allocations: 28.11 kB / 0.4997 GB, free: 3.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.5465, allocations: 0 / 0.4997 GB, free: 3.562 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002012/0.5467, allocations: 85.67 kB / 0.4998 GB, free: 3.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5467, allocations: 12 kB / 0.4998 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.204e-06/0.5467, allocations: 0 / 0.4998 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5467, allocations: 0 / 0.4998 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5469, allocations: 15.98 kB / 0.4998 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.5469, allocations: 3.953 kB / 0.4998 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.547, allocations: 11.84 kB / 0.4998 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.547, allocations: 4 kB / 0.4998 GB, free: 3.426 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 (6): * Single equations (assignments): 6 * 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.835e-05/0.5471, allocations: 105 kB / 0.4999 GB, free: 3.316 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.5472, allocations: 39.53 kB / 0.5 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003239/0.5476, allocations: 141 kB / 0.5001 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5476, allocations: 3.938 kB / 0.5001 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.497e-06/0.5476, allocations: 0 / 0.5001 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.5476, allocations: 7.953 kB / 0.5001 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004533/0.5481, allocations: 301.5 kB / 0.5004 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.966e-06/0.5481, allocations: 0 / 0.5004 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.5482, allocations: 15.94 kB / 0.5004 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.764e-06/0.5482, allocations: 0 / 0.5004 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.5483, allocations: 7.984 kB / 0.5004 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.539e-06/0.5483, allocations: 0 / 0.5004 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.997e-06/0.5483, allocations: 4 kB / 0.5004 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.5486, allocations: 222.9 kB / 0.5006 GB, free: 2.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001894/0.5488, allocations: 144.5 kB / 0.5008 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.5489, allocations: 4 kB / 0.5008 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.549, allocations: 8.188 kB / 0.5008 GB, free: 2.348 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.5491, allocations: 4 kB / 0.5008 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.5491, allocations: 8 kB / 0.5008 GB, free: 2.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006398/0.5498, allocations: 397.1 kB / 0.5012 GB, free: 1.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.46e-07/0.5498, allocations: 4 kB / 0.5012 GB, free: 1.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004529/0.5502, allocations: 51.92 kB / 0.5012 GB, free: 1.895 MB / 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 (6): * Single equations (assignments): 6 * 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.002146/0.5524, allocations: 0.5751 MB / 0.5018 GB, free: 1.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.5526, allocations: 55.92 kB / 0.5019 GB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.5526, allocations: 4 kB / 0.5019 GB, free: 1.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.5527, allocations: 27.98 kB / 0.5019 GB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004812/0.5532, allocations: 65.47 kB / 0.5019 GB, free: 1.371 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.5543, allocations: 0.5134 MB / 0.5024 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005881/0.5549, allocations: 0.8102 MB / 0.5032 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.5551, allocations: 27.42 kB / 0.5033 GB, free: 15.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.58e-06/0.5551, allocations: 3.938 kB / 0.5033 GB, free: 15.96 MB / 442.7 MB Notification: Performance of Templates: time 0.008465/0.5635, allocations: 4.12 MB / 0.5073 GB, free: 11.84 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19Functions.cpp:258:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp7.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.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19CalcHelperMain.o] Error 1