Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",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.263/4.263, allocations: 404 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.242/4.505, allocations: 95.01 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5094/5.015, allocations: 92.69 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.381/11.4, allocations: 2.468 GB / 3.053 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000458/11.4, allocations: 97.77 kB / 3.053 GB, free: 102.5 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: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 8.773/20.17, allocations: 1.617 GB / 4.67 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/20.17, allocations: 12 kB / 4.67 GB, free: 11.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/20.18, allocations: 0.7885 MB / 4.671 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03721/20.22, allocations: 9.331 MB / 4.68 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/20.22, allocations: 68 kB / 4.68 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006275/20.22, allocations: 120 kB / 4.68 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00726/20.23, allocations: 1.867 MB / 4.682 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007278/20.23, allocations: 2.161 MB / 4.684 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.239e-05/20.23, allocations: 4 kB / 4.684 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/20.23, allocations: 4 kB / 4.684 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/20.23, allocations: 83.78 kB / 4.684 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0304/20.26, allocations: 10.8 MB / 4.695 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004152/20.27, allocations: 1.159 MB / 4.696 GB, free: 204 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4643/20.73, allocations: 0.6123 MB / 4.697 GB, free: 170.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006308/20.74, allocations: 2.461 MB / 4.699 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/20.74, allocations: 42.38 kB / 4.699 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=97): time 4.198e-06/20.74, allocations: 3.812 kB / 4.699 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=99): time 0.01379/20.75, allocations: 4.009 MB / 4.703 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/20.75, allocations: 144.6 kB / 4.703 GB, free: 167.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003477/20.76, allocations: 1.496 MB / 4.705 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002438/20.76, allocations: 29.42 kB / 4.705 GB, free: 167.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/20.76, allocations: 0.9016 MB / 4.706 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005721/20.76, allocations: 344.3 kB / 4.706 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/20.76, allocations: 0 / 4.706 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001335/20.76, allocations: 376.2 kB / 4.706 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/20.76, allocations: 487.6 kB / 4.707 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/20.76, allocations: 1.103 MB / 4.708 GB, free: 165.7 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.04791/20.81, allocations: 3.359 MB / 4.711 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.392e-05/20.81, allocations: 7.906 kB / 4.711 GB, free: 165.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=194) (initialization): time 0.008687/20.82, allocations: 1.912 MB / 4.713 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001671/20.82, allocations: 7.238 MB / 4.72 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/20.82, allocations: 17.28 kB / 4.72 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/20.82, allocations: 379.4 kB / 4.72 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003158/20.83, allocations: 332.8 kB / 4.721 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/20.83, allocations: 1.046 MB / 4.722 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004512/20.83, allocations: 136.2 kB / 4.722 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004566/20.83, allocations: 84.17 kB / 4.722 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/20.83, allocations: 3.781 kB / 4.722 GB, free: 157.4 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007297/20.84, allocations: 1.644 MB / 4.724 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.251e-05/20.84, allocations: 17.44 kB / 4.724 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003212/20.84, allocations: 370.3 kB / 4.724 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/20.85, allocations: 329 kB / 4.724 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/20.85, allocations: 1.06 MB / 4.725 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003988/20.85, allocations: 109.2 kB / 4.725 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002481/20.85, allocations: 89.61 kB / 4.726 GB, free: 156.8 MB / 0.8542 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 168 * Array equations: 1 * Algorithm blocks: 0 * 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 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005877/20.85, allocations: 151.1 kB / 4.726 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006253/20.85, allocations: 213.9 kB / 4.726 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006295/20.86, allocations: 1.372 MB / 4.727 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/20.86, allocations: 10.25 kB / 4.727 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/20.86, allocations: 6.516 kB / 4.727 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00433/20.87, allocations: 1.043 MB / 4.728 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/20.88, allocations: 3.666 MB / 4.732 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/20.88, allocations: 10.59 kB / 4.732 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/20.88, allocations: 171.9 kB / 4.732 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002887/20.88, allocations: 332.3 kB / 4.732 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001532/20.88, allocations: 12.45 kB / 4.732 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/20.88, allocations: 0.9885 MB / 4.733 GB, free: 155 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/20.89, allocations: 10.94 kB / 4.733 GB, free: 155 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005458/20.89, allocations: 2.446 MB / 4.736 GB, free: 154 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007837/20.9, allocations: 3.621 MB / 4.739 GB, free: 152.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/20.9, allocations: 411.1 kB / 4.74 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005872/20.9, allocations: 14.89 kB / 4.74 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003074/20.9, allocations: 77.56 kB / 4.74 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/20.9, allocations: 67.34 kB / 4.74 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/20.9, allocations: 52.61 kB / 4.74 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002869/20.91, allocations: 1.109 MB / 4.741 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01373/20.92, allocations: 2.178 MB / 4.743 GB, free: 152.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.01152/20.93, allocations: 3.863 MB / 4.747 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006945/20.94, allocations: 2.059 MB / 4.749 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/20.94, allocations: 2.875 kB / 4.749 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/20.94, allocations: 0.4961 MB / 4.749 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01057/20.95, allocations: 1.054 MB / 4.75 GB, free: 150.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/20.96, allocations: 3.234 MB / 4.754 GB, free: 149.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/20.97, allocations: 1.942 MB / 4.755 GB, free: 149 MB / 0.8542 GB Notification: Performance of SimCode: time 1.403e-06/20.97, allocations: 0.75 kB / 4.755 GB, free: 149 MB / 0.8542 GB