Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",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.526/4.526, allocations: 404 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3271/4.854, allocations: 95.01 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5293/5.383, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.851/11.23, allocations: 2.165 GB / 2.749 GB, free: 51.46 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/11.23, allocations: 91.33 kB / 2.749 GB, free: 51.41 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.6662/11.9, allocations: 60.25 MB / 2.808 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/11.9, allocations: 7.875 kB / 2.808 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/11.91, allocations: 335 kB / 2.809 GB, free: 215.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002529/11.91, allocations: 0.5479 MB / 2.809 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/11.91, allocations: 28.52 kB / 2.809 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004981/11.91, allocations: 44.88 kB / 2.809 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004181/11.91, allocations: 1.06 MB / 2.81 GB, free: 215.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/11.92, allocations: 0.7211 MB / 2.811 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.222e-05/11.92, allocations: 0 / 2.811 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/11.92, allocations: 9.547 kB / 2.811 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/11.92, allocations: 22.44 kB / 2.811 GB, free: 215.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008075/11.93, allocations: 2.324 MB / 2.813 GB, free: 214.7 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/11.93, allocations: 0.7136 MB / 2.814 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/11.93, allocations: 280 kB / 2.814 GB, free: 214.6 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001716/11.93, allocations: 0.6667 MB / 2.815 GB, free: 214 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/11.93, allocations: 440.2 kB / 2.815 GB, free: 213.9 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=73): time 3.938e-06/11.93, allocations: 0 / 2.815 GB, free: 213.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.00436/11.94, allocations: 0.7829 MB / 2.816 GB, free: 213.8 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.756e-05/11.94, allocations: 161.5 kB / 2.816 GB, free: 213.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/11.94, allocations: 481.3 kB / 2.817 GB, free: 213.5 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/11.94, allocations: 25.7 kB / 2.817 GB, free: 213.4 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/11.94, allocations: 281.6 kB / 2.817 GB, free: 213.3 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/11.94, allocations: 236.4 kB / 2.817 GB, free: 213.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/11.94, allocations: 0 / 2.817 GB, free: 213.1 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000127/11.94, allocations: 371.8 kB / 2.817 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007794/11.94, allocations: 231.8 kB / 2.818 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008492/11.94, allocations: 309.5 kB / 2.818 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00203/11.94, allocations: 370.7 kB / 2.818 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/11.94, allocations: 0 / 2.818 GB, free: 212.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00441/11.95, allocations: 0.8318 MB / 2.819 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/11.95, allocations: 12.64 kB / 2.819 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/11.95, allocations: 3.906 kB / 2.819 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/11.95, allocations: 83.47 kB / 2.819 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001852/11.95, allocations: 154.5 kB / 2.819 GB, free: 212.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/11.95, allocations: 1.464 MB / 2.821 GB, free: 211.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/11.95, allocations: 70.39 kB / 2.821 GB, free: 211.4 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/11.95, allocations: 29.34 kB / 2.821 GB, free: 211.4 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 2 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002889/11.95, allocations: 118.1 kB / 2.821 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/11.96, allocations: 74.25 kB / 2.821 GB, free: 211.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005867/11.96, allocations: 1.072 MB / 2.822 GB, free: 211.2 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/11.96, allocations: 6.5 kB / 2.822 GB, free: 211.2 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/11.96, allocations: 0 / 2.822 GB, free: 211.2 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/11.96, allocations: 6.797 kB / 2.822 GB, free: 211.2 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001603/11.96, allocations: 0.7558 MB / 2.823 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/11.96, allocations: 0 / 2.823 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001854/11.96, allocations: 162.3 kB / 2.823 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001126/11.97, allocations: 81.42 kB / 2.823 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/11.97, allocations: 22.69 kB / 2.823 GB, free: 211 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003028/11.97, allocations: 1.483 MB / 2.825 GB, free: 209.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/11.97, allocations: 0 / 2.825 GB, free: 209.7 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00432/11.97, allocations: 0.8785 MB / 2.825 GB, free: 209.6 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00427/11.98, allocations: 1.29 MB / 2.827 GB, free: 209.1 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007051/11.98, allocations: 289.6 kB / 2.827 GB, free: 209 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/11.98, allocations: 3 kB / 2.827 GB, free: 209 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/11.98, allocations: 64.19 kB / 2.827 GB, free: 209 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/11.98, allocations: 47.47 kB / 2.827 GB, free: 209 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/11.98, allocations: 31.19 kB / 2.827 GB, free: 209 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000763/11.98, allocations: 378.4 kB / 2.828 GB, free: 208.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.003084/11.98, allocations: 489.8 kB / 2.828 GB, free: 208.8 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003163/11.99, allocations: 1.266 MB / 2.829 GB, free: 208.5 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002575/11.99, allocations: 0.7838 MB / 2.83 GB, free: 208.4 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.453e-06/11.99, allocations: 3.906 kB / 2.83 GB, free: 208.3 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001416/11.99, allocations: 464.9 kB / 2.83 GB, free: 208.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00182/11.99, allocations: 155.8 kB / 2.831 GB, free: 208.2 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007353/12, allocations: 1.312 MB / 2.832 GB, free: 207.9 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/12, allocations: 1.108 MB / 2.833 GB, free: 207.2 MB / 0.7605 GB Notification: Performance of SimCode: time 1.823e-06/12, allocations: 2.812 kB / 2.833 GB, free: 207.2 MB / 0.7605 GB