Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GlassLayer,fileNamePrefix="Buildings_5_0_1_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GlassLayer",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.298/4.298, allocations: 404 MB / 410.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3073/4.605, allocations: 95.01 MB / 0.4941 GB, free: 7.332 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/5.127, allocations: 92.69 MB / 0.5846 GB, free: 3.363 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2539/5.381, allocations: 125.9 MB / 0.7076 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003713/5.381, allocations: 83.94 kB / 0.7077 GB, free: 7.676 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.05686/5.438, allocations: 10.4 MB / 0.7178 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.708e-05/5.438, allocations: 12 kB / 0.7178 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/5.439, allocations: 55.34 kB / 0.7179 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/5.439, allocations: 343.8 kB / 0.7182 GB, free: 12.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/5.44, allocations: 12 kB / 0.7182 GB, free: 12.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/5.44, allocations: 31.98 kB / 0.7182 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00108/5.441, allocations: 285.9 kB / 0.7185 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/5.442, allocations: 316.5 kB / 0.7188 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/5.442, allocations: 0 / 0.7188 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/5.442, allocations: 4 kB / 0.7188 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/5.442, allocations: 12 kB / 0.7188 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/5.446, allocations: 1.21 MB / 0.72 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/5.447, allocations: 343.2 kB / 0.7203 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006069/5.448, allocations: 212.8 kB / 0.7205 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/5.448, allocations: 7.984 kB / 0.7206 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/5.448, allocations: 47.19 kB / 0.7206 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 3.367e-06/5.448, allocations: 0 / 0.7206 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.004061/5.452, allocations: 0.6529 MB / 0.7212 GB, free: 9.527 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/5.452, allocations: 55.41 kB / 0.7213 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/5.453, allocations: 227.5 kB / 0.7215 GB, free: 9.234 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/5.453, allocations: 25.7 kB / 0.7215 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/5.453, allocations: 192.2 kB / 0.7217 GB, free: 9.012 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/5.453, allocations: 130 kB / 0.7218 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/5.453, allocations: 0 / 0.7218 GB, free: 8.883 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001711/5.454, allocations: 346.8 kB / 0.7222 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/5.454, allocations: 119.9 kB / 0.7223 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005266/5.454, allocations: 178 kB / 0.7225 GB, free: 8.223 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/5.455, allocations: 140.5 kB / 0.7226 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/5.455, allocations: 4 kB / 0.7226 GB, free: 8.082 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.004011/5.459, allocations: 0.6535 MB / 0.7232 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.032e-05/5.459, allocations: 92.91 kB / 0.7233 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/5.459, allocations: 4 kB / 0.7233 GB, free: 7.316 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003733/5.463, allocations: 400.5 kB / 0.7237 GB, free: 6.922 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/5.463, allocations: 35.91 kB / 0.7237 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/5.466, allocations: 1.146 MB / 0.7249 GB, free: 5.715 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/5.467, allocations: 39.67 kB / 0.7249 GB, free: 5.676 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.041e-05/5.467, allocations: 8 kB / 0.7249 GB, free: 5.668 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/5.467, allocations: 4.938 kB / 0.7249 GB, free: 5.664 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/5.471, allocations: 0.5902 MB / 0.7255 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/5.471, allocations: 0 / 0.7255 GB, free: 5.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003516/5.475, allocations: 408.6 kB / 0.7259 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/5.475, allocations: 27.97 kB / 0.7259 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/5.486, allocations: 3.463 MB / 0.7293 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009687/5.488, allocations: 31.77 kB / 0.7293 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/5.488, allocations: 12 kB / 0.7293 GB, free: 1.016 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: radOut.JOut:VARIABLE(min = 0.0 unit = "W" nominal = 419.0 ) "Outgoing radiosity" type: Real radIn.JOut:VARIABLE(min = 0.0 unit = "W" nominal = 419.0 ) "Outgoing radiosity" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * 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 {6 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002591/5.488, allocations: 120.6 kB / 0.7294 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/5.488, allocations: 31.62 kB / 0.7295 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/5.488, allocations: 47.16 kB / 0.7295 GB, free: 0.8125 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/5.488, allocations: 4 kB / 0.7295 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/5.488, allocations: 0 / 0.7295 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/5.488, allocations: 11.89 kB / 0.7295 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/5.489, allocations: 426.5 kB / 0.7299 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/5.489, allocations: 0 / 0.7299 GB, free: 348 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/5.49, allocations: 28.16 kB / 0.73 GB, free: 320 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003535/5.493, allocations: 401.6 kB / 0.7303 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.593e-05/5.493, allocations: 4 kB / 0.7303 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/5.504, allocations: 3.419 MB / 0.7337 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/5.504, allocations: 4 kB / 0.7337 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003878/5.508, allocations: 0.7177 MB / 0.7344 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003967/5.512, allocations: 1.109 MB / 0.7355 GB, free: 10.49 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/5.512, allocations: 140.6 kB / 0.7356 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/5.512, allocations: 3.984 kB / 0.7356 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006178/5.513, allocations: 19.89 kB / 0.7356 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/5.513, allocations: 27.69 kB / 0.7357 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/5.513, allocations: 8 kB / 0.7357 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0003441/5.514, allocations: 195.1 kB / 0.7359 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003327/5.517, allocations: 259.1 kB / 0.7361 GB, free: 9.836 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 {6 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002331/5.517, allocations: 99.94 kB / 0.7362 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004446/5.522, allocations: 0.8291 MB / 0.737 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/5.522, allocations: 0 / 0.737 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001897/5.524, allocations: 408.5 kB / 0.7374 GB, free: 8.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/5.524, allocations: 72.88 kB / 0.7375 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/5.527, allocations: 0.5717 MB / 0.738 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006593/5.528, allocations: 0.8518 MB / 0.7389 GB, free: 6.934 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/5.528, allocations: 0 / 0.7389 GB, free: 6.934 MB / 0.6198 GB