Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 4.294/4.294, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2777/4.572, allocations: 95.02 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5429/5.115, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.677/11.79, allocations: 2.4 GB / 2.984 GB, free: 199.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004701/11.79, allocations: 80.69 kB / 2.985 GB, free: 199.9 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 3.588/15.38, allocations: 0.6257 GB / 3.61 GB, free: 148.1 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/15.38, allocations: 11.31 kB / 3.61 GB, free: 148.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009146/15.39, allocations: 0.6017 MB / 3.611 GB, free: 148 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06708/15.46, allocations: 12.54 MB / 3.623 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004461/15.46, allocations: 341.7 kB / 3.623 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009349/15.46, allocations: 64.03 kB / 3.624 GB, free: 146.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006684/15.47, allocations: 1.062 MB / 3.625 GB, free: 146.3 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007305/15.48, allocations: 1.374 MB / 3.626 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/15.48, allocations: 3.562 kB / 3.626 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/15.48, allocations: 7.906 kB / 3.626 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/15.48, allocations: 61.86 kB / 3.626 GB, free: 145.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01905/15.5, allocations: 6.496 MB / 3.632 GB, free: 141.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/15.5, allocations: 0.6925 MB / 3.633 GB, free: 140.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/15.5, allocations: 433.7 kB / 3.633 GB, free: 140.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-05/15.5, allocations: 18.84 kB / 3.633 GB, free: 140.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001598/15.5, allocations: 0.7704 MB / 3.634 GB, free: 139.8 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 4.889e-06/15.5, allocations: 0 / 3.634 GB, free: 139.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=62): time 0.002951/15.5, allocations: 0.7946 MB / 3.635 GB, free: 139.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002956/15.51, allocations: 1.065 MB / 3.636 GB, free: 138.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/15.51, allocations: 0.8048 MB / 3.637 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003318/15.51, allocations: 29.67 kB / 3.637 GB, free: 137.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005451/15.51, allocations: 0.5356 MB / 3.637 GB, free: 137.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/15.51, allocations: 210.2 kB / 3.638 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/15.51, allocations: 0 / 3.638 GB, free: 137.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/15.51, allocations: 349 kB / 3.638 GB, free: 136.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/15.51, allocations: 390.6 kB / 3.638 GB, free: 136.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/15.51, allocations: 0.9185 MB / 3.639 GB, free: 136 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/15.51, allocations: 0.516 MB / 3.64 GB, free: 135.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/15.51, allocations: 3.156 kB / 3.64 GB, free: 135.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00558/15.52, allocations: 1.199 MB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/15.52, allocations: 7.875 kB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.635e-05/15.52, allocations: 12.53 kB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.459e-05/15.52, allocations: 22.56 kB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/15.52, allocations: 318.9 kB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.062e-05/15.52, allocations: 25.53 kB / 3.641 GB, free: 135.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/15.53, allocations: 345.6 kB / 3.642 GB, free: 135.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004815/15.53, allocations: 68.55 kB / 3.642 GB, free: 135.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.0005609/15.53, allocations: 187.2 kB / 3.642 GB, free: 135.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005323/15.53, allocations: 120.2 kB / 3.642 GB, free: 135 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/15.53, allocations: 119.8 kB / 3.642 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/15.53, allocations: 9.062 kB / 3.642 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/15.53, allocations: 5.531 kB / 3.642 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/15.53, allocations: 8.453 kB / 3.642 GB, free: 134.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/15.54, allocations: 4.83 MB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/15.54, allocations: 8.531 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/15.54, allocations: 143.1 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.574e-05/15.54, allocations: 17.25 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/15.54, allocations: 23.47 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.378e-05/15.54, allocations: 17.67 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-05/15.54, allocations: 13.56 kB / 3.647 GB, free: 131.9 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003362/15.55, allocations: 1.662 MB / 3.649 GB, free: 130 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004004/15.55, allocations: 2.129 MB / 3.651 GB, free: 127.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/15.55, allocations: 347.2 kB / 3.651 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005203/15.55, allocations: 18.48 kB / 3.651 GB, free: 127.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003458/15.56, allocations: 152.7 kB / 3.651 GB, free: 127.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/15.56, allocations: 64.62 kB / 3.651 GB, free: 127.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/15.56, allocations: 37.72 kB / 3.651 GB, free: 127.1 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001574/15.56, allocations: 0.6035 MB / 3.652 GB, free: 126.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004802/15.56, allocations: 0.6595 MB / 3.652 GB, free: 125.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * 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.003268/15.57, allocations: 1.71 MB / 3.654 GB, free: 124.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002938/15.57, allocations: 0.9263 MB / 3.655 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/15.57, allocations: 7.062 kB / 3.655 GB, free: 123.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/15.57, allocations: 453.5 kB / 3.655 GB, free: 123.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005593/15.58, allocations: 388.9 kB / 3.656 GB, free: 122.7 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009674/15.59, allocations: 1.759 MB / 3.658 GB, free: 120.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001986/15.59, allocations: 1.297 MB / 3.659 GB, free: 119.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.733e-06/15.59, allocations: 0 / 3.659 GB, free: 119.5 MB / 0.7761 GB