Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",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.328/4.328, allocations: 404 MB / 410.9 MB, free: 4.949 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2881/4.616, allocations: 95 MB / 0.4941 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6388/5.255, allocations: 92.68 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.482/11.74, allocations: 2.495 GB / 3.08 GB, free: 39.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/11.74, allocations: 92.52 kB / 3.08 GB, free: 39.65 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2045 * Number of variables: 2045 Notification: Performance of Generate backend data structure: time 13.03/24.77, allocations: 2.391 GB / 5.47 GB, free: 50.56 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/24.77, allocations: 14.94 kB / 5.47 GB, free: 50.55 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02739/24.79, allocations: 2.352 MB / 5.473 GB, free: 49.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08775/24.88, allocations: 19.35 MB / 5.491 GB, free: 45.04 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006458/24.88, allocations: 257 kB / 5.492 GB, free: 45.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004461/24.89, allocations: 489.2 kB / 5.492 GB, free: 45.04 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03966/24.93, allocations: 9.369 MB / 5.501 GB, free: 40.02 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0443/24.97, allocations: 9.823 MB / 5.511 GB, free: 31.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007058/24.97, allocations: 23.78 kB / 5.511 GB, free: 31.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003986/24.98, allocations: 16 kB / 5.511 GB, free: 31.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003133/24.98, allocations: 242.5 kB / 5.511 GB, free: 31.13 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.191/25.17, allocations: 46.07 MB / 5.556 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01669/25.18, allocations: 4.621 MB / 5.561 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01324/25.2, allocations: 3.886 MB / 5.564 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.876/26.07, allocations: 14.64 MB / 5.579 GB, free: 151.4 MB / 0.8543 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01254/26.09, allocations: 3.763 MB / 5.582 GB, free: 151.2 MB / 0.8543 GB Notification: Performance of pre-optimization done (n=550): time 1.391e-05/26.09, allocations: 3.281 kB / 5.582 GB, free: 151.2 MB / 0.8543 GB Notification: Performance of matching and sorting (n=567): time 0.1295/26.22, allocations: 21.35 MB / 5.603 GB, free: 147.7 MB / 0.8543 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002188/26.22, allocations: 382.6 kB / 5.604 GB, free: 147.3 MB / 0.8543 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02826/26.24, allocations: 6.138 MB / 5.61 GB, free: 146.9 MB / 0.8543 GB Notification: Performance of collectPreVariables (initialization): time 0.002533/26.25, allocations: 34.52 kB / 5.61 GB, free: 146.9 MB / 0.8543 GB Notification: Performance of collectInitialEqns (initialization): time 0.008829/26.26, allocations: 2.907 MB / 5.612 GB, free: 145.8 MB / 0.8543 GB Notification: Performance of collectInitialBindings (initialization): time 0.009698/26.27, allocations: 1.877 MB / 5.614 GB, free: 144.6 MB / 0.8543 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002627/26.27, allocations: 0 / 5.614 GB, free: 144.6 MB / 0.8543 GB Notification: Performance of setup shared object (initialization): time 0.00121/26.27, allocations: 0.5838 MB / 5.615 GB, free: 144.3 MB / 0.8543 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0175/26.29, allocations: 3.431 MB / 5.618 GB, free: 144.3 MB / 0.8543 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02/26.31, allocations: 5.064 MB / 5.623 GB, free: 142.5 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07109/26.38, allocations: 6.353 MB / 5.629 GB, free: 142.4 MB / 0.8543 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/26.38, allocations: 12.91 kB / 5.629 GB, free: 142.4 MB / 0.8543 GB Notification: Performance of matching and sorting (n=885) (initialization): time 0.08421/26.46, allocations: 11.74 MB / 5.641 GB, free: 141.8 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 0.004735/26.47, allocations: 22.09 MB / 5.662 GB, free: 118.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002865/26.47, allocations: 43.78 kB / 5.662 GB, free: 118.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005396/26.47, allocations: 0.6025 MB / 5.663 GB, free: 118.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01948/26.49, allocations: 1.716 MB / 5.665 GB, free: 118.8 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/26.5, allocations: 3.728 MB / 5.668 GB, free: 117.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01856/26.52, allocations: 0.5038 MB / 5.669 GB, free: 117 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003044/26.52, allocations: 333.6 kB / 5.669 GB, free: 117 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/26.52, allocations: 3.094 kB / 5.669 GB, free: 117 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06813/26.59, allocations: 10.91 MB / 5.68 GB, free: 116.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002355/26.59, allocations: 44.72 kB / 5.68 GB, free: 116.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005157/26.6, allocations: 0.6302 MB / 5.681 GB, free: 116.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01869/26.62, allocations: 1.693 MB / 5.682 GB, free: 116.8 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009988/26.63, allocations: 3.755 MB / 5.686 GB, free: 115.1 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01651/26.64, allocations: 497.7 kB / 5.686 GB, free: 115 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002613/26.65, allocations: 328.8 kB / 5.687 GB, free: 115 MB / 0.8543 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (861): * Single equations (assignments): 854 * 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: 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 4,1 17} Notification: Performance of prepare postOptimizeDAE: time 0.003982/26.65, allocations: 272.2 kB / 5.687 GB, free: 114.9 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004973/26.66, allocations: 0.7241 MB / 5.688 GB, free: 114.5 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05626/26.71, allocations: 10.33 MB / 5.698 GB, free: 114 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001632/26.71, allocations: 70.3 kB / 5.698 GB, free: 114 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.648e-05/26.71, allocations: 0 / 5.698 GB, free: 114 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04361/26.76, allocations: 8.355 MB / 5.706 GB, free: 113.4 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08432/26.84, allocations: 19.72 MB / 5.725 GB, free: 111.6 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.077e-05/26.84, allocations: 15.02 kB / 5.725 GB, free: 111.6 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01506/26.86, allocations: 1.19 MB / 5.726 GB, free: 111.6 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/26.86, allocations: 0.8546 MB / 5.727 GB, free: 111.5 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001798/26.86, allocations: 119.4 kB / 5.727 GB, free: 111.5 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/26.87, allocations: 10.95 MB / 5.738 GB, free: 102.1 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-05/26.87, allocations: 23.08 kB / 5.738 GB, free: 102.1 MB / 0.8543 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05762/26.93, allocations: 15.97 MB / 5.754 GB, free: 98.18 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0708/27, allocations: 21.22 MB / 5.774 GB, free: 93.81 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009391/27.01, allocations: 1.883 MB / 5.776 GB, free: 93.31 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004749/27.01, allocations: 42.64 kB / 5.776 GB, free: 93.31 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0192/27.03, allocations: 0.686 MB / 5.777 GB, free: 93.28 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002275/27.04, allocations: 351.4 kB / 5.777 GB, free: 93.26 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001809/27.04, allocations: 237.3 kB / 5.777 GB, free: 93.26 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.01855/27.06, allocations: 4.676 MB / 5.782 GB, free: 93.05 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.04522/27.1, allocations: 4.807 MB / 5.787 GB, free: 93 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (575): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 18 {1 3,1 3,1 3,1 3,1 4,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01091/27.11, allocations: 2.401 MB / 5.789 GB, free: 92.58 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.04677/27.16, allocations: 13.48 MB / 5.802 GB, free: 91.97 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 2.167e-05/27.16, allocations: 4.531 kB / 5.802 GB, free: 91.97 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/27.17, allocations: 3.79 MB / 5.806 GB, free: 91.82 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03925/27.21, allocations: 3.691 MB / 5.81 GB, free: 91.75 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07396/27.29, allocations: 18.05 MB / 5.827 GB, free: 86.12 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02502/27.31, allocations: 7.163 MB / 5.834 GB, free: 83.86 MB / 0.8543 GB Notification: Performance of SimCode: time 1.854e-06/27.31, allocations: 0 / 5.834 GB, free: 83.86 MB / 0.8543 GB