Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.SetPoints.Validation.Valve,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_SetPoints_Validation_Valve",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.52/4.52, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2888/4.809, allocations: 95.06 MB / 0.4941 GB, free: 7.258 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6008/5.41, allocations: 92.68 MB / 0.5846 GB, free: 3.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/5.699, allocations: 129.2 MB / 0.7108 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004953/5.7, allocations: 111.9 kB / 0.7109 GB, free: 4.367 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.07683/5.777, allocations: 12.58 MB / 0.7232 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/5.777, allocations: 12 kB / 0.7232 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002499/5.777, allocations: 82.97 kB / 0.7233 GB, free: 7.625 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/5.778, allocations: 0.5453 MB / 0.7238 GB, free: 7.039 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/5.778, allocations: 16 kB / 0.7238 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/5.779, allocations: 32 kB / 0.7238 GB, free: 6.992 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001608/5.78, allocations: 414.5 kB / 0.7242 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/5.782, allocations: 0.5066 MB / 0.7247 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/5.782, allocations: 0 / 0.7247 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.982e-05/5.782, allocations: 0 / 0.7247 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/5.782, allocations: 20 kB / 0.7248 GB, free: 6.039 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005726/5.788, allocations: 1.659 MB / 0.7264 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/5.789, allocations: 392 kB / 0.7267 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000609/5.79, allocations: 161.5 kB / 0.7269 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/5.79, allocations: 8.328 kB / 0.7269 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006538/5.791, allocations: 212.2 kB / 0.7271 GB, free: 3.555 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=43): time 3.988e-06/5.791, allocations: 3.938 kB / 0.7271 GB, free: 3.551 MB / 0.6042 GB Notification: Performance of matching and sorting (n=43): time 0.001377/5.792, allocations: 376.8 kB / 0.7275 GB, free: 3.176 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.897e-05/5.792, allocations: 158.2 kB / 0.7276 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/5.793, allocations: 401.5 kB / 0.728 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/5.793, allocations: 25.7 kB / 0.728 GB, free: 2.555 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003528/5.794, allocations: 260.3 kB / 0.7283 GB, free: 2.297 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/5.794, allocations: 134 kB / 0.7284 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.04e-05/5.794, allocations: 0 / 0.7284 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003036/5.794, allocations: 370.7 kB / 0.7288 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/5.795, allocations: 132.9 kB / 0.7289 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009752/5.796, allocations: 209.9 kB / 0.7291 GB, free: 1.438 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008571/5.797, allocations: 148.8 kB / 0.7292 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/5.797, allocations: 4 kB / 0.7292 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002279/5.799, allocations: 414.5 kB / 0.7296 GB, free: 0.8789 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002002/5.8, allocations: 268.7 kB / 0.7299 GB, free: 0.5977 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/5.8, allocations: 3.938 kB / 0.7299 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/5.8, allocations: 7.984 kB / 0.7299 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/5.802, allocations: 99.95 kB / 0.73 GB, free: 500 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/5.802, allocations: 4 kB / 0.73 GB, free: 496 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/5.803, allocations: 67.64 kB / 0.7301 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/5.803, allocations: 12 kB / 0.7301 GB, free: 416 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/5.803, allocations: 4 kB / 0.7301 GB, free: 412 kB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001769/5.805, allocations: 317.5 kB / 0.7304 GB, free: 92 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/5.805, allocations: 0 / 0.7304 GB, free: 92 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/5.805, allocations: 4 kB / 0.7304 GB, free: 88 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/5.807, allocations: 88.06 kB / 0.7305 GB, free: 16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/5.807, allocations: 7.938 kB / 0.7305 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/5.808, allocations: 51.66 kB / 0.7305 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/5.808, allocations: 11.98 kB / 0.7305 GB, free: 15.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,AHUValve.uSupFan,$PRE.supFanSta.pulseStart,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003266/5.808, allocations: 116.8 kB / 0.7306 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/5.809, allocations: 51.34 kB / 0.7307 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/5.811, allocations: 391.1 kB / 0.7311 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.95e-05/5.811, allocations: 4 kB / 0.7311 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/5.811, allocations: 0 / 0.7311 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.878e-05/5.811, allocations: 11.89 kB / 0.7311 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005153/5.816, allocations: 1.125 MB / 0.7322 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/5.816, allocations: 4.125 kB / 0.7322 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/5.818, allocations: 91.88 kB / 0.7323 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-05/5.818, allocations: 7.938 kB / 0.7323 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001099/5.818, allocations: 8 kB / 0.7323 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.481e-05/5.818, allocations: 4 kB / 0.7323 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/5.818, allocations: 0 / 0.7323 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003162/5.822, allocations: 0.7519 MB / 0.733 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004311/5.826, allocations: 1.311 MB / 0.7343 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007239/5.827, allocations: 188.2 kB / 0.7345 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002421/5.827, allocations: 8 kB / 0.7345 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/5.828, allocations: 48.02 kB / 0.7345 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/5.829, allocations: 27.95 kB / 0.7346 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/5.829, allocations: 16 kB / 0.7346 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001036/5.83, allocations: 307 kB / 0.7349 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.005051/5.835, allocations: 206.9 kB / 0.7351 GB, free: 11.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (AHUValve.conTSup.I.y,AHUValve1.conTSup.I.y) * Number of discrete variables: 5 (AHUValve.uSupFan,$whenCondition3,$whenCondition2,$whenCondition1,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003743/5.835, allocations: 134.7 kB / 0.7352 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002874/5.838, allocations: 0.5296 MB / 0.7357 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/5.838, allocations: 0 / 0.7357 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/5.839, allocations: 179.9 kB / 0.7359 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002653/5.842, allocations: 146.5 kB / 0.736 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/5.847, allocations: 0.7904 MB / 0.7368 GB, free: 9.266 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/5.849, allocations: 0.9675 MB / 0.7377 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of SimCode: time 2.695e-06/5.849, allocations: 0 / 0.7377 GB, free: 8.27 MB / 0.6198 GB