Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.514/4.514, allocations: 404 MB / 410.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2495/4.764, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/5.308, allocations: 92.67 MB / 0.5846 GB, free: 3.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/6.423, allocations: 381.8 MB / 0.9574 GB, free: 50.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003627/6.424, allocations: 88.7 kB / 0.9575 GB, free: 50.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 205 * Number of variables: 205 Notification: Performance of Generate backend data structure: time 2.025/8.449, allocations: 409.8 MB / 1.358 GB, free: 28.3 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/8.449, allocations: 8 kB / 1.358 GB, free: 28.29 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/8.45, allocations: 150.4 kB / 1.358 GB, free: 28.14 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09033/8.541, allocations: 22.11 MB / 1.379 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.974e-05/8.541, allocations: 24 kB / 1.379 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/8.541, allocations: 48 kB / 1.38 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001949/8.543, allocations: 0.5037 MB / 1.38 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/8.545, allocations: 0.8061 MB / 1.381 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.93e-05/8.545, allocations: 7.938 kB / 1.381 GB, free: 4.238 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/8.545, allocations: 3.984 kB / 1.381 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.05e-05/8.545, allocations: 31.91 kB / 1.381 GB, free: 4.203 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3301/8.876, allocations: 5.016 MB / 1.386 GB, free: 217.4 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/8.876, allocations: 254.4 kB / 1.386 GB, free: 217.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004177/8.877, allocations: 176 kB / 1.386 GB, free: 217.2 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/8.877, allocations: 176 kB / 1.386 GB, free: 217.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/8.877, allocations: 42.66 kB / 1.386 GB, free: 217 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/8.877, allocations: 0 / 1.386 GB, free: 217 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.004742/8.882, allocations: 1.465 MB / 1.388 GB, free: 216.3 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/8.882, allocations: 131.8 kB / 1.388 GB, free: 216.2 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/8.883, allocations: 0.6457 MB / 1.389 GB, free: 216 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/8.883, allocations: 28.11 kB / 1.389 GB, free: 216 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/8.884, allocations: 443.8 kB / 1.389 GB, free: 215.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/8.884, allocations: 127 kB / 1.389 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/8.884, allocations: 0 / 1.389 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/8.884, allocations: 331.6 kB / 1.389 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/8.885, allocations: 135.5 kB / 1.39 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000646/8.885, allocations: 432.6 kB / 1.39 GB, free: 215.1 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/8.886, allocations: 217.2 kB / 1.39 GB, free: 215.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/8.886, allocations: 7.078 kB / 1.39 GB, free: 215.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001884/8.888, allocations: 0.5796 MB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/8.888, allocations: 9.438 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/8.888, allocations: 7.438 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.952e-05/8.888, allocations: 13.66 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/8.889, allocations: 157.4 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/8.889, allocations: 15.94 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/8.891, allocations: 57.44 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/8.891, allocations: 37.64 kB / 1.391 GB, free: 215 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.000233/8.891, allocations: 130.2 kB / 1.391 GB, free: 214.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/8.892, allocations: 89.38 kB / 1.391 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001966/8.894, allocations: 466.9 kB / 1.392 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/8.894, allocations: 7.781 kB / 1.392 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/8.894, allocations: 7.281 kB / 1.392 GB, free: 214.8 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001179/8.895, allocations: 452.8 kB / 1.392 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00409/8.899, allocations: 1.574 MB / 1.394 GB, free: 214 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/8.899, allocations: 0 / 1.394 GB, free: 214 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007557/8.9, allocations: 81 kB / 1.394 GB, free: 214 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003953/8.9, allocations: 84.95 kB / 1.394 GB, free: 214 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/8.9, allocations: 11.3 kB / 1.394 GB, free: 214 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/8.901, allocations: 1.164 MB / 1.395 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/8.901, allocations: 11.22 kB / 1.395 GB, free: 212.9 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002012/8.903, allocations: 0.9058 MB / 1.396 GB, free: 212.5 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002734/8.906, allocations: 1.522 MB / 1.397 GB, free: 211.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006822/8.907, allocations: 214.6 kB / 1.398 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002184/8.907, allocations: 7.828 kB / 1.398 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/8.908, allocations: 57.53 kB / 1.398 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/8.908, allocations: 34.34 kB / 1.398 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/8.909, allocations: 20.91 kB / 1.398 GB, free: 211.5 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001129/8.91, allocations: 497.8 kB / 1.398 GB, free: 211.4 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00324/8.913, allocations: 388.1 kB / 1.399 GB, free: 211.4 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001441/8.914, allocations: 0.5356 MB / 1.399 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001163/8.916, allocations: 400.5 kB / 1.399 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.752e-06/8.916, allocations: 3.344 kB / 1.399 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/8.916, allocations: 180.6 kB / 1.4 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004699/8.921, allocations: 459.5 kB / 1.4 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/8.926, allocations: 1.285 MB / 1.401 GB, free: 210.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/8.927, allocations: 1.166 MB / 1.402 GB, free: 210.1 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/8.927, allocations: 3.844 kB / 1.402 GB, free: 210.1 MB / 0.7605 GB