Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.186/4.186, allocations: 403.9 MB / 410.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2686/4.455, allocations: 95.01 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5343/4.989, allocations: 92.69 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/10.55, allocations: 2.155 GB / 2.74 GB, free: 70.78 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/10.55, allocations: 92.61 kB / 2.74 GB, free: 70.73 MB / 0.7605 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.378/19.93, allocations: 1.728 GB / 4.468 GB, free: 53.87 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/19.93, allocations: 11.94 kB / 4.468 GB, free: 53.86 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/19.93, allocations: 186.3 kB / 4.468 GB, free: 53.68 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/19.93, allocations: 1.015 MB / 4.469 GB, free: 52.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/19.93, allocations: 23.91 kB / 4.469 GB, free: 52.59 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/19.93, allocations: 40 kB / 4.469 GB, free: 52.55 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002034/19.94, allocations: 0.5921 MB / 4.47 GB, free: 51.96 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/19.94, allocations: 0.8079 MB / 4.47 GB, free: 51.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.541e-05/19.94, allocations: 7.875 kB / 4.47 GB, free: 51.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/19.94, allocations: 4 kB / 4.47 GB, free: 51.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/19.94, allocations: 16 kB / 4.47 GB, free: 51.05 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009082/19.95, allocations: 5.014 MB / 4.475 GB, free: 45.64 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001463/19.95, allocations: 0.5235 MB / 4.476 GB, free: 45.09 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006969/19.95, allocations: 286 kB / 4.476 GB, free: 44.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/19.95, allocations: 12.25 kB / 4.476 GB, free: 44.79 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007874/19.95, allocations: 397.2 kB / 4.476 GB, free: 44.34 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 4.9e-06/19.95, allocations: 0 / 4.476 GB, free: 44.34 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36): time 0.006961/19.96, allocations: 0.9456 MB / 4.477 GB, free: 43.39 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/19.96, allocations: 457.1 kB / 4.478 GB, free: 42.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/19.96, allocations: 0.8869 MB / 4.479 GB, free: 41.93 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/19.96, allocations: 29.7 kB / 4.479 GB, free: 41.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.00044/19.96, allocations: 391.8 kB / 4.479 GB, free: 41.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/19.96, allocations: 122.2 kB / 4.479 GB, free: 41.38 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-05/19.96, allocations: 0 / 4.479 GB, free: 41.38 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/19.96, allocations: 330 kB / 4.479 GB, free: 41.05 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009417/19.96, allocations: 345.1 kB / 4.48 GB, free: 40.72 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/19.96, allocations: 0.7317 MB / 4.481 GB, free: 39.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001773/19.97, allocations: 433 kB / 4.481 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.887e-05/19.97, allocations: 0 / 4.481 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00503/19.97, allocations: 0.9469 MB / 4.482 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009451/19.97, allocations: 2.532 MB / 4.484 GB, free: 35.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.776e-05/19.97, allocations: 4 kB / 4.484 GB, free: 35.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.374e-05/19.97, allocations: 12 kB / 4.484 GB, free: 35.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/19.98, allocations: 211.7 kB / 4.485 GB, free: 35.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.343e-05/19.98, allocations: 11.94 kB / 4.485 GB, free: 35.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/19.98, allocations: 171.2 kB / 4.485 GB, free: 35.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/19.98, allocations: 31.98 kB / 4.485 GB, free: 35.29 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/19.98, allocations: 4 kB / 4.485 GB, free: 35.28 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/19.98, allocations: 0.5041 MB / 4.485 GB, free: 34.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/19.98, allocations: 15.84 kB / 4.485 GB, free: 34.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.976e-05/19.98, allocations: 8.812 kB / 4.485 GB, free: 34.75 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/19.99, allocations: 135.8 kB / 4.485 GB, free: 34.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/19.99, allocations: 19.92 kB / 4.485 GB, free: 34.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/19.99, allocations: 83.62 kB / 4.485 GB, free: 34.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/19.99, allocations: 28 kB / 4.486 GB, free: 34.49 MB / 0.7605 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 (66): * Single equations (assignments): 65 * 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.0005795/19.99, allocations: 136.5 kB / 4.486 GB, free: 34.35 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006238/19.99, allocations: 98.88 kB / 4.486 GB, free: 34.25 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006344/19.99, allocations: 112.2 kB / 4.486 GB, free: 34.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/19.99, allocations: 4 kB / 4.486 GB, free: 34.14 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/19.99, allocations: 4 kB / 4.486 GB, free: 34.14 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/19.99, allocations: 7.984 kB / 4.486 GB, free: 34.13 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006239/20, allocations: 1.806 MB / 4.488 GB, free: 32.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/20, allocations: 7.984 kB / 4.488 GB, free: 32.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003101/20, allocations: 152 kB / 4.488 GB, free: 32.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/20, allocations: 7.906 kB / 4.488 GB, free: 32.08 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/20, allocations: 11.98 kB / 4.488 GB, free: 32.07 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/20, allocations: 4 kB / 4.488 GB, free: 32.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/20, allocations: 7.938 kB / 4.488 GB, free: 32.05 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003132/20, allocations: 0.9014 MB / 4.489 GB, free: 31.05 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003352/20.01, allocations: 1.33 MB / 4.49 GB, free: 29.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/20.01, allocations: 259.7 kB / 4.49 GB, free: 29.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007665/20.01, allocations: 4 kB / 4.49 GB, free: 29.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004172/20.01, allocations: 123.8 kB / 4.49 GB, free: 29.21 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003466/20.01, allocations: 35.89 kB / 4.49 GB, free: 29.17 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/20.01, allocations: 15.98 kB / 4.49 GB, free: 29.16 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002402/20.02, allocations: 0.6884 MB / 4.491 GB, free: 28.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.008972/20.03, allocations: 0.714 MB / 4.492 GB, free: 27.74 MB / 0.7605 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 (36): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002947/20.03, allocations: 1.034 MB / 4.493 GB, free: 26.71 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004521/20.03, allocations: 1.105 MB / 4.494 GB, free: 25.6 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/20.03, allocations: 0 / 4.494 GB, free: 25.6 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/20.04, allocations: 356.1 kB / 4.494 GB, free: 25.25 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006814/20.04, allocations: 387.3 kB / 4.495 GB, free: 24.87 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/20.05, allocations: 1.678 MB / 4.496 GB, free: 23.13 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002778/20.05, allocations: 1.351 MB / 4.498 GB, free: 21.75 MB / 0.7605 GB Notification: Performance of SimCode: time 2.885e-06/20.05, allocations: 0 / 4.498 GB, free: 21.75 MB / 0.7605 GB