Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.899/3.899, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5596/4.459, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/4.703, allocations: 98.72 MB / 0.6283 GB, free: 9.777 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/4.949, allocations: 124.8 MB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003594/4.949, allocations: 91.58 kB / 0.7503 GB, free: 12.67 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.01379/4.963, allocations: 2.555 MB / 0.7528 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/4.963, allocations: 15.94 kB / 0.7528 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/4.963, allocations: 0 / 0.7528 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/4.963, allocations: 163.1 kB / 0.753 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/4.963, allocations: 0 / 0.753 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/4.963, allocations: 7.906 kB / 0.753 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.143e-05/4.964, allocations: 4 kB / 0.753 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.613e-05/4.964, allocations: 37.69 kB / 0.753 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/4.964, allocations: 4 kB / 0.753 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/4.964, allocations: 0 / 0.753 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/4.964, allocations: 4 kB / 0.753 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001776/4.964, allocations: 122.2 kB / 0.7531 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/4.964, allocations: 38.55 kB / 0.7532 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.595e-05/4.964, allocations: 8.922 kB / 0.7532 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002213/4.966, allocations: 0.637 MB / 0.7538 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/4.966, allocations: 42.45 kB / 0.7539 GB, free: 8.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.755e-06/4.966, allocations: 4 kB / 0.7539 GB, free: 8.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002389/4.967, allocations: 41.7 kB / 0.7539 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/4.967, allocations: 51.41 kB / 0.7539 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/4.967, allocations: 92.98 kB / 0.754 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/4.967, allocations: 25.7 kB / 0.7541 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/4.967, allocations: 80.14 kB / 0.7541 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/4.967, allocations: 7.844 kB / 0.7541 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/4.967, allocations: 0 / 0.7541 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002017/4.967, allocations: 322.9 kB / 0.7545 GB, free: 8.16 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/4.967, allocations: 7.938 kB / 0.7545 GB, free: 8.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/4.967, allocations: 8.031 kB / 0.7545 GB, free: 8.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/4.967, allocations: 7.984 kB / 0.7545 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/4.967, allocations: 7.875 kB / 0.7545 GB, free: 8.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001386/4.967, allocations: 37.7 kB / 0.7545 GB, free: 8.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/4.967, allocations: 8 kB / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/4.968, allocations: 0 / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/4.968, allocations: 0 / 0.7545 GB, free: 8.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.639e-05/4.968, allocations: 7.984 kB / 0.7545 GB, free: 8.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/4.968, allocations: 4 kB / 0.7545 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/4.968, allocations: 0 / 0.7545 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/4.968, allocations: 4 kB / 0.7545 GB, free: 8.062 MB / 0.6355 GB 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 (3): * Single equations (assignments): 3 * 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.946e-05/4.968, allocations: 104.9 kB / 0.7546 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/4.968, allocations: 0 / 0.7546 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/4.968, allocations: 53.31 kB / 0.7547 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/4.968, allocations: 4 kB / 0.7547 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/4.968, allocations: 4 kB / 0.7547 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/4.968, allocations: 3.906 kB / 0.7547 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/4.968, allocations: 130.2 kB / 0.7548 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/4.968, allocations: 0 / 0.7548 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/4.968, allocations: 4 kB / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/4.968, allocations: 0 / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/4.968, allocations: 0 / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/4.968, allocations: 0 / 0.7548 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/4.968, allocations: 3.984 kB / 0.7548 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001534/4.969, allocations: 80.92 kB / 0.7549 GB, free: 7.613 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000273/4.969, allocations: 453.4 kB / 0.7553 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/4.969, allocations: 77.11 kB / 0.7554 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/4.969, allocations: 0 / 0.7554 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.093e-05/4.969, allocations: 0 / 0.7554 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/4.969, allocations: 4 kB / 0.7554 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.558e-06/4.969, allocations: 4 kB / 0.7554 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.947e-05/4.969, allocations: 75.28 kB / 0.7555 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001149/4.97, allocations: 39.83 kB / 0.7555 GB, free: 6.934 MB / 0.6355 GB 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 (3): * Single equations (assignments): 3 * 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.0003838/4.971, allocations: 139.5 kB / 0.7557 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/4.971, allocations: 11.94 kB / 0.7557 GB, free: 6.773 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/4.971, allocations: 4 kB / 0.7557 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-05/4.971, allocations: 8 kB / 0.7557 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/4.971, allocations: 7.984 kB / 0.7557 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/4.971, allocations: 55.88 kB / 0.7558 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/4.972, allocations: 0.6915 MB / 0.7564 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of SimCode: time 7.31e-07/4.972, allocations: 0 / 0.7564 GB, free: 5.961 MB / 0.6355 GB