Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example4",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.209/4.209, allocations: 403.9 MB / 410.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2392/4.448, allocations: 95.01 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/4.974, allocations: 92.67 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.526/10.5, allocations: 2.196 GB / 2.781 GB, free: 19.57 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/10.5, allocations: 89.94 kB / 2.781 GB, free: 19.53 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 7.972/18.47, allocations: 1.401 GB / 4.182 GB, free: 83.54 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/18.47, allocations: 13.75 kB / 4.182 GB, free: 83.54 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006042/18.48, allocations: 0.5253 MB / 4.182 GB, free: 83.45 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005749/18.48, allocations: 1.269 MB / 4.184 GB, free: 83.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002305/18.49, allocations: 270.6 kB / 4.184 GB, free: 83.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005099/18.49, allocations: 73.91 kB / 4.184 GB, free: 83.03 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003508/18.49, allocations: 0.8957 MB / 4.185 GB, free: 83.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/18.49, allocations: 1.249 MB / 4.186 GB, free: 82.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/18.5, allocations: 7.875 kB / 4.186 GB, free: 82.67 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/18.5, allocations: 3.875 kB / 4.186 GB, free: 82.67 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/18.5, allocations: 53.88 kB / 4.186 GB, free: 82.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01651/18.51, allocations: 7.333 MB / 4.193 GB, free: 77.94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001556/18.51, allocations: 450.3 kB / 4.194 GB, free: 77.84 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005514/18.51, allocations: 209.8 kB / 4.194 GB, free: 77.81 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/18.51, allocations: 94.81 kB / 4.194 GB, free: 77.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/18.51, allocations: 52 kB / 4.194 GB, free: 77.67 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 4.658e-06/18.51, allocations: 3.516 kB / 4.194 GB, free: 77.67 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.002821/18.52, allocations: 0.5149 MB / 4.194 GB, free: 77.57 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.868e-05/18.52, allocations: 133.9 kB / 4.195 GB, free: 77.41 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/18.52, allocations: 0.9162 MB / 4.195 GB, free: 77.26 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002176/18.52, allocations: 29.39 kB / 4.195 GB, free: 77.23 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/18.52, allocations: 0.6147 MB / 4.196 GB, free: 76.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/18.52, allocations: 117.4 kB / 4.196 GB, free: 76.77 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/18.52, allocations: 0 / 4.196 GB, free: 76.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.678e-05/18.52, allocations: 346.7 kB / 4.197 GB, free: 76.46 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/18.52, allocations: 241.9 kB / 4.197 GB, free: 76.46 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/18.52, allocations: 0.653 MB / 4.197 GB, free: 75.94 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/18.52, allocations: 344.5 kB / 4.198 GB, free: 75.93 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/18.52, allocations: 12.5 kB / 4.198 GB, free: 75.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002941/18.53, allocations: 0.8856 MB / 4.199 GB, free: 75.77 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001067/18.53, allocations: 4.958 MB / 4.203 GB, free: 70.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.719e-05/18.53, allocations: 12.12 kB / 4.203 GB, free: 70.61 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.15e-05/18.53, allocations: 24.12 kB / 4.203 GB, free: 70.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002717/18.53, allocations: 257 kB / 4.204 GB, free: 70.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.952e-05/18.53, allocations: 25.38 kB / 4.204 GB, free: 70.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/18.53, allocations: 210.7 kB / 4.204 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/18.53, allocations: 50.39 kB / 4.204 GB, free: 70.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/18.53, allocations: 6.75 kB / 4.204 GB, free: 70.54 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002405/18.54, allocations: 0.7331 MB / 4.205 GB, free: 70.47 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/18.54, allocations: 10.81 kB / 4.205 GB, free: 70.47 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/18.54, allocations: 19.47 kB / 4.205 GB, free: 70.47 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/18.54, allocations: 249.3 kB / 4.205 GB, free: 70.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.406e-05/18.54, allocations: 23.77 kB / 4.205 GB, free: 70.45 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00293/18.54, allocations: 166.3 kB / 4.205 GB, free: 70.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001921/18.54, allocations: 46.83 kB / 4.205 GB, free: 70.42 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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 0.0003823/18.54, allocations: 138.7 kB / 4.205 GB, free: 70.29 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004648/18.54, allocations: 126.2 kB / 4.205 GB, free: 70.23 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/18.55, allocations: 478.5 kB / 4.206 GB, free: 70.17 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/18.55, allocations: 8.75 kB / 4.206 GB, free: 70.17 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/18.55, allocations: 0 / 4.206 GB, free: 70.17 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/18.55, allocations: 5.25 kB / 4.206 GB, free: 70.17 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/18.55, allocations: 1.915 MB / 4.208 GB, free: 69.53 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/18.55, allocations: 3.656 kB / 4.208 GB, free: 69.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/18.55, allocations: 122.1 kB / 4.208 GB, free: 69.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/18.55, allocations: 3.938 kB / 4.208 GB, free: 69.52 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/18.55, allocations: 14.97 kB / 4.208 GB, free: 69.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/18.55, allocations: 7.656 kB / 4.208 GB, free: 69.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/18.55, allocations: 6.594 kB / 4.208 GB, free: 69.52 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001818/18.56, allocations: 0.8486 MB / 4.209 GB, free: 68.97 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002664/18.56, allocations: 1.433 MB / 4.21 GB, free: 68.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/18.56, allocations: 275.9 kB / 4.21 GB, free: 67.89 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/18.56, allocations: 11.31 kB / 4.21 GB, free: 67.89 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/18.56, allocations: 128.7 kB / 4.211 GB, free: 67.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/18.56, allocations: 31.05 kB / 4.211 GB, free: 67.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/18.56, allocations: 27.25 kB / 4.211 GB, free: 67.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.00167/18.56, allocations: 0.6777 MB / 4.211 GB, free: 67.77 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01028/18.58, allocations: 1.73 MB / 4.213 GB, free: 67.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.006669/18.58, allocations: 3.506 MB / 4.216 GB, free: 66.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003085/18.58, allocations: 0.9848 MB / 4.217 GB, free: 66.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/18.58, allocations: 3.906 kB / 4.217 GB, free: 66.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006526/18.59, allocations: 189.3 kB / 4.218 GB, free: 66.19 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/18.59, allocations: 406.9 kB / 4.218 GB, free: 66.17 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009334/18.6, allocations: 1.798 MB / 4.22 GB, free: 65.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001825/18.6, allocations: 1.368 MB / 4.221 GB, free: 64.86 MB / 0.823 GB Notification: Performance of SimCode: time 1.794e-06/18.6, allocations: 0 / 4.221 GB, free: 64.86 MB / 0.823 GB