Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 270 MB / 282.7 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.533e-05, allocations: 3.938 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3263, allocations: 61.88 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.466, allocations: 90.51 MB / 499.4 MB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.4663, allocations: 75.94 kB / 499.4 MB, free: 96 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03446/0.5007, allocations: 8.622 MB / 0.4961 GB, free: 7.445 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.22e-06/0.5008, allocations: 0 / 0.4961 GB, free: 7.445 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.141e-05/0.5008, allocations: 11.94 kB / 0.4962 GB, free: 7.434 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.0007012/0.5016, allocations: 0.5287 MB / 0.4967 GB, free: 6.859 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.5016, allocations: 8.031 kB / 0.4967 GB, free: 6.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.397e-05/0.5017, allocations: 35.53 kB / 0.4967 GB, free: 6.816 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.5024, allocations: 333.2 kB / 0.497 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.5024, allocations: 4 kB / 0.497 GB, free: 6.445 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.5024, allocations: 7.938 kB / 0.497 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.5026, allocations: 77.61 kB / 0.4971 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.364e-06/0.5026, allocations: 0 / 0.4971 GB, free: 6.355 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5027, allocations: 8 kB / 0.4971 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.106e-06/0.5027, allocations: 4 kB / 0.4971 GB, free: 6.344 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.5028, allocations: 36 kB / 0.4972 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.5036, allocations: 452.5 kB / 0.4976 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.5037, allocations: 46.58 kB / 0.4976 GB, free: 5.762 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.795e-05/0.5038, allocations: 28.98 kB / 0.4977 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.962e-05/0.5039, allocations: 11.97 kB / 0.4977 GB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.5039, allocations: 30.56 kB / 0.4977 GB, free: 5.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.265e-06/0.5039, allocations: 0 / 0.4977 GB, free: 5.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003032/0.5043, allocations: 105.1 kB / 0.4978 GB, free: 5.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.5043, allocations: 55.41 kB / 0.4979 GB, free: 5.504 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008408/0.5052, allocations: 487.1 kB / 0.4983 GB, free: 5.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.5052, allocations: 25.7 kB / 0.4983 GB, free: 4.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.5054, allocations: 230.7 kB / 0.4986 GB, free: 4.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.5054, allocations: 23.7 kB / 0.4986 GB, free: 4.734 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-06/0.5055, allocations: 0 / 0.4986 GB, free: 4.734 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5056, allocations: 314.8 kB / 0.4989 GB, free: 4.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.5057, allocations: 16 kB / 0.4989 GB, free: 4.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.5057, allocations: 12 kB / 0.4989 GB, free: 4.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.46e-05/0.5058, allocations: 15.98 kB / 0.4989 GB, free: 4.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.331e-06/0.5058, allocations: 0 / 0.4989 GB, free: 4.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001683/0.506, allocations: 65.69 kB / 0.499 GB, free: 4.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.506, allocations: 8 kB / 0.499 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.14e-06/0.506, allocations: 0 / 0.499 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5061, allocations: 7.938 kB / 0.499 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.5062, allocations: 15.92 kB / 0.499 GB, free: 4.273 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5062, allocations: 3.953 kB / 0.499 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.5063, allocations: 15.84 kB / 0.499 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.5064, allocations: 4 kB / 0.499 GB, free: 4.25 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.721e-05/0.5065, allocations: 105 kB / 0.4991 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5066, allocations: 43.52 kB / 0.4992 GB, free: 4.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.5069, allocations: 117.1 kB / 0.4993 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.189e-06/0.5069, allocations: 0 / 0.4993 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.516e-06/0.5069, allocations: 0 / 0.4993 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.5069, allocations: 7.953 kB / 0.4993 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.5074, allocations: 289.5 kB / 0.4996 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-06/0.5074, allocations: 0 / 0.4996 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.759e-05/0.5075, allocations: 15.94 kB / 0.4996 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-06/0.5075, allocations: 4.312 kB / 0.4996 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.5075, allocations: 7.938 kB / 0.4996 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.494e-06/0.5076, allocations: 4 kB / 0.4996 GB, free: 3.609 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.01e-06/0.5076, allocations: 3.984 kB / 0.4996 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002929/0.5079, allocations: 195 kB / 0.4998 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.5081, allocations: 140.6 kB / 0.4999 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.5081, allocations: 7.984 kB / 0.4999 GB, free: 3.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001528/0.5083, allocations: 4 kB / 0.5 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.5083, allocations: 4 kB / 0.5 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.5084, allocations: 8 kB / 0.5 GB, free: 3.219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006456/0.509, allocations: 393.1 kB / 0.5003 GB, free: 2.836 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.509, allocations: 0 / 0.5003 GB, free: 2.836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004238/0.5095, allocations: 47.94 kB / 0.5004 GB, free: 2.789 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.002162/0.5116, allocations: 0.5815 MB / 0.501 GB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.5118, allocations: 43.98 kB / 0.501 GB, free: 2.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.961e-06/0.5119, allocations: 4 kB / 0.501 GB, free: 2.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.948e-05/0.5119, allocations: 19.94 kB / 0.501 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.5124, allocations: 71.81 kB / 0.5011 GB, free: 2.277 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.5135, allocations: 485.9 kB / 0.5015 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/0.5141, allocations: 0.7946 MB / 0.5023 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.5142, allocations: 31.36 kB / 0.5024 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of SimCode: time 1.84e-06/0.5142, allocations: 0 / 0.5024 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of Templates: time 0.00822/0.5224, allocations: 3.94 MB / 0.5062 GB, free: 12.98 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test19CalcHelperMain.o] Error 1