Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.295/4.295, allocations: 404 MB / 410.9 MB, free: 4.941 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3055/4.601, allocations: 95 MB / 0.4941 GB, free: 7.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5659/5.167, allocations: 92.69 MB / 0.5846 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.699/11.87, allocations: 2.443 GB / 3.027 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/11.87, allocations: 98.73 kB / 3.027 GB, free: 180.1 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: 2927 * Number of variables: 2927 Notification: Performance of Generate backend data structure: time 14.77/26.64, allocations: 2.693 GB / 5.72 GB, free: 66.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/26.64, allocations: 11.84 kB / 5.72 GB, free: 66.77 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04244/26.68, allocations: 3.379 MB / 5.723 GB, free: 65.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1446/26.82, allocations: 32.36 MB / 5.755 GB, free: 63.76 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008485/26.82, allocations: 367.6 kB / 5.755 GB, free: 63.76 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006479/26.83, allocations: 0.6784 MB / 5.756 GB, free: 63.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05102/26.88, allocations: 13.21 MB / 5.769 GB, free: 63.71 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0609/26.94, allocations: 14.49 MB / 5.783 GB, free: 61.75 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009386/26.94, allocations: 49.64 kB / 5.783 GB, free: 61.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005616/26.95, allocations: 25.06 kB / 5.783 GB, free: 61.75 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005052/26.95, allocations: 369.3 kB / 5.784 GB, free: 61.75 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1609/27.11, allocations: 60.78 MB / 5.843 GB, free: 35.38 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/27.13, allocations: 5.461 MB / 5.848 GB, free: 35.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01616/27.14, allocations: 5.166 MB / 5.853 GB, free: 35.21 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004477/27.15, allocations: 2.077 MB / 5.855 GB, free: 33.14 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01751/27.17, allocations: 5.339 MB / 5.86 GB, free: 32.89 MB / 0.823 GB Notification: Performance of pre-optimization done (n=741): time 1.596e-05/27.17, allocations: 3.719 kB / 5.86 GB, free: 32.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=777): time 0.2227/27.39, allocations: 31.76 MB / 5.892 GB, free: 26.54 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001803/27.39, allocations: 341.3 kB / 5.892 GB, free: 26.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03003/27.42, allocations: 9.212 MB / 5.901 GB, free: 25.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003017/27.42, allocations: 31.89 kB / 5.901 GB, free: 25.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.01051/27.43, allocations: 4.159 MB / 5.905 GB, free: 23.34 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.01338/27.45, allocations: 2.581 MB / 5.907 GB, free: 21.63 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002728/27.45, allocations: 3.344 kB / 5.907 GB, free: 21.63 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.001052/27.45, allocations: 0.6776 MB / 5.908 GB, free: 21.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01624/27.47, allocations: 4.74 MB / 5.913 GB, free: 21.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01872/27.48, allocations: 6.845 MB / 5.919 GB, free: 18.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07486/27.56, allocations: 9.035 MB / 5.928 GB, free: 15.26 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/27.56, allocations: 16 kB / 5.928 GB, free: 15.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=1188) (initialization): time 0.1189/27.68, allocations: 17.31 MB / 5.945 GB, free: 1.438 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.7928/28.47, allocations: 32.68 MB / 5.977 GB, free: 160.7 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/28.47, allocations: 60.66 kB / 5.977 GB, free: 160.7 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02172/28.49, allocations: 2.083 MB / 5.979 GB, free: 160.6 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02823/28.52, allocations: 2.393 MB / 5.982 GB, free: 160.6 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04032/28.56, allocations: 11.58 MB / 5.993 GB, free: 157 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02885/28.59, allocations: 0.7078 MB / 5.994 GB, free: 157 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003833/28.59, allocations: 457.3 kB / 5.994 GB, free: 157 MB / 0.8543 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/28.59, allocations: 6.438 kB / 5.994 GB, free: 157 MB / 0.8543 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1116/28.71, allocations: 16.25 MB / 6.01 GB, free: 156.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002166/28.71, allocations: 62.06 kB / 6.01 GB, free: 156.8 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02067/28.73, allocations: 2.202 MB / 6.012 GB, free: 156.8 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02785/28.76, allocations: 2.375 MB / 6.014 GB, free: 156.8 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03981/28.79, allocations: 11.61 MB / 6.026 GB, free: 153.2 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02651/28.82, allocations: 0.6924 MB / 6.026 GB, free: 153.2 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003833/28.83, allocations: 452.1 kB / 6.027 GB, free: 153.2 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 272 * 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 (1116): * Single equations (assignments): 1111 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 17,1 2,1 53} Notification: Performance of prepare postOptimizeDAE: time 0.004877/28.83, allocations: 331 kB / 6.027 GB, free: 153.1 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00484/28.84, allocations: 0.9989 MB / 6.028 GB, free: 153.1 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1039/28.94, allocations: 15.57 MB / 6.043 GB, free: 152.5 MB / 0.8543 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003323/28.94, allocations: 101.2 kB / 6.043 GB, free: 152.5 MB / 0.8543 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-05/28.94, allocations: 3.906 kB / 6.043 GB, free: 152.5 MB / 0.8543 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08425/29.02, allocations: 12.64 MB / 6.056 GB, free: 151.7 MB / 0.8543 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1326/29.16, allocations: 29.7 MB / 6.085 GB, free: 149.2 MB / 0.8543 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000132/29.16, allocations: 30.42 kB / 6.085 GB, free: 149.2 MB / 0.8543 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02447/29.18, allocations: 1.775 MB / 6.087 GB, free: 149.2 MB / 0.8543 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007826/29.19, allocations: 1.683 MB / 6.088 GB, free: 148.9 MB / 0.8543 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00268/29.19, allocations: 203.2 kB / 6.088 GB, free: 148.9 MB / 0.8543 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/29.22, allocations: 23.22 MB / 6.111 GB, free: 129.2 MB / 0.8543 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.104e-05/29.22, allocations: 45.09 kB / 6.111 GB, free: 129.2 MB / 0.8543 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09373/29.31, allocations: 27.91 MB / 6.138 GB, free: 118.8 MB / 0.8543 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1242/29.43, allocations: 35.05 MB / 6.173 GB, free: 107.5 MB / 0.8543 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01646/29.45, allocations: 2.788 MB / 6.175 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006681/29.46, allocations: 82.19 kB / 6.175 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02453/29.48, allocations: 0.689 MB / 6.176 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002597/29.48, allocations: 0.518 MB / 6.177 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002627/29.49, allocations: 376.4 kB / 6.177 GB, free: 106.8 MB / 0.8543 GB Notification: Performance of sort global known variables: time 0.02183/29.51, allocations: 7.049 MB / 6.184 GB, free: 106.5 MB / 0.8543 GB Notification: Performance of remove unused functions: time 0.04569/29.55, allocations: 6.142 MB / 6.19 GB, free: 106.5 MB / 0.8543 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (760): * Single equations (assignments): 713 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 37 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 37 {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,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.008004/29.56, allocations: 2.208 MB / 6.192 GB, free: 106.2 MB / 0.8543 GB Notification: Performance of simCode: created initialization part: time 0.07144/29.63, allocations: 19.5 MB / 6.211 GB, free: 105.2 MB / 0.8543 GB Notification: Performance of simCode: created event and clocks part: time 5.081e-05/29.63, allocations: 13.41 kB / 6.211 GB, free: 105.2 MB / 0.8543 GB Notification: Performance of simCode: created simulation system equations: time 0.02258/29.66, allocations: 5.613 MB / 6.216 GB, free: 105.1 MB / 0.8543 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06257/29.72, allocations: 5.676 MB / 6.222 GB, free: 104.9 MB / 0.8543 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1651/29.88, allocations: 27.48 MB / 6.249 GB, free: 83.79 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03776/29.92, allocations: 10.19 MB / 6.259 GB, free: 76.22 MB / 0.8543 GB Notification: Performance of SimCode: time 2.505e-06/29.92, allocations: 3.094 kB / 6.259 GB, free: 76.22 MB / 0.8543 GB