Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Sources_Examples_MassFlowSource_WeatherData",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.523/4.523, allocations: 404 MB / 410.9 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3193/4.842, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/5.337, allocations: 92.67 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.417/10.75, allocations: 2.192 GB / 2.777 GB, free: 23.68 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/10.75, allocations: 86.64 kB / 2.777 GB, free: 23.64 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: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 2.286/13.04, allocations: 391.2 MB / 3.159 GB, free: 157.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 7.468e-05/13.04, allocations: 11.91 kB / 3.159 GB, free: 157.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/13.05, allocations: 0.5295 MB / 3.159 GB, free: 157.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/13.06, allocations: 0.808 MB / 3.16 GB, free: 157.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/13.06, allocations: 42.94 kB / 3.16 GB, free: 157.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/13.06, allocations: 75.28 kB / 3.16 GB, free: 157.2 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007507/13.07, allocations: 1.458 MB / 3.162 GB, free: 157.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007125/13.07, allocations: 1.214 MB / 3.163 GB, free: 157 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/13.07, allocations: 0 / 3.163 GB, free: 157 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000279/13.07, allocations: 6.438 kB / 3.163 GB, free: 157 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.445e-05/13.07, allocations: 29.16 kB / 3.163 GB, free: 157 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/13.09, allocations: 4.728 MB / 3.167 GB, free: 154.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003101/13.09, allocations: 1.006 MB / 3.168 GB, free: 154.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/13.09, allocations: 433.4 kB / 3.169 GB, free: 154.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/13.09, allocations: 0.8407 MB / 3.17 GB, free: 154 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001814/13.09, allocations: 0.6034 MB / 3.17 GB, free: 153.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=98): time 4.449e-06/13.09, allocations: 3.75 kB / 3.17 GB, free: 153.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98): time 0.006746/13.1, allocations: 1.191 MB / 3.171 GB, free: 153.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/13.1, allocations: 170 kB / 3.171 GB, free: 153.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/13.1, allocations: 0.5536 MB / 3.172 GB, free: 153.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/13.1, allocations: 32.8 kB / 3.172 GB, free: 153.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004462/13.1, allocations: 448.2 kB / 3.172 GB, free: 153.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004491/13.1, allocations: 314.7 kB / 3.173 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/13.1, allocations: 3.906 kB / 3.173 GB, free: 153.1 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001589/13.1, allocations: 385.5 kB / 3.173 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/13.11, allocations: 351.7 kB / 3.173 GB, free: 152.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/13.11, allocations: 0.5017 MB / 3.174 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/13.11, allocations: 0.5909 MB / 3.175 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/13.11, allocations: 3.156 kB / 3.175 GB, free: 152.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006662/13.12, allocations: 1.266 MB / 3.176 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/13.12, allocations: 3.875 kB / 3.176 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/13.12, allocations: 3.625 kB / 3.176 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/13.12, allocations: 96.67 kB / 3.176 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002901/13.12, allocations: 235.3 kB / 3.176 GB, free: 152.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/13.12, allocations: 1.47 MB / 3.178 GB, free: 151.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/13.13, allocations: 110.8 kB / 3.178 GB, free: 151.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002403/13.13, allocations: 51.39 kB / 3.178 GB, free: 151.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 3 * 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.0004336/13.13, allocations: 126.8 kB / 3.178 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/13.13, allocations: 95.84 kB / 3.178 GB, free: 151.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008184/13.14, allocations: 1.467 MB / 3.179 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/13.14, allocations: 14.22 kB / 3.179 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/13.14, allocations: 0 / 3.179 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/13.14, allocations: 3.891 kB / 3.179 GB, free: 150.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/13.14, allocations: 1.038 MB / 3.18 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/13.14, allocations: 0 / 3.18 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/13.14, allocations: 224.1 kB / 3.181 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/13.14, allocations: 84.38 kB / 3.181 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/13.14, allocations: 25.91 kB / 3.181 GB, free: 150.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/13.15, allocations: 1.481 MB / 3.182 GB, free: 149.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/13.15, allocations: 0 / 3.182 GB, free: 149.5 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006375/13.15, allocations: 1.238 MB / 3.183 GB, free: 149.4 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006306/13.16, allocations: 1.713 MB / 3.185 GB, free: 148.8 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/13.16, allocations: 352.5 kB / 3.185 GB, free: 148.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/13.16, allocations: 10.08 kB / 3.185 GB, free: 148.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/13.16, allocations: 92.16 kB / 3.185 GB, free: 148.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/13.16, allocations: 68.22 kB / 3.186 GB, free: 148.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/13.16, allocations: 48.92 kB / 3.186 GB, free: 148.7 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.0009289/13.16, allocations: 439.9 kB / 3.186 GB, free: 148.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004572/13.17, allocations: 0.83 MB / 3.187 GB, free: 148.5 MB / 0.7761 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 (105): * Single equations (assignments): 102 * 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.005181/13.17, allocations: 2.155 MB / 3.189 GB, free: 148 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003533/13.18, allocations: 1.086 MB / 3.19 GB, free: 147.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/13.18, allocations: 448 / 3.19 GB, free: 147.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001896/13.18, allocations: 0.608 MB / 3.191 GB, free: 147.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/13.18, allocations: 282.4 kB / 3.191 GB, free: 147.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/13.19, allocations: 1.827 MB / 3.193 GB, free: 147.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002233/13.2, allocations: 1.314 MB / 3.194 GB, free: 146.5 MB / 0.7761 GB Notification: Performance of SimCode: time 1.834e-06/13.2, allocations: 0 / 3.194 GB, free: 146.5 MB / 0.7761 GB