Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",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.578/4.578, allocations: 404 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2789/4.857, allocations: 95.05 MB / 0.4941 GB, free: 7.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5217/5.378, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2792/5.658, allocations: 136.3 MB / 0.7177 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004858/5.658, allocations: 103.9 kB / 0.7178 GB, free: 13.26 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.1057/5.764, allocations: 21.91 MB / 0.7392 GB, free: 7.242 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/5.764, allocations: 12 kB / 0.7392 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006911/5.765, allocations: 162.2 kB / 0.7394 GB, free: 7.07 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/5.767, allocations: 0.7407 MB / 0.7401 GB, free: 6.281 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/5.767, allocations: 47.91 kB / 0.7402 GB, free: 6.234 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003425/5.768, allocations: 79.98 kB / 0.7402 GB, free: 6.156 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003566/5.771, allocations: 0.8052 MB / 0.741 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/5.775, allocations: 1.045 MB / 0.7421 GB, free: 4.238 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.953e-05/5.775, allocations: 7.875 kB / 0.7421 GB, free: 4.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/5.775, allocations: 3.984 kB / 0.7421 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/5.776, allocations: 32 kB / 0.7421 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/5.787, allocations: 3.602 MB / 0.7456 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/5.79, allocations: 0.7641 MB / 0.7464 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/5.791, allocations: 334.8 kB / 0.7467 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.272e-05/5.791, allocations: 8.656 kB / 0.7467 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/5.793, allocations: 432.3 kB / 0.7471 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=90): time 4.027e-06/5.793, allocations: 2.188 kB / 0.7471 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=90): time 0.002737/5.795, allocations: 0.7086 MB / 0.7478 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/5.796, allocations: 171 kB / 0.748 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/5.797, allocations: 0.5697 MB / 0.7485 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/5.797, allocations: 41.7 kB / 0.7486 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/5.798, allocations: 427.8 kB / 0.749 GB, free: 13 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/5.798, allocations: 244.6 kB / 0.7492 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/5.799, allocations: 0 / 0.7492 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001867/5.799, allocations: 345.9 kB / 0.7495 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/5.8, allocations: 282.6 kB / 0.7498 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/5.801, allocations: 0.5246 MB / 0.7503 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/5.802, allocations: 313.2 kB / 0.7506 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.088e-05/5.803, allocations: 4 kB / 0.7506 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003115/5.806, allocations: 0.8345 MB / 0.7514 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008129/5.807, allocations: 1.833 MB / 0.7532 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/5.807, allocations: 4 kB / 0.7532 GB, free: 8.395 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.103e-05/5.807, allocations: 11.91 kB / 0.7532 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/5.809, allocations: 187.6 kB / 0.7534 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/5.809, allocations: 8 kB / 0.7534 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/5.811, allocations: 139.5 kB / 0.7535 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/5.811, allocations: 43.92 kB / 0.7536 GB, free: 8.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/5.811, allocations: 4 kB / 0.7536 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002607/5.813, allocations: 0.7007 MB / 0.7543 GB, free: 7.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/5.813, allocations: 7.906 kB / 0.7543 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/5.814, allocations: 12 kB / 0.7543 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/5.815, allocations: 168.2 kB / 0.7545 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/5.815, allocations: 15.92 kB / 0.7545 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/5.817, allocations: 107.5 kB / 0.7546 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/5.817, allocations: 47.97 kB / 0.7546 GB, free: 6.957 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0004578/5.818, allocations: 160.7 kB / 0.7548 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000298/5.818, allocations: 98.86 kB / 0.7549 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003184/5.821, allocations: 0.7856 MB / 0.7556 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/5.821, allocations: 8 kB / 0.7556 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/5.821, allocations: 7.906 kB / 0.7556 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/5.821, allocations: 3.984 kB / 0.7557 GB, free: 5.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006294/5.827, allocations: 2.038 MB / 0.7576 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/5.828, allocations: 8.062 kB / 0.7577 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/5.829, allocations: 135.8 kB / 0.7578 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/5.829, allocations: 8 kB / 0.7578 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/5.829, allocations: 15.97 kB / 0.7578 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.566e-05/5.829, allocations: 4 kB / 0.7578 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/5.829, allocations: 3.938 kB / 0.7578 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004273/5.834, allocations: 1.357 MB / 0.7591 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005883/5.839, allocations: 2.18 MB / 0.7613 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008166/5.84, allocations: 259.8 kB / 0.7615 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/5.841, allocations: 19.95 kB / 0.7615 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/5.842, allocations: 87.92 kB / 0.7616 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000467/5.843, allocations: 92.62 kB / 0.7617 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/5.843, allocations: 39.97 kB / 0.7617 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001003/5.844, allocations: 411.1 kB / 0.7621 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00424/5.848, allocations: 382.4 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005105/5.849, allocations: 170.3 kB / 0.7627 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004347/5.853, allocations: 1.223 MB / 0.7639 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/5.853, allocations: 0 / 0.7639 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/5.855, allocations: 439.1 kB / 0.7643 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/5.857, allocations: 159.8 kB / 0.7644 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006312/5.863, allocations: 1.416 MB / 0.7658 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001926/5.865, allocations: 1.196 MB / 0.767 GB, free: 10 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/5.865, allocations: 0 / 0.767 GB, free: 10 MB / 0.6511 GB