Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedMassFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedMassFlow",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.104/4.104, allocations: 403.9 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2428/4.347, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5076/4.854, allocations: 92.67 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.236/11.09, allocations: 2.466 GB / 3.051 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/11.09, allocations: 82.2 kB / 3.051 GB, free: 107.3 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: 6861 * Number of variables: 6861 Notification: Performance of Generate backend data structure: time 115.2/126.3, allocations: 20.25 GB / 23.3 GB, free: 34.75 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/126.3, allocations: 17.97 kB / 23.3 GB, free: 34.75 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1005/126.4, allocations: 7.872 MB / 23.3 GB, free: 32.8 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3171/126.8, allocations: 75.65 MB / 23.38 GB, free: 28.08 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002385/126.8, allocations: 0.8307 MB / 23.38 GB, free: 28.08 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01992/126.8, allocations: 1.588 MB / 23.38 GB, free: 28.07 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2002/127, allocations: 51.91 MB / 23.43 GB, free: 27.96 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.231/127.2, allocations: 50.33 MB / 23.48 GB, free: 2.711 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002601/127.2, allocations: 72.59 kB / 23.48 GB, free: 2.656 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01708/127.2, allocations: 27.66 kB / 23.48 GB, free: 2.633 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001905/127.2, allocations: 1.196 MB / 23.48 GB, free: 1.52 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.983/129.2, allocations: 216.9 MB / 23.69 GB, free: 69.16 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06393/129.3, allocations: 21.03 MB / 23.71 GB, free: 68.99 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.06532/129.3, allocations: 23.18 MB / 23.74 GB, free: 68.76 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003869/129.3, allocations: 0.9205 MB / 23.74 GB, free: 68.09 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06509/129.4, allocations: 20.57 MB / 23.76 GB, free: 67.45 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1590): time 4.016e-05/129.4, allocations: 4.844 kB / 23.76 GB, free: 67.45 MB / 1.026 GB Notification: Performance of matching and sorting (n=1638): time 0.7601/130.2, allocations: 153.9 MB / 23.91 GB, free: 3.316 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004317/130.2, allocations: 0.9115 MB / 23.91 GB, free: 2.395 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9136/131.1, allocations: 30.41 MB / 23.94 GB, free: 130.1 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.007483/131.1, allocations: 47.52 kB / 23.94 GB, free: 130 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0348/131.1, allocations: 10.15 MB / 23.95 GB, free: 128.9 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.08904/131.2, allocations: 5.689 MB / 23.95 GB, free: 125.4 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006711/131.2, allocations: 0 / 23.95 GB, free: 125.4 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.003274/131.2, allocations: 1.107 MB / 23.95 GB, free: 125.1 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0512/131.3, allocations: 16.73 MB / 23.97 GB, free: 125 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0573/131.3, allocations: 20.85 MB / 23.99 GB, free: 120.7 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07184/131.4, allocations: 21.41 MB / 24.01 GB, free: 120.4 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002328/131.4, allocations: 22.81 kB / 24.01 GB, free: 120.4 MB / 1.026 GB Notification: Performance of matching and sorting (n=2099) (initialization): time 0.1606/131.6, allocations: 41.3 MB / 24.05 GB, free: 118.6 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01568/131.6, allocations: 64.76 MB / 24.12 GB, free: 52.32 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008695/131.6, allocations: 80.83 kB / 24.12 GB, free: 52.32 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00458/131.6, allocations: 1.112 MB / 24.12 GB, free: 52.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05187/131.6, allocations: 4.308 MB / 24.12 GB, free: 52.3 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07684/131.7, allocations: 12.29 MB / 24.13 GB, free: 49.02 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06706/131.8, allocations: 2.542 MB / 24.14 GB, free: 48.83 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008074/131.8, allocations: 0.7426 MB / 24.14 GB, free: 48.83 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/131.8, allocations: 8.469 kB / 24.14 GB, free: 48.83 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1349/131.9, allocations: 38.93 MB / 24.17 GB, free: 48.21 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006105/131.9, allocations: 77.31 kB / 24.17 GB, free: 48.21 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004068/131.9, allocations: 1.11 MB / 24.18 GB, free: 48.19 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05067/132, allocations: 4.216 MB / 24.18 GB, free: 48.19 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05328/132, allocations: 11.61 MB / 24.19 GB, free: 45.49 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05407/132.1, allocations: 2.49 MB / 24.19 GB, free: 45.31 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.009118/132.1, allocations: 0.7487 MB / 24.19 GB, free: 45.31 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2015): * Single equations (assignments): 2010 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 48,(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01493/132.1, allocations: 0.5356 MB / 24.19 GB, free: 45.09 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0156/132.1, allocations: 2.294 MB / 24.2 GB, free: 43.91 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1717/132.3, allocations: 42.22 MB / 24.24 GB, free: 42.62 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000428/132.3, allocations: 173.3 kB / 24.24 GB, free: 42.62 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001631/132.3, allocations: 15.59 kB / 24.24 GB, free: 42.62 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1222/132.4, allocations: 33.45 MB / 24.27 GB, free: 41.6 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.102/133.5, allocations: 90.16 MB / 24.36 GB, free: 115.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002222/133.5, allocations: 21.97 kB / 24.36 GB, free: 115.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.05448/133.6, allocations: 4.024 MB / 24.36 GB, free: 115.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007487/133.6, allocations: 1.896 MB / 24.36 GB, free: 115.4 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006016/133.6, allocations: 323.1 kB / 24.37 GB, free: 115.4 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06454/133.7, allocations: 23.82 MB / 24.39 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.267e-05/133.7, allocations: 35.38 kB / 24.39 GB, free: 100.5 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2158/133.9, allocations: 74.79 MB / 24.46 GB, free: 84.97 MB / 1.026 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2819/134.2, allocations: 101.6 MB / 24.56 GB, free: 68.93 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04812/134.2, allocations: 7.828 MB / 24.57 GB, free: 68.07 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01653/134.2, allocations: 232.1 kB / 24.57 GB, free: 68.07 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05536/134.3, allocations: 2.362 MB / 24.57 GB, free: 68 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008192/134.3, allocations: 0.8606 MB / 24.57 GB, free: 67.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007216/134.3, allocations: 0.5616 MB / 24.57 GB, free: 67.96 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.08854/134.4, allocations: 21.48 MB / 24.59 GB, free: 67.36 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.2381/134.6, allocations: 15.87 MB / 24.61 GB, free: 67.36 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 98 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[1].ele[1,4].vol1.dynBal.U,hex.hexReg[1].ele[1,4].vol2.dynBal.U,hex.hexReg[1].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,4].mas.T,hex.hexReg[1].ele[2,1].vol1.dynBal.U,hex.hexReg[1].ele[2,1].vol2.dynBal.U,hex.hexReg[1].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,1].mas.T,hex.hexReg[1].ele[2,2].vol1.dynBal.U,hex.hexReg[1].ele[2,2].vol2.dynBal.U,hex.hexReg[1].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,2].mas.T,hex.hexReg[1].ele[2,3].vol1.dynBal.U,hex.hexReg[1].ele[2,3].vol2.dynBal.U,hex.hexReg[1].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,3].mas.T,hex.hexReg[1].ele[2,4].vol1.dynBal.U,hex.hexReg[1].ele[2,4].vol2.dynBal.U,hex.hexReg[1].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[2,4].mas.T,hex.hexReg[1].ele[3,1].vol1.dynBal.U,hex.hexReg[1].ele[3,1].vol2.dynBal.U,hex.hexReg[1].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,1].mas.T,hex.hexReg[1].ele[3,2].vol1.dynBal.U,hex.hexReg[1].ele[3,2].vol2.dynBal.U,hex.hexReg[1].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,2].mas.T,hex.hexReg[1].ele[3,3].vol1.dynBal.U,hex.hexReg[1].ele[3,3].vol2.dynBal.U,hex.hexReg[1].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,3].mas.T,hex.hexReg[1].ele[3,4].vol1.dynBal.U,hex.hexReg[1].ele[3,4].vol2.dynBal.U,hex.hexReg[1].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[1].ele[3,4].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[2].ele[1,4].vol1.dynBal.U,hex.hexReg[2].ele[1,4].vol2.dynBal.U,hex.hexReg[2].ele[1,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,4].mas.T,hex.hexReg[2].ele[2,1].vol1.dynBal.U,hex.hexReg[2].ele[2,1].vol2.dynBal.U,hex.hexReg[2].ele[2,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,1].mas.T,hex.hexReg[2].ele[2,2].vol1.dynBal.U,hex.hexReg[2].ele[2,2].vol2.dynBal.U,hex.hexReg[2].ele[2,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,2].mas.T,hex.hexReg[2].ele[2,3].vol1.dynBal.U,hex.hexReg[2].ele[2,3].vol2.dynBal.U,hex.hexReg[2].ele[2,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,3].mas.T,hex.hexReg[2].ele[2,4].vol1.dynBal.U,hex.hexReg[2].ele[2,4].vol2.dynBal.U,hex.hexReg[2].ele[2,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[2,4].mas.T,hex.hexReg[2].ele[3,1].vol1.dynBal.U,hex.hexReg[2].ele[3,1].vol2.dynBal.U,hex.hexReg[2].ele[3,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,1].mas.T,hex.hexReg[2].ele[3,2].vol1.dynBal.U,hex.hexReg[2].ele[3,2].vol2.dynBal.U,hex.hexReg[2].ele[3,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,2].mas.T,hex.hexReg[2].ele[3,3].vol1.dynBal.U,hex.hexReg[2].ele[3,3].vol2.dynBal.U,hex.hexReg[2].ele[3,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,3].mas.T,hex.hexReg[2].ele[3,4].vol1.dynBal.U,hex.hexReg[2].ele[3,4].vol2.dynBal.U,hex.hexReg[2].ele[3,4].vol2.dynBal.m,hex.hexReg[2].ele[3,4].vol2.dynBal.mXi[1],hex.hexReg[2].ele[3,4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1573): * Single equations (assignments): 1544 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 48} * Non-linear torn systems: 24 {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,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.01903/134.6, allocations: 5.536 MB / 24.61 GB, free: 65.23 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.1793/134.8, allocations: 58.41 MB / 24.67 GB, free: 49.83 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.183e-05/134.8, allocations: 16.19 kB / 24.67 GB, free: 49.81 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.06606/134.9, allocations: 18.13 MB / 24.69 GB, free: 34.29 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.9071/135.8, allocations: 16.5 MB / 24.71 GB, free: 118.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4155/136.2, allocations: 94.45 MB / 24.8 GB, free: 108.2 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1514/136.4, allocations: 30.8 MB / 24.83 GB, free: 106.7 MB / 1.026 GB Notification: Performance of SimCode: time 1.734e-06/136.4, allocations: 0 / 24.83 GB, free: 106.7 MB / 1.026 GB