Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.316/4.316, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2404/4.557, allocations: 95 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/5.098, allocations: 92.69 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.506/11.6, allocations: 2.442 GB / 3.027 GB, free: 181.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/11.6, allocations: 83.83 kB / 3.027 GB, free: 181.2 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: 978 * Number of variables: 978 Notification: Performance of Generate backend data structure: time 4.595/16.2, allocations: 0.8801 GB / 3.907 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/16.2, allocations: 14.7 kB / 3.907 GB, free: 129.8 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02024/16.22, allocations: 1.499 MB / 3.908 GB, free: 129.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0558/16.28, allocations: 12.28 MB / 3.92 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003104/16.28, allocations: 120.5 kB / 3.921 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00229/16.28, allocations: 237.2 kB / 3.921 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01805/16.3, allocations: 4.534 MB / 3.925 GB, free: 128.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/16.32, allocations: 4.617 MB / 3.93 GB, free: 128 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001918/16.32, allocations: 24.73 kB / 3.93 GB, free: 128 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/16.32, allocations: 10.8 kB / 3.93 GB, free: 128 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001637/16.32, allocations: 118.7 kB / 3.93 GB, free: 128 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05907/16.38, allocations: 19 MB / 3.948 GB, free: 120 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007945/16.38, allocations: 2.011 MB / 3.95 GB, free: 119.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005349/16.39, allocations: 1.687 MB / 3.952 GB, free: 118.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003385/16.39, allocations: 1.55 MB / 3.954 GB, free: 117 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006196/16.4, allocations: 1.88 MB / 3.955 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=273): time 7.875e-06/16.4, allocations: 3.391 kB / 3.955 GB, free: 116.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=282): time 0.07622/16.48, allocations: 10.81 MB / 3.966 GB, free: 111.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/16.48, allocations: 294 kB / 3.966 GB, free: 111.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008541/16.48, allocations: 2.884 MB / 3.969 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001157/16.49, allocations: 29.59 kB / 3.969 GB, free: 110.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.002405/16.49, allocations: 1.383 MB / 3.97 GB, free: 109.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.002601/16.49, allocations: 0.9193 MB / 3.971 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005739/16.49, allocations: 0 / 3.971 GB, free: 108.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003139/16.49, allocations: 437.3 kB / 3.972 GB, free: 108.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/16.5, allocations: 1.511 MB / 3.973 GB, free: 107.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006284/16.5, allocations: 2.196 MB / 3.975 GB, free: 106.4 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03312/16.54, allocations: 3.162 MB / 3.978 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-05/16.54, allocations: 9.719 kB / 3.978 GB, free: 105.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=407) (initialization): time 0.04685/16.58, allocations: 5.851 MB / 3.984 GB, free: 104 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/16.59, allocations: 7.691 MB / 3.992 GB, free: 95.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.516e-05/16.59, allocations: 18.81 kB / 3.992 GB, free: 95.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/16.59, allocations: 0.5429 MB / 3.992 GB, free: 95.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/16.6, allocations: 0.8495 MB / 3.993 GB, free: 95.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/16.61, allocations: 4.485 MB / 3.997 GB, free: 92.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009933/16.62, allocations: 261.4 kB / 3.998 GB, free: 92.47 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/16.63, allocations: 160.8 kB / 3.998 GB, free: 92.45 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/16.63, allocations: 3.688 kB / 3.998 GB, free: 92.45 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04612/16.67, allocations: 5.456 MB / 4.003 GB, free: 91.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.623e-05/16.67, allocations: 18.62 kB / 4.003 GB, free: 91.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006127/16.68, allocations: 0.5755 MB / 4.004 GB, free: 90.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01125/16.69, allocations: 0.8408 MB / 4.005 GB, free: 90.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/16.7, allocations: 4.491 MB / 4.009 GB, free: 87.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009673/16.71, allocations: 263.3 kB / 4.009 GB, free: 87.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/16.71, allocations: 166.2 kB / 4.009 GB, free: 86.94 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (388): * Single equations (assignments): 384 * 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: 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 17,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0014/16.71, allocations: 183.5 kB / 4.01 GB, free: 86.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/16.72, allocations: 349.5 kB / 4.01 GB, free: 86.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03348/16.75, allocations: 5.425 MB / 4.015 GB, free: 82.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-05/16.75, allocations: 35.61 kB / 4.015 GB, free: 82.17 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/16.75, allocations: 3.938 kB / 4.015 GB, free: 82.17 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02533/16.78, allocations: 4.353 MB / 4.019 GB, free: 78.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04583/16.82, allocations: 10.06 MB / 4.029 GB, free: 70.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-05/16.82, allocations: 8 kB / 4.029 GB, free: 70.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009334/16.83, allocations: 0.6653 MB / 4.03 GB, free: 69.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002939/16.83, allocations: 499.7 kB / 4.03 GB, free: 69.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001103/16.84, allocations: 70.41 kB / 4.03 GB, free: 69.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008447/16.84, allocations: 6.902 MB / 4.037 GB, free: 62.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.665e-05/16.84, allocations: 11.94 kB / 4.037 GB, free: 62.41 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03458/16.88, allocations: 7.882 MB / 4.045 GB, free: 55.02 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04164/16.92, allocations: 10.54 MB / 4.055 GB, free: 44.76 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007567/16.93, allocations: 0.9959 MB / 4.056 GB, free: 43.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003175/16.93, allocations: 23.98 kB / 4.056 GB, free: 43.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0106/16.94, allocations: 276.7 kB / 4.056 GB, free: 43.47 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/16.94, allocations: 193.7 kB / 4.057 GB, free: 43.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000743/16.94, allocations: 131.6 kB / 4.057 GB, free: 43.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.006462/16.95, allocations: 2.216 MB / 4.059 GB, free: 40.95 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.01854/16.97, allocations: 2.333 MB / 4.061 GB, free: 38.63 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 37 * Number of states: 11 (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) * 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 (286): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {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.005697/16.97, allocations: 1.782 MB / 4.063 GB, free: 37.21 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0244/17, allocations: 6.631 MB / 4.069 GB, free: 30.5 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/17, allocations: 4.188 kB / 4.069 GB, free: 30.5 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0073/17.01, allocations: 1.972 MB / 4.071 GB, free: 28.53 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01868/17.02, allocations: 1.655 MB / 4.073 GB, free: 26.93 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/17.06, allocations: 8.448 MB / 4.081 GB, free: 18.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/17.07, allocations: 3.623 MB / 4.085 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of SimCode: time 1.613e-06/17.07, allocations: 4 kB / 4.085 GB, free: 14.7 MB / 0.7761 GB