Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.363/4.363, allocations: 464.6 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 6.595e-05/6.613e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 107.2 MB / 0.6779 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8903/1.137, allocations: 135.2 MB / 0.8099 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/1.138, allocations: 84.39 kB / 0.81 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.026/1.164, allocations: 6.668 MB / 0.8165 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.164, allocations: 0 / 0.8165 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.433e-05/1.164, allocations: 3.875 kB / 0.8165 GB, free: 11.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007348/1.165, allocations: 490.1 kB / 0.817 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.165, allocations: 11.5 kB / 0.817 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/1.165, allocations: 37.28 kB / 0.817 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/1.165, allocations: 23.34 kB / 0.817 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006511/1.165, allocations: 317.6 kB / 0.8174 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/1.165, allocations: 3.688 kB / 0.8174 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/1.165, allocations: 7.688 kB / 0.8174 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002032/1.166, allocations: 79.69 kB / 0.8174 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/1.166, allocations: 0 / 0.8174 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.166, allocations: 0 / 0.8174 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/1.166, allocations: 3.75 kB / 0.8174 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/1.166, allocations: 36.89 kB / 0.8175 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007964/1.167, allocations: 441 kB / 0.8179 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/1.167, allocations: 74.83 kB / 0.818 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.246e-05/1.167, allocations: 30.25 kB / 0.818 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/1.167, allocations: 7.938 kB / 0.818 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/1.167, allocations: 73.06 kB / 0.8181 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/1.167, allocations: 0 / 0.8181 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003102/1.168, allocations: 113.5 kB / 0.8182 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/1.168, allocations: 55.34 kB / 0.8182 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004944/1.168, allocations: 326.5 kB / 0.8185 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.168, allocations: 25.7 kB / 0.8186 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.262e-05/1.168, allocations: 143.3 kB / 0.8187 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/1.168, allocations: 17.59 kB / 0.8187 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.168, allocations: 3.438 kB / 0.8187 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/1.168, allocations: 335.6 kB / 0.819 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/1.169, allocations: 70.39 kB / 0.8191 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/1.169, allocations: 90.69 kB / 0.8192 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/1.169, allocations: 62.27 kB / 0.8193 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.169, allocations: 4.031 kB / 0.8193 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004305/1.169, allocations: 210.6 kB / 0.8195 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/1.169, allocations: 10.59 kB / 0.8195 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.169, allocations: 3.047 kB / 0.8195 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/1.17, allocations: 3.953 kB / 0.8195 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/1.17, allocations: 29.28 kB / 0.8195 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.17, allocations: 0 / 0.8195 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/1.17, allocations: 14.38 kB / 0.8195 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/1.17, allocations: 11.42 kB / 0.8195 GB, free: 9.953 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.37e-05/1.17, allocations: 123 kB / 0.8197 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/1.17, allocations: 23.25 kB / 0.8197 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/1.17, allocations: 117.2 kB / 0.8198 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.17, allocations: 0 / 0.8198 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.171, allocations: 7.797 kB / 0.8198 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.171, allocations: 2.906 kB / 0.8198 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/1.171, allocations: 245.4 kB / 0.82 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.171, allocations: 4 kB / 0.82 GB, free: 9.582 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/1.171, allocations: 10.77 kB / 0.82 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/1.171, allocations: 0 / 0.82 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/1.171, allocations: 3.875 kB / 0.82 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.171, allocations: 0 / 0.82 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.171, allocations: 0 / 0.82 GB, free: 9.578 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/1.171, allocations: 144.2 kB / 0.8202 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/1.171, allocations: 99.61 kB / 0.8203 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/1.171, allocations: 3.188 kB / 0.8203 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/1.171, allocations: 14.69 kB / 0.8203 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.567e-05/1.172, allocations: 18.84 kB / 0.8203 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.172, allocations: 0 / 0.8203 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002862/1.172, allocations: 226.6 kB / 0.8205 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.172, allocations: 3.938 kB / 0.8205 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003688/1.172, allocations: 46.47 kB / 0.8206 GB, free: 9.293 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/1.174, allocations: 0.9676 MB / 0.8215 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002988/1.174, allocations: 108.2 kB / 0.8216 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/1.174, allocations: 0 / 0.8216 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/1.174, allocations: 34.47 kB / 0.8217 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/1.175, allocations: 50.5 kB / 0.8217 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/1.175, allocations: 352.5 kB / 0.822 GB, free: 8.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/1.176, allocations: 0.755 MB / 0.8228 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001424/1.176, allocations: 26.69 kB / 0.8228 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/1.176, allocations: 69.25 kB / 0.8229 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of SimCode: time 1.192e-06/1.176, allocations: 0 / 0.8229 GB, free: 23.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/1.203, allocations: 4.719 MB / 0.8275 GB, free: 22.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.203, allocations: 214.5 kB / 0.8277 GB, free: 21.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.593, allocations: 0 / 0.8277 GB, free: 21.83 MB / 0.6511 GB