Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_TrimAndRespond",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.396/4.396, allocations: 464.6 MB / 476.8 MB, free: 2.203 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.89e-05, allocations: 4 kB / 0.5732 GB, free: 5.605 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2896, allocations: 107.1 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8945/1.184, allocations: 135.7 MB / 0.8104 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/1.184, allocations: 71.78 kB / 0.8104 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08539/1.27, allocations: 19.56 MB / 0.8295 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.046e-06/1.27, allocations: 0 / 0.8295 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001185/1.27, allocations: 27.03 kB / 0.8295 GB, free: 7.707 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005453/1.276, allocations: 1.433 MB / 0.8309 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.276, allocations: 15.44 kB / 0.831 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007394/1.276, allocations: 189.2 kB / 0.8311 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006858/1.277, allocations: 167.3 kB / 0.8313 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/1.279, allocations: 0.6647 MB / 0.8319 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/1.28, allocations: 139.3 kB / 0.8321 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005254/1.28, allocations: 142.8 kB / 0.8322 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004854/1.285, allocations: 1.148 MB / 0.8333 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.568e-05/1.285, allocations: 0 / 0.8333 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002604/1.286, allocations: 54.91 kB / 0.8334 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.313e-05/1.286, allocations: 34.84 kB / 0.8334 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003523/1.289, allocations: 0.8004 MB / 0.8342 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/1.299, allocations: 3.272 MB / 0.8374 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/1.301, allocations: 0.8562 MB / 0.8382 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007804/1.302, allocations: 326.7 kB / 0.8385 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.307e-05/1.302, allocations: 19.86 kB / 0.8386 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/1.304, allocations: 0.5945 MB / 0.8391 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=107): time 4.689e-06/1.304, allocations: 0 / 0.8391 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=107): time 0.002817/1.307, allocations: 0.9336 MB / 0.8401 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/1.307, allocations: 258.4 kB / 0.8403 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/1.308, allocations: 0.8241 MB / 0.8411 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002781/1.309, allocations: 54.89 kB / 0.8412 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005155/1.309, allocations: 0.5376 MB / 0.8417 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003547/1.31, allocations: 278.2 kB / 0.842 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.793e-05/1.31, allocations: 29.06 kB / 0.842 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/1.31, allocations: 347.9 kB / 0.8423 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/1.311, allocations: 281.6 kB / 0.8426 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/1.312, allocations: 0.5199 MB / 0.8431 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008905/1.313, allocations: 327 kB / 0.8434 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.313, allocations: 7.875 kB / 0.8434 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002413/1.315, allocations: 0.959 MB / 0.8443 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/1.315, allocations: 11.61 kB / 0.8444 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/1.315, allocations: 7.562 kB / 0.8444 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.63e-05/1.315, allocations: 19.2 kB / 0.8444 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.317, allocations: 176.4 kB / 0.8445 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-05/1.317, allocations: 27.36 kB / 0.8446 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.318, allocations: 180.7 kB / 0.8447 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/1.319, allocations: 44.62 kB / 0.8448 GB, free: 1.715 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic2.tim.u,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition12,$PRE.trimRespondLogic1.tim.t_next,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition15,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition16,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic2.sampler.firstTrigger,trimRespondLogic2.sampler.firstTrigger,$PRE.trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic2.tim.t_next,$whenCondition4,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.tim.t_next,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y,$whenCondition13,$whenCondition14,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,reaToInt1.y,trimRespondLogic1.greThr1.y,trimRespondLogic.greThr1.y,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.u,trimRespondLogic2.tim.y,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,$PRE.trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.y,trimRespondLogic2.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic2.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 147 * 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.0005051/1.319, allocations: 219.7 kB / 0.845 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/1.32, allocations: 120.1 kB / 0.8451 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/1.323, allocations: 0.9434 MB / 0.846 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/1.323, allocations: 15.98 kB / 0.8461 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.386e-05/1.323, allocations: 4 kB / 0.8461 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.238e-05/1.323, allocations: 7.969 kB / 0.8461 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008391/1.332, allocations: 2.884 MB / 0.8489 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.332, allocations: 4 kB / 0.8489 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.333, allocations: 110.3 kB / 0.849 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.019e-05/1.333, allocations: 8.25 kB / 0.849 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001786/1.333, allocations: 34.22 kB / 0.849 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.909e-05/1.333, allocations: 8 kB / 0.849 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/1.333, allocations: 4 kB / 0.849 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004256/1.338, allocations: 1.268 MB / 0.8503 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005541/1.338, allocations: 212.1 kB / 0.8505 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/1.339, allocations: 29.47 kB / 0.8505 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/1.34, allocations: 96.73 kB / 0.8506 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/1.341, allocations: 108.4 kB / 0.8507 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/1.341, allocations: 46.28 kB / 0.8507 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001845/1.343, allocations: 0.6006 MB / 0.8513 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.11e-07/1.343, allocations: 0 / 0.8513 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00214/1.345, allocations: 251.7 kB / 0.8516 GB, free: 12.22 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 58 (trimRespondLogic2.tim.u,trimRespondLogic2.sampler.sampleTrigger,trimRespondLogic2.uniDel.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,trimRespondLogic2.tim.y,trimRespondLogic2.tim.t_next,trimRespondLogic2.greThr.y,trimRespondLogic2.netRes.u2,trimRespondLogic2.uniDel.y,trimRespondLogic2.uniDel.firstTrigger,trimRespondLogic2.sampler.y,trimRespondLogic2.sampler.firstTrigger,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.sampler.sampleTrigger,trimRespondLogic1.uniDel.sampleTrigger,trimRespondLogic.sampler.sampleTrigger,trimRespondLogic.uniDel.sampleTrigger,$whenCondition16,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,trimRespondLogic.tim.y,trimRespondLogic.tim.t_next,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.sampler.y,trimRespondLogic.sampler.firstTrigger,trimRespondLogic1.tim.y,trimRespondLogic1.tim.t_next,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.sampler.y,trimRespondLogic1.sampler.firstTrigger,reaToInt1.y,trimRespondLogic.tim.u,trimRespondLogic1.tim.u,trimRespondLogic2.lesThr1.y,trimRespondLogic2.greThr2.y,trimRespondLogic.lesThr1.y,trimRespondLogic.greThr2.y,trimRespondLogic1.lesThr1.y,trimRespondLogic1.greThr2.y) * Number of discrete states: 6 (trimRespondLogic1.tim.t_next,trimRespondLogic.tim.t_next,trimRespondLogic1.uniDel.u,trimRespondLogic.uniDel.u,trimRespondLogic2.tim.t_next,trimRespondLogic2.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.00527/1.35, allocations: 2.515 MB / 0.854 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003417/1.354, allocations: 0.7693 MB / 0.8548 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/1.354, allocations: 4 kB / 0.8548 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002204/1.356, allocations: 496.4 kB / 0.8553 GB, free: 9.031 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001745/1.358, allocations: 133.6 kB / 0.8554 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/1.366, allocations: 1.638 MB / 0.857 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.368, allocations: 1.118 MB / 0.8581 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00129/1.369, allocations: 124.4 kB / 0.8582 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.37, allocations: 481.3 kB / 0.8587 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/1.37, allocations: 4 kB / 0.8587 GB, free: 6.094 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08865/1.459, allocations: 19.12 MB / 0.8773 GB, free: 3.168 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003469/1.46, allocations: 195.5 kB / 0.8775 GB, free: 2.938 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.529/4.989, allocations: 4.062 kB / 0.8775 GB, free: 2.934 MB / 0.6667 GB