Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_TrueHoldWithReset",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.192/4.192, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2528/4.445, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4978/4.943, allocations: 92.69 MB / 0.5846 GB, free: 3.438 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2663/5.209, allocations: 122.5 MB / 0.7043 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/5.209, allocations: 87.94 kB / 0.7044 GB, free: 11.09 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.06583/5.275, allocations: 13.82 MB / 0.7179 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/5.275, allocations: 19.92 kB / 0.7179 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/5.276, allocations: 102.9 kB / 0.718 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/5.277, allocations: 0.5133 MB / 0.7185 GB, free: 12.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/5.277, allocations: 43.98 kB / 0.7185 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/5.277, allocations: 75.98 kB / 0.7186 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002442/5.28, allocations: 0.6326 MB / 0.7192 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/5.283, allocations: 1.014 MB / 0.7202 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/5.283, allocations: 4 kB / 0.7202 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/5.283, allocations: 7.984 kB / 0.7202 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/5.283, allocations: 31.94 kB / 0.7202 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/5.291, allocations: 4.69 MB / 0.7248 GB, free: 5.711 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/5.293, allocations: 0.5735 MB / 0.7254 GB, free: 5.102 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009127/5.294, allocations: 304.8 kB / 0.7257 GB, free: 4.793 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/5.294, allocations: 8 kB / 0.7257 GB, free: 4.785 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/5.295, allocations: 444 kB / 0.7261 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=92): time 4.038e-06/5.295, allocations: 3.938 kB / 0.7261 GB, free: 4.316 MB / 0.6042 GB Notification: Performance of matching and sorting (n=92): time 0.002087/5.297, allocations: 0.5776 MB / 0.7267 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/5.297, allocations: 160.4 kB / 0.7268 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/5.298, allocations: 393 kB / 0.7272 GB, free: 3.156 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/5.298, allocations: 57.69 kB / 0.7272 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/5.299, allocations: 352.1 kB / 0.7276 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/5.299, allocations: 209.4 kB / 0.7278 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/5.299, allocations: 0 / 0.7278 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002327/5.3, allocations: 382.7 kB / 0.7282 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/5.301, allocations: 240 kB / 0.7284 GB, free: 1.918 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/5.302, allocations: 0.6625 MB / 0.729 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/5.303, allocations: 309.8 kB / 0.7293 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/5.303, allocations: 4 kB / 0.7293 GB, free: 0.7656 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.003295/5.306, allocations: 0.8864 MB / 0.7302 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/5.306, allocations: 12.22 kB / 0.7302 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-05/5.306, allocations: 12 kB / 0.7302 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.857e-05/5.306, allocations: 24 kB / 0.7302 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/5.308, allocations: 159.5 kB / 0.7304 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.51e-05/5.308, allocations: 35.91 kB / 0.7304 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/5.309, allocations: 87.41 kB / 0.7305 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/5.309, allocations: 67.92 kB / 0.7306 GB, free: 15.49 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 132 ($PRE.truHol.onDelay.u,$PRE.truHol.toOutputTrue.enableFire,$PRE.truHol.toInitial.enableFire,$PRE.truHol1.onDelay.u,$PRE.truHol1.toOutputTrue.enableFire,$PRE.truHol1.toInitial.enableFire,$PRE.truHol2.onDelay.u,$PRE.truHol2.toOutputTrue.enableFire,$PRE.truHol2.toInitial.enableFire,$PRE.truHol3.onDelay.u,$PRE.truHol3.toOutputTrue.enableFire,$PRE.truHol3.toInitial.enableFire,$whenCondition14,$PRE.truHol.onDelay.t_next,$whenCondition13,$whenCondition15,$whenCondition16,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.u,truHol.onDelay.y,$PRE.truHol.initialStep.localActive,truHol.initialStep.localActive,$PRE.truHol.initialStep.newActive,truHol.initialStep.newActive,$PRE.truHol.initialStep.oldActive,truHol.initialStep.oldActive,truHol.initialStep.active,$PRE.truHol.outputTrue.localActive,truHol.outputTrue.localActive,$PRE.truHol.outputTrue.newActive,truHol.outputTrue.newActive,$PRE.truHol.outputTrue.oldActive,truHol.outputTrue.oldActive,truHol.outputTrue.active,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire,truHol.onDelay.t_next,$whenCondition10,$PRE.truHol1.onDelay.t_next,$whenCondition9,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.u,truHol1.onDelay.y,$PRE.truHol1.initialStep.localActive,truHol1.initialStep.localActive,$PRE.truHol1.initialStep.newActive,truHol1.initialStep.newActive,$PRE.truHol1.initialStep.oldActive,truHol1.initialStep.oldActive,truHol1.initialStep.active,$PRE.truHol1.outputTrue.localActive,truHol1.outputTrue.localActive,$PRE.truHol1.outputTrue.newActive,truHol1.outputTrue.newActive,$PRE.truHol1.outputTrue.oldActive,truHol1.outputTrue.oldActive,truHol1.outputTrue.active,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol1.onDelay.t_next,$whenCondition6,$PRE.truHol2.onDelay.t_next,$whenCondition5,$whenCondition7,$whenCondition8,$PRE.booPul2.pulseStart,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.u,truHol2.onDelay.y,$PRE.truHol2.initialStep.localActive,truHol2.initialStep.localActive,$PRE.truHol2.initialStep.newActive,truHol2.initialStep.newActive,$PRE.truHol2.initialStep.oldActive,truHol2.initialStep.oldActive,truHol2.initialStep.active,$PRE.truHol2.outputTrue.localActive,truHol2.outputTrue.localActive,$PRE.truHol2.outputTrue.newActive,truHol2.outputTrue.newActive,$PRE.truHol2.outputTrue.oldActive,truHol2.outputTrue.oldActive,truHol2.outputTrue.active,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol2.onDelay.t_next,$whenCondition2,$PRE.truHol3.onDelay.t_next,$whenCondition1,$whenCondition3,$whenCondition4,$PRE.booPul3.pulseStart,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.u,truHol3.onDelay.y,$PRE.truHol3.initialStep.localActive,truHol3.initialStep.localActive,$PRE.truHol3.initialStep.newActive,truHol3.initialStep.newActive,$PRE.truHol3.initialStep.oldActive,truHol3.initialStep.oldActive,truHol3.initialStep.active,$PRE.truHol3.outputTrue.localActive,truHol3.outputTrue.localActive,$PRE.truHol3.outputTrue.newActive,truHol3.outputTrue.newActive,$PRE.truHol3.outputTrue.oldActive,truHol3.outputTrue.oldActive,truHol3.outputTrue.active,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol3.onDelay.t_next,truHol.stateGraphRoot.resume,truHol.stateGraphRoot.suspend,truHol1.stateGraphRoot.resume,truHol1.stateGraphRoot.suspend,truHol2.stateGraphRoot.resume,truHol2.stateGraphRoot.suspend,truHol3.stateGraphRoot.resume,truHol3.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0004153/5.309, allocations: 226.5 kB / 0.7308 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/5.31, allocations: 63.33 kB / 0.7308 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/5.312, allocations: 0.6606 MB / 0.7315 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/5.312, allocations: 15.94 kB / 0.7315 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/5.312, allocations: 0 / 0.7315 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/5.312, allocations: 7.922 kB / 0.7315 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005026/5.317, allocations: 1.991 MB / 0.7335 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/5.317, allocations: 0 / 0.7335 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004676/5.318, allocations: 63.83 kB / 0.7335 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.838e-05/5.318, allocations: 4 kB / 0.7335 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/5.318, allocations: 15.98 kB / 0.7335 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/5.318, allocations: 4 kB / 0.7335 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.318, allocations: 0 / 0.7335 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002256/5.32, allocations: 0.9765 MB / 0.7345 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002349/5.322, allocations: 1.353 MB / 0.7358 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/5.323, allocations: 128.3 kB / 0.7359 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/5.323, allocations: 19.98 kB / 0.736 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/5.324, allocations: 47.94 kB / 0.736 GB, free: 9.727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/5.324, allocations: 95.84 kB / 0.7361 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/5.324, allocations: 43.88 kB / 0.7361 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004131/5.325, allocations: 220.6 kB / 0.7363 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002493/5.327, allocations: 148 kB / 0.7365 GB, free: 9.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 88 (truHol3.onDelay.u,truHol3.outputTrue.localActive,truHol3.outputTrue.active,truHol3.initialStep.active,$cse7,$cse8,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,booPul3.pulseStart,truHol3.stateGraphRoot.activeSteps,truHol3.onDelay.y,truHol3.onDelay.t_next,truHol3.initialStep.localActive,truHol3.initialStep.newActive,truHol3.initialStep.oldActive,truHol3.outputTrue.newActive,truHol3.outputTrue.oldActive,truHol3.toOutputTrue.enableFire,truHol3.toInitial.enableFire,not3.y,truHol2.onDelay.u,truHol2.outputTrue.localActive,truHol2.outputTrue.active,truHol2.initialStep.active,$cse5,$cse6,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,booPul2.pulseStart,truHol2.stateGraphRoot.activeSteps,truHol2.onDelay.y,truHol2.onDelay.t_next,truHol2.initialStep.localActive,truHol2.initialStep.newActive,truHol2.initialStep.oldActive,truHol2.outputTrue.newActive,truHol2.outputTrue.oldActive,truHol2.toOutputTrue.enableFire,truHol2.toInitial.enableFire,not2.y,truHol1.onDelay.u,truHol1.outputTrue.localActive,truHol1.outputTrue.active,truHol1.initialStep.active,$cse3,$cse4,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,booPul1.y,booPul1.pulseStart,truHol1.stateGraphRoot.activeSteps,truHol1.onDelay.y,truHol1.onDelay.t_next,truHol1.initialStep.localActive,truHol1.initialStep.newActive,truHol1.initialStep.oldActive,truHol1.outputTrue.newActive,truHol1.outputTrue.oldActive,truHol1.toOutputTrue.enableFire,truHol1.toInitial.enableFire,truHol.onDelay.u,truHol.outputTrue.localActive,truHol.outputTrue.active,truHol.initialStep.active,$cse1,$cse2,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,booPul.y,booPul.pulseStart,truHol.stateGraphRoot.activeSteps,truHol.onDelay.y,truHol.onDelay.t_next,truHol.initialStep.localActive,truHol.initialStep.newActive,truHol.initialStep.oldActive,truHol.outputTrue.newActive,truHol.outputTrue.oldActive,truHol.toOutputTrue.enableFire,truHol.toInitial.enableFire) * Number of discrete states: 12 (truHol.onDelay.t_next,truHol.initialStep.newActive,truHol.outputTrue.newActive,truHol1.onDelay.t_next,truHol1.initialStep.newActive,truHol1.outputTrue.newActive,truHol2.onDelay.t_next,truHol2.initialStep.newActive,truHol2.outputTrue.newActive,truHol3.onDelay.t_next,truHol3.initialStep.newActive,truHol3.outputTrue.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0003894/5.328, allocations: 170.8 kB / 0.7367 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002383/5.33, allocations: 0.7388 MB / 0.7374 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/5.33, allocations: 0 / 0.7374 GB, free: 8.312 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/5.331, allocations: 386.7 kB / 0.7377 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/5.332, allocations: 100.8 kB / 0.7378 GB, free: 7.844 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/5.336, allocations: 1.007 MB / 0.7388 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/5.338, allocations: 1.057 MB / 0.7399 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of SimCode: time 1.422e-06/5.338, allocations: 0 / 0.7399 GB, free: 5.723 MB / 0.6198 GB