Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",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.489/4.489, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.251/4.74, allocations: 95 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/5.251, allocations: 92.68 MB / 0.5846 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.099/6.351, allocations: 427.7 MB / 1.002 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/6.351, allocations: 97.25 kB / 1.002 GB, free: 5.789 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 5.745/12.1, allocations: 1.097 GB / 2.099 GB, free: 103 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/12.1, allocations: 16.34 kB / 2.099 GB, free: 103 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004963/12.1, allocations: 490 kB / 2.1 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/12.11, allocations: 2.346 MB / 2.102 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/12.11, allocations: 36.66 kB / 2.102 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/12.11, allocations: 75.75 kB / 2.102 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00305/12.12, allocations: 0.8101 MB / 2.103 GB, free: 102.4 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/12.12, allocations: 1.136 MB / 2.104 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.882e-05/12.12, allocations: 6.625 kB / 2.104 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/12.12, allocations: 7.062 kB / 2.104 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.556e-05/12.12, allocations: 30.38 kB / 2.104 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01483/12.13, allocations: 7.083 MB / 2.111 GB, free: 97.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/12.14, allocations: 0.6278 MB / 2.112 GB, free: 97.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008529/12.14, allocations: 321.6 kB / 2.112 GB, free: 97.63 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006334/12.14, allocations: 2.345 MB / 2.114 GB, free: 95.99 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/12.14, allocations: 381.8 kB / 2.115 GB, free: 95.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=66): time 3.988e-06/12.14, allocations: 3.469 kB / 2.115 GB, free: 95.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=67): time 0.01241/12.16, allocations: 2.189 MB / 2.117 GB, free: 95.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/12.16, allocations: 200.5 kB / 2.117 GB, free: 95.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003011/12.16, allocations: 1.217 MB / 2.118 GB, free: 94.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/12.16, allocations: 29.3 kB / 2.118 GB, free: 94.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/12.16, allocations: 0.5793 MB / 2.119 GB, free: 94.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003522/12.16, allocations: 228.9 kB / 2.119 GB, free: 94.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.857e-05/12.16, allocations: 3.75 kB / 2.119 GB, free: 94.4 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001114/12.16, allocations: 347 kB / 2.119 GB, free: 94.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009204/12.16, allocations: 286.9 kB / 2.12 GB, free: 94.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/12.16, allocations: 0.6869 MB / 2.12 GB, free: 93.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/12.17, allocations: 0.5268 MB / 2.121 GB, free: 93.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/12.17, allocations: 4.656 kB / 2.121 GB, free: 93.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005289/12.17, allocations: 1.197 MB / 2.122 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008992/12.17, allocations: 4.057 MB / 2.126 GB, free: 89.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.493e-05/12.17, allocations: 11.62 kB / 2.126 GB, free: 89.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.345e-05/12.17, allocations: 21.38 kB / 2.126 GB, free: 89.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002702/12.18, allocations: 261.6 kB / 2.126 GB, free: 89.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/12.18, allocations: 27.7 kB / 2.126 GB, free: 89.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/12.18, allocations: 109.6 kB / 2.126 GB, free: 89.18 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/12.18, allocations: 58.2 kB / 2.126 GB, free: 89.18 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/12.18, allocations: 6.5 kB / 2.126 GB, free: 89.18 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004561/12.18, allocations: 0.9501 MB / 2.127 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/12.18, allocations: 18.42 kB / 2.127 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/12.18, allocations: 17.19 kB / 2.127 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/12.19, allocations: 248.8 kB / 2.128 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/12.19, allocations: 20.86 kB / 2.128 GB, free: 89.17 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/12.19, allocations: 100.5 kB / 2.128 GB, free: 89.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/12.19, allocations: 49.2 kB / 2.128 GB, free: 89.16 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.0003862/12.19, allocations: 140.5 kB / 2.128 GB, free: 89.05 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00038/12.19, allocations: 166.6 kB / 2.128 GB, free: 88.96 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005451/12.2, allocations: 1.165 MB / 2.129 GB, free: 88.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/12.2, allocations: 10.55 kB / 2.129 GB, free: 88.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/12.2, allocations: 3.906 kB / 2.129 GB, free: 88.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003513/12.2, allocations: 0.9493 MB / 2.13 GB, free: 88.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008049/12.21, allocations: 2.244 MB / 2.132 GB, free: 88.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/12.21, allocations: 3.938 kB / 2.132 GB, free: 88.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001971/12.21, allocations: 159.4 kB / 2.132 GB, free: 88.21 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000345/12.21, allocations: 60.81 kB / 2.133 GB, free: 88.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/12.21, allocations: 20.02 kB / 2.133 GB, free: 88.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006509/12.21, allocations: 0.6064 MB / 2.133 GB, free: 87.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/12.21, allocations: 0.5625 kB / 2.133 GB, free: 87.68 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005232/12.22, allocations: 1.664 MB / 2.135 GB, free: 87.16 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006687/12.22, allocations: 2.507 MB / 2.137 GB, free: 86.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/12.22, allocations: 328.1 kB / 2.138 GB, free: 86.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004404/12.22, allocations: 7.781 kB / 2.138 GB, free: 86.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/12.23, allocations: 96.17 kB / 2.138 GB, free: 86.08 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/12.23, allocations: 59.17 kB / 2.138 GB, free: 86.08 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/12.23, allocations: 35.81 kB / 2.138 GB, free: 86.08 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.002271/12.23, allocations: 0.9139 MB / 2.139 GB, free: 85.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.008615/12.24, allocations: 1.14 MB / 2.14 GB, free: 85.88 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003316/12.24, allocations: 1.147 MB / 2.141 GB, free: 85.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004077/12.25, allocations: 1.451 MB / 2.142 GB, free: 85.39 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/12.25, allocations: 2.5 kB / 2.142 GB, free: 85.39 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/12.25, allocations: 395.2 kB / 2.143 GB, free: 85.39 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006401/12.25, allocations: 0.6242 MB / 2.143 GB, free: 85.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009382/12.26, allocations: 2.444 MB / 2.146 GB, free: 84.69 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002304/12.26, allocations: 1.58 MB / 2.147 GB, free: 83.96 MB / 0.7761 GB Notification: Performance of SimCode: time 1.683e-06/12.26, allocations: 0 / 2.147 GB, free: 83.96 MB / 0.7761 GB