Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.ConservationEquation,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Interfaces_Examples_ConservationEquation",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.216/4.216, allocations: 403.9 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.252/4.468, allocations: 95.01 MB / 0.4941 GB, free: 7.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/5.062, allocations: 92.68 MB / 0.5846 GB, free: 3.387 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.105/6.166, allocations: 363.7 MB / 0.9398 GB, free: 67.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004614/6.167, allocations: 88.33 kB / 0.9399 GB, free: 67.77 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 1.455/7.622, allocations: 236.9 MB / 1.171 GB, free: 219.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/7.622, allocations: 15.98 kB / 1.171 GB, free: 219.5 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/7.625, allocations: 203.9 kB / 1.171 GB, free: 219.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05979/7.685, allocations: 11.16 MB / 1.182 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001348/7.686, allocations: 89.75 kB / 1.182 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003418/7.686, allocations: 28 kB / 1.182 GB, free: 208.2 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001725/7.688, allocations: 329.9 kB / 1.183 GB, free: 207.9 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/7.691, allocations: 0.4992 MB / 1.183 GB, free: 207.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/7.691, allocations: 4 kB / 1.183 GB, free: 207.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/7.691, allocations: 4 kB / 1.183 GB, free: 207.4 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/7.691, allocations: 23.86 kB / 1.183 GB, free: 207.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006884/7.698, allocations: 3.078 MB / 1.186 GB, free: 204.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/7.699, allocations: 296.1 kB / 1.187 GB, free: 203.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005105/7.7, allocations: 189.6 kB / 1.187 GB, free: 203.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.528e-05/7.7, allocations: 12.06 kB / 1.187 GB, free: 203.6 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006081/7.7, allocations: 281.7 kB / 1.187 GB, free: 203.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=35): time 4.208e-06/7.7, allocations: 0 / 1.187 GB, free: 203.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36): time 0.01392/7.714, allocations: 1.542 MB / 1.188 GB, free: 201.7 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/7.714, allocations: 191.9 kB / 1.189 GB, free: 201.4 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000993/7.715, allocations: 381.2 kB / 1.189 GB, free: 201.1 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/7.716, allocations: 29.7 kB / 1.189 GB, free: 201 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/7.716, allocations: 243.7 kB / 1.189 GB, free: 200.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/7.716, allocations: 125.7 kB / 1.189 GB, free: 200.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/7.717, allocations: 4 kB / 1.189 GB, free: 200.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002009/7.717, allocations: 358.8 kB / 1.19 GB, free: 200.3 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/7.717, allocations: 140.8 kB / 1.19 GB, free: 200.2 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006773/7.718, allocations: 298.7 kB / 1.19 GB, free: 199.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/7.719, allocations: 177.3 kB / 1.19 GB, free: 199.6 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/7.719, allocations: 4 kB / 1.19 GB, free: 199.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0129/7.732, allocations: 0.8413 MB / 1.191 GB, free: 198.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004835/7.733, allocations: 1.481 MB / 1.193 GB, free: 197.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/7.733, allocations: 6.625 kB / 1.193 GB, free: 197.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006334/7.733, allocations: 76.81 kB / 1.193 GB, free: 197.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/7.735, allocations: 121.1 kB / 1.193 GB, free: 197 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/7.737, allocations: 0.7446 MB / 1.194 GB, free: 196.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/7.739, allocations: 86.3 kB / 1.194 GB, free: 196.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/7.739, allocations: 28 kB / 1.194 GB, free: 196.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/7.739, allocations: 4 kB / 1.194 GB, free: 196.1 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001579/7.741, allocations: 403 kB / 1.194 GB, free: 195.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/7.741, allocations: 4 kB / 1.194 GB, free: 195.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/7.741, allocations: 56.52 kB / 1.194 GB, free: 195.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/7.742, allocations: 115.7 kB / 1.194 GB, free: 195.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/7.745, allocations: 1.508 MB / 1.196 GB, free: 194 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/7.746, allocations: 66.72 kB / 1.196 GB, free: 193.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/7.746, allocations: 24.05 kB / 1.196 GB, free: 193.9 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (43): * Single equations (assignments): 41 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003332/7.747, allocations: 154.5 kB / 1.196 GB, free: 193.7 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/7.747, allocations: 55.34 kB / 1.196 GB, free: 193.7 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007693/7.755, allocations: 0.765 MB / 1.197 GB, free: 192.9 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/7.755, allocations: 4 kB / 1.197 GB, free: 192.9 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/7.755, allocations: 10.81 kB / 1.197 GB, free: 192.9 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008141/7.763, allocations: 0.9274 MB / 1.198 GB, free: 191.9 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/7.777, allocations: 1.588 MB / 1.199 GB, free: 190.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/7.777, allocations: 7.75 kB / 1.199 GB, free: 190.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001351/7.778, allocations: 75.2 kB / 1.199 GB, free: 190.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005237/7.779, allocations: 108.9 kB / 1.199 GB, free: 190.1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-05/7.779, allocations: 7.984 kB / 1.199 GB, free: 190.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01273/7.792, allocations: 2.648 MB / 1.202 GB, free: 187.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-06/7.792, allocations: 4 kB / 1.202 GB, free: 187.3 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008119/7.8, allocations: 1.171 MB / 1.203 GB, free: 186.1 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009206/7.809, allocations: 1.771 MB / 1.205 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006123/7.81, allocations: 184.2 kB / 1.205 GB, free: 184.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/7.81, allocations: 4 kB / 1.205 GB, free: 184.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/7.812, allocations: 79.92 kB / 1.205 GB, free: 184 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/7.812, allocations: 31.88 kB / 1.205 GB, free: 183.9 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/7.812, allocations: 19.98 kB / 1.205 GB, free: 183.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0005537/7.813, allocations: 294.9 kB / 1.205 GB, free: 183.6 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005028/7.818, allocations: 423.8 kB / 1.206 GB, free: 183.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (dyn.U) * 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 (25): * Single equations (assignments): 22 * 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: 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001318/7.819, allocations: 399.5 kB / 1.206 GB, free: 182.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003799/7.823, allocations: 0.8428 MB / 1.207 GB, free: 182 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/7.823, allocations: 0 / 1.207 GB, free: 182 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/7.825, allocations: 436.3 kB / 1.207 GB, free: 181.6 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/7.828, allocations: 231.5 kB / 1.208 GB, free: 181.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/7.831, allocations: 0.8664 MB / 1.209 GB, free: 180.5 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008247/7.832, allocations: 0.9611 MB / 1.209 GB, free: 179.5 MB / 0.7605 GB Notification: Performance of SimCode: time 1.382e-06/7.832, allocations: 3.938 kB / 1.209 GB, free: 179.5 MB / 0.7605 GB