Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.187e-05/3.206e-05, allocations: 4 kB / 347 MB, free: 3.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4666, allocations: 90.68 MB / 499.5 MB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4669, allocations: 71.91 kB / 499.6 MB, free: 15.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03522/0.5021, allocations: 8.722 MB / 0.4964 GB, free: 7.168 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.5022, allocations: 0 / 0.4964 GB, free: 7.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.5022, allocations: 8 kB / 0.4964 GB, free: 7.16 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.0007601/0.503, allocations: 0.552 MB / 0.4969 GB, free: 6.562 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.503, allocations: 8.031 kB / 0.497 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5032, allocations: 43.53 kB / 0.497 GB, free: 6.512 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006467/0.5038, allocations: 345.1 kB / 0.4973 GB, free: 6.133 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.5039, allocations: 12 kB / 0.4973 GB, free: 6.121 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.5039, allocations: 8 kB / 0.4973 GB, free: 6.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.5041, allocations: 94.53 kB / 0.4974 GB, free: 6.016 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5042, allocations: 4.219 kB / 0.4974 GB, free: 6.012 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5042, allocations: 8 kB / 0.4974 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.402e-06/0.5042, allocations: 7.938 kB / 0.4975 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.5044, allocations: 52 kB / 0.4975 GB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.5053, allocations: 0.5002 MB / 0.498 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.5055, allocations: 86.5 kB / 0.4981 GB, free: 5.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.417e-05/0.5056, allocations: 28.86 kB / 0.4981 GB, free: 5.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.5056, allocations: 7.938 kB / 0.4981 GB, free: 5.262 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5057, allocations: 38.56 kB / 0.4981 GB, free: 5.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.6e-06/0.5057, allocations: 0 / 0.4981 GB, free: 5.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.000956/0.5067, allocations: 316.2 kB / 0.4984 GB, free: 4.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.5067, allocations: 55.34 kB / 0.4985 GB, free: 4.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.5076, allocations: 495 kB / 0.499 GB, free: 4.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.5077, allocations: 29.7 kB / 0.499 GB, free: 4.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.5078, allocations: 234.8 kB / 0.4992 GB, free: 4.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.5079, allocations: 59.09 kB / 0.4993 GB, free: 4.012 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.508, allocations: 4 kB / 0.4993 GB, free: 4.008 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5081, allocations: 318.8 kB / 0.4996 GB, free: 3.688 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5083, allocations: 43.94 kB / 0.4996 GB, free: 3.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.5084, allocations: 41.56 kB / 0.4997 GB, free: 3.605 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.5085, allocations: 46.8 kB / 0.4997 GB, free: 3.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.401e-06/0.5085, allocations: 7.953 kB / 0.4997 GB, free: 3.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003244/0.5088, allocations: 141.4 kB / 0.4999 GB, free: 3.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5089, allocations: 8 kB / 0.4999 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.924e-06/0.5089, allocations: 0 / 0.4999 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.5089, allocations: 0 / 0.4999 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.5091, allocations: 35.97 kB / 0.4999 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.146e-06/0.5092, allocations: 0 / 0.4999 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5093, allocations: 12 kB / 0.4999 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.5093, allocations: 8 kB / 0.4999 GB, free: 3.348 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 9.666e-05/0.5094, allocations: 112.9 kB / 0.5 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5096, allocations: 43.48 kB / 0.5001 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005036/0.5101, allocations: 213.2 kB / 0.5003 GB, free: 2.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.552e-06/0.5101, allocations: 4 kB / 0.5003 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.441e-06/0.5101, allocations: 0 / 0.5003 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-06/0.5101, allocations: 3.984 kB / 0.5003 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.5113, allocations: 0.6599 MB / 0.5009 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.601e-06/0.5114, allocations: 0 / 0.5009 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.5115, allocations: 35.92 kB / 0.501 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.717e-06/0.5116, allocations: 0 / 0.501 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.5116, allocations: 11.98 kB / 0.501 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.958e-06/0.5116, allocations: 4 kB / 0.501 GB, free: 2.199 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.958e-06/0.5116, allocations: 3.938 kB / 0.501 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.5121, allocations: 274.9 kB / 0.5012 GB, free: 1.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.5123, allocations: 144.6 kB / 0.5014 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.4e-05/0.5124, allocations: 4 kB / 0.5014 GB, free: 1.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.5126, allocations: 12 kB / 0.5014 GB, free: 1.734 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.5126, allocations: 11.97 kB / 0.5014 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.5127, allocations: 12 kB / 0.5014 GB, free: 1.711 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006522/0.5133, allocations: 393.2 kB / 0.5018 GB, free: 1.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.5133, allocations: 0 / 0.5018 GB, free: 1.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004845/0.5138, allocations: 75.83 kB / 0.5019 GB, free: 1.254 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 (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.002572/0.5164, allocations: 0.6808 MB / 0.5025 GB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.5168, allocations: 107.9 kB / 0.5026 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.643e-06/0.5168, allocations: 0 / 0.5026 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.5169, allocations: 67.94 kB / 0.5027 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.5175, allocations: 67.75 kB / 0.5028 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.5188, allocations: 0.5496 MB / 0.5033 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.5194, allocations: 0.8143 MB / 0.5041 GB, free: 15.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.5195, allocations: 43.41 kB / 0.5041 GB, free: 15.09 MB / 442.7 MB Notification: Performance of SimCode: time 1.941e-06/0.5196, allocations: 0 / 0.5041 GB, free: 15.09 MB / 442.7 MB Notification: Performance of Templates: time 0.009705/0.5293, allocations: 4.652 MB / 0.5087 GB, free: 10.44 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20CalcHelperMain.o] Error 1