Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.29/4.29, allocations: 403.9 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.265/4.555, allocations: 95.01 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5337/5.089, allocations: 92.68 MB / 0.5846 GB, free: 3.426 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/10.39, allocations: 2.157 GB / 2.742 GB, free: 167.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/10.39, allocations: 90.44 kB / 2.742 GB, free: 167.3 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 9.244/19.64, allocations: 1.74 GB / 4.482 GB, free: 219.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/19.64, allocations: 6.844 kB / 4.482 GB, free: 219.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001658/19.64, allocations: 180.6 kB / 4.482 GB, free: 219.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/19.64, allocations: 1.044 MB / 4.483 GB, free: 218.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/19.64, allocations: 29.5 kB / 4.483 GB, free: 218.9 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/19.64, allocations: 41.34 kB / 4.483 GB, free: 218.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001932/19.64, allocations: 0.5847 MB / 4.484 GB, free: 218.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/19.65, allocations: 0.8027 MB / 4.484 GB, free: 218.5 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/19.65, allocations: 4.344 kB / 4.484 GB, free: 218.5 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/19.65, allocations: 3.781 kB / 4.484 GB, free: 218.5 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/19.65, allocations: 22.59 kB / 4.484 GB, free: 218.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00836/19.66, allocations: 5.007 MB / 4.489 GB, free: 214.5 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/19.66, allocations: 0.52 MB / 4.49 GB, free: 214.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/19.66, allocations: 274.5 kB / 4.49 GB, free: 214.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.974e-05/19.66, allocations: 7.812 kB / 4.49 GB, free: 214.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007489/19.66, allocations: 397.9 kB / 4.49 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 5.42e-06/19.66, allocations: 0 / 4.49 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36): time 0.02903/19.69, allocations: 2.421 MB / 4.493 GB, free: 213.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/19.69, allocations: 444.7 kB / 4.493 GB, free: 213.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/19.69, allocations: 0.885 MB / 4.494 GB, free: 212.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003078/19.69, allocations: 33.52 kB / 4.494 GB, free: 212.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005447/19.69, allocations: 395.3 kB / 4.494 GB, free: 212.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/19.69, allocations: 128 kB / 4.495 GB, free: 212.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.993e-05/19.69, allocations: 3.969 kB / 4.495 GB, free: 212.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/19.69, allocations: 321.5 kB / 4.495 GB, free: 212.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009286/19.69, allocations: 353.7 kB / 4.495 GB, free: 212 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/19.69, allocations: 0.7255 MB / 4.496 GB, free: 211.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/19.7, allocations: 414.5 kB / 4.496 GB, free: 211.4 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/19.7, allocations: 4.844 kB / 4.496 GB, free: 211.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.03539/19.73, allocations: 2.399 MB / 4.499 GB, free: 211 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008616/19.73, allocations: 2.535 MB / 4.501 GB, free: 208.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.27e-05/19.73, allocations: 10.78 kB / 4.501 GB, free: 208.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/19.74, allocations: 0.5642 MB / 4.502 GB, free: 208.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/19.74, allocations: 91.86 kB / 4.502 GB, free: 208.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/19.74, allocations: 1.619 MB / 4.503 GB, free: 207.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/19.75, allocations: 163.3 kB / 4.504 GB, free: 207.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/19.75, allocations: 30.89 kB / 4.504 GB, free: 207.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/19.75, allocations: 10.97 kB / 4.504 GB, free: 207.2 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003903/19.75, allocations: 0.6743 MB / 4.504 GB, free: 206.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/19.75, allocations: 6.625 kB / 4.504 GB, free: 206.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001627/19.75, allocations: 205.9 kB / 4.504 GB, free: 206.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/19.75, allocations: 92.27 kB / 4.505 GB, free: 206.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/19.76, allocations: 2.764 MB / 4.507 GB, free: 204.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/19.77, allocations: 92.73 kB / 4.507 GB, free: 204.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/19.77, allocations: 28 kB / 4.507 GB, free: 204.1 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 45 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005253/19.77, allocations: 136 kB / 4.507 GB, free: 204 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/19.77, allocations: 102.8 kB / 4.508 GB, free: 203.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/19.77, allocations: 104.4 kB / 4.508 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/19.77, allocations: 4 kB / 4.508 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/19.77, allocations: 4 kB / 4.508 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/19.77, allocations: 3.984 kB / 4.508 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/19.77, allocations: 1.797 MB / 4.509 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/19.77, allocations: 4 kB / 4.509 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005061/19.77, allocations: 39.09 kB / 4.509 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002388/19.78, allocations: 0.5218 MB / 4.51 GB, free: 201.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/19.78, allocations: 7.984 kB / 4.51 GB, free: 201.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03854/19.81, allocations: 6.442 MB / 4.516 GB, free: 194.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/19.81, allocations: 5.312 kB / 4.516 GB, free: 194.9 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02162/19.84, allocations: 2.093 MB / 4.518 GB, free: 192.9 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02202/19.86, allocations: 2.516 MB / 4.521 GB, free: 190.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/19.86, allocations: 247.8 kB / 4.521 GB, free: 190 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004057/19.86, allocations: 4 kB / 4.521 GB, free: 190 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002789/19.86, allocations: 123.5 kB / 4.521 GB, free: 189.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/19.86, allocations: 31.86 kB / 4.521 GB, free: 189.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.786e-05/19.86, allocations: 19.98 kB / 4.521 GB, free: 189.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001632/19.86, allocations: 0.6923 MB / 4.522 GB, free: 189.1 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.006796/19.87, allocations: 0.8039 MB / 4.523 GB, free: 188.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002291/19.87, allocations: 1.102 MB / 4.524 GB, free: 187.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004203/19.88, allocations: 1.287 MB / 4.525 GB, free: 186 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/19.88, allocations: 0 / 4.525 GB, free: 186 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/19.88, allocations: 0.4966 MB / 4.525 GB, free: 185.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/19.88, allocations: 392.2 kB / 4.526 GB, free: 185.2 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/19.89, allocations: 1.776 MB / 4.528 GB, free: 183.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/19.89, allocations: 1.288 MB / 4.529 GB, free: 182 MB / 0.7761 GB Notification: Performance of SimCode: time 1.793e-06/19.89, allocations: 0 / 4.529 GB, free: 182 MB / 0.7761 GB