Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlate",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.255/4.255, allocations: 403.9 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2566/4.512, allocations: 95.02 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5154/5.027, allocations: 92.66 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.702/10.73, allocations: 2.2 GB / 2.784 GB, free: 25.11 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/10.73, allocations: 87.08 kB / 2.784 GB, free: 25.07 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: 988 * Number of variables: 988 Notification: Performance of Generate backend data structure: time 9.828/20.56, allocations: 1.859 GB / 4.644 GB, free: 112 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/20.56, allocations: 11.5 kB / 4.644 GB, free: 112 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02434/20.58, allocations: 1.758 MB / 4.646 GB, free: 111.7 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1278/20.71, allocations: 31.13 MB / 4.676 GB, free: 110.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/20.71, allocations: 127.2 kB / 4.676 GB, free: 110.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002219/20.71, allocations: 232.7 kB / 4.676 GB, free: 110.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01956/20.73, allocations: 4.667 MB / 4.681 GB, free: 110.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02189/20.75, allocations: 4.779 MB / 4.686 GB, free: 110 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002145/20.75, allocations: 7.531 kB / 4.686 GB, free: 110 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001971/20.76, allocations: 7.656 kB / 4.686 GB, free: 110 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/20.76, allocations: 93.97 kB / 4.686 GB, free: 110 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06723/20.82, allocations: 20.38 MB / 4.706 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/20.84, allocations: 3.142 MB / 4.709 GB, free: 102.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005344/20.84, allocations: 1.624 MB / 4.71 GB, free: 102.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00386/20.84, allocations: 2.079 MB / 4.712 GB, free: 100.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007602/20.85, allocations: 1.936 MB / 4.714 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=275): time 1.456e-05/20.85, allocations: 0 / 4.714 GB, free: 100.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=275): time 0.03524/20.89, allocations: 4.717 MB / 4.719 GB, free: 100 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/20.89, allocations: 367.9 kB / 4.719 GB, free: 99.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009247/20.9, allocations: 2.929 MB / 4.722 GB, free: 99.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001287/20.9, allocations: 29.58 kB / 4.722 GB, free: 99.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003076/20.9, allocations: 1.419 MB / 4.723 GB, free: 98.51 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.003446/20.9, allocations: 0.9018 MB / 4.724 GB, free: 97.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006393/20.91, allocations: 0 / 4.724 GB, free: 97.91 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003425/20.91, allocations: 432 kB / 4.725 GB, free: 97.6 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005594/20.91, allocations: 1.538 MB / 4.726 GB, free: 97.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00664/20.92, allocations: 2.21 MB / 4.728 GB, free: 96.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03386/20.95, allocations: 3.367 MB / 4.732 GB, free: 96.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-05/20.95, allocations: 7.5 kB / 4.732 GB, free: 96.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=410) (initialization): time 0.05168/21, allocations: 6.211 MB / 4.738 GB, free: 94.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.00166/21.01, allocations: 7.239 MB / 4.745 GB, free: 87.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.97e-05/21.01, allocations: 15.62 kB / 4.745 GB, free: 87.27 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/21.01, allocations: 0.5889 MB / 4.745 GB, free: 87.17 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/21.02, allocations: 0.9615 MB / 4.746 GB, free: 87.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01375/21.04, allocations: 5.208 MB / 4.751 GB, free: 83.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/21.05, allocations: 473.4 kB / 4.752 GB, free: 83.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/21.05, allocations: 231.5 kB / 4.752 GB, free: 83.05 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/21.05, allocations: 3.75 kB / 4.752 GB, free: 83.05 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0496/21.1, allocations: 5.75 MB / 4.758 GB, free: 81.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-05/21.1, allocations: 17.41 kB / 4.758 GB, free: 81.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006109/21.11, allocations: 0.6128 MB / 4.758 GB, free: 81.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/21.12, allocations: 0.8673 MB / 4.759 GB, free: 81.45 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01403/21.13, allocations: 4.552 MB / 4.764 GB, free: 78.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009593/21.14, allocations: 417.5 kB / 4.764 GB, free: 78.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001459/21.14, allocations: 234.6 kB / 4.764 GB, free: 77.99 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (391): * Single equations (assignments): 386 * 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: 0 * Non-linear torn systems: 2 {1 17,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001383/21.14, allocations: 181.3 kB / 4.764 GB, free: 77.83 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002625/21.15, allocations: 415.1 kB / 4.765 GB, free: 77.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04171/21.19, allocations: 6.328 MB / 4.771 GB, free: 74.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.296e-05/21.19, allocations: 28 kB / 4.771 GB, free: 74.38 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/21.19, allocations: 7.375 kB / 4.771 GB, free: 74.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03095/21.22, allocations: 4.641 MB / 4.776 GB, free: 70.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05651/21.27, allocations: 10.05 MB / 4.785 GB, free: 62.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.736e-05/21.27, allocations: 3.891 kB / 4.785 GB, free: 62.62 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01074/21.29, allocations: 0.7214 MB / 4.786 GB, free: 62.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002941/21.29, allocations: 495.2 kB / 4.787 GB, free: 61.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001099/21.29, allocations: 70.27 kB / 4.787 GB, free: 61.61 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01428/21.3, allocations: 8.526 MB / 4.795 GB, free: 53.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/21.3, allocations: 0 / 4.795 GB, free: 53.01 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04756/21.35, allocations: 7.462 MB / 4.802 GB, free: 46.54 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0615/21.41, allocations: 10.35 MB / 4.812 GB, free: 37.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007141/21.42, allocations: 1.141 MB / 4.813 GB, free: 36.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003344/21.42, allocations: 15.84 kB / 4.813 GB, free: 36.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01445/21.44, allocations: 283.1 kB / 4.814 GB, free: 36.2 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/21.44, allocations: 166.3 kB / 4.814 GB, free: 36.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001464/21.44, allocations: 132.2 kB / 4.814 GB, free: 36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.009693/21.45, allocations: 2.23 MB / 4.816 GB, free: 34.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.03078/21.48, allocations: 3.54 MB / 4.82 GB, free: 30.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (259): * Single equations (assignments): 244 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 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.01266/21.49, allocations: 2.247 MB / 4.822 GB, free: 28.93 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03951/21.53, allocations: 6.9 MB / 4.829 GB, free: 22.54 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/21.53, allocations: 2.594 kB / 4.829 GB, free: 22.54 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0147/21.55, allocations: 2.123 MB / 4.831 GB, free: 20.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0236/21.57, allocations: 1.57 MB / 4.832 GB, free: 19.46 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05215/21.62, allocations: 8.834 MB / 4.841 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01549/21.64, allocations: 3.758 MB / 4.844 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of SimCode: time 1.593e-06/21.64, allocations: 0 / 4.844 GB, free: 8.859 MB / 0.7761 GB