Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.447/4.447, allocations: 464.6 MB / 476.8 MB, free: 2.094 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.195e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2691, allocations: 107.2 MB / 0.6779 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8869/1.156, allocations: 135.2 MB / 0.8099 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/1.156, allocations: 78.97 kB / 0.81 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02811/1.184, allocations: 6.666 MB / 0.8165 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.074e-06/1.185, allocations: 0 / 0.8165 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.755e-05/1.185, allocations: 3.875 kB / 0.8165 GB, free: 11.68 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.0007854/1.185, allocations: 493.2 kB / 0.817 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.185, allocations: 11.53 kB / 0.817 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.911e-05/1.186, allocations: 33.84 kB / 0.817 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/1.186, allocations: 26.44 kB / 0.817 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/1.186, allocations: 314.8 kB / 0.8173 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.186, allocations: 7.875 kB / 0.8174 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/1.186, allocations: 7.531 kB / 0.8174 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/1.187, allocations: 82.45 kB / 0.8174 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.187, allocations: 0 / 0.8174 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.187, allocations: 0 / 0.8174 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.187, allocations: 0 / 0.8174 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/1.187, allocations: 44.44 kB / 0.8175 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/1.188, allocations: 440.6 kB / 0.8179 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002566/1.188, allocations: 78.72 kB / 0.818 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/1.188, allocations: 23.77 kB / 0.818 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/1.188, allocations: 3.984 kB / 0.818 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001735/1.188, allocations: 86.78 kB / 0.8181 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/1.188, allocations: 0 / 0.8181 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003309/1.189, allocations: 110.4 kB / 0.8182 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.189, allocations: 54.92 kB / 0.8182 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005468/1.189, allocations: 322.2 kB / 0.8186 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.819e-05/1.189, allocations: 32.58 kB / 0.8186 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.518e-05/1.189, allocations: 133.4 kB / 0.8187 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/1.189, allocations: 19.09 kB / 0.8187 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/1.189, allocations: 3.438 kB / 0.8187 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/1.189, allocations: 338.1 kB / 0.8191 GB, free: 9.914 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/1.19, allocations: 64.64 kB / 0.8191 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/1.19, allocations: 87.88 kB / 0.8192 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/1.19, allocations: 75.12 kB / 0.8193 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.19, allocations: 0 / 0.8193 GB, free: 9.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004788/1.19, allocations: 210.8 kB / 0.8195 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.191, allocations: 3.875 kB / 0.8195 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.191, allocations: 0 / 0.8195 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/1.191, allocations: 7.766 kB / 0.8195 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/1.191, allocations: 22.22 kB / 0.8195 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/1.191, allocations: 6.875 kB / 0.8195 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/1.191, allocations: 11.25 kB / 0.8195 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/1.191, allocations: 10.45 kB / 0.8195 GB, free: 9.82 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,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.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 9.004e-05/1.191, allocations: 116.4 kB / 0.8196 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/1.191, allocations: 26.88 kB / 0.8197 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/1.192, allocations: 122.5 kB / 0.8198 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.192, allocations: 0 / 0.8198 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.192, allocations: 3.953 kB / 0.8198 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/1.192, allocations: 0 / 0.8198 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/1.192, allocations: 248.5 kB / 0.82 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.192, allocations: 0 / 0.82 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.152e-05/1.192, allocations: 3.844 kB / 0.82 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/1.192, allocations: 7.938 kB / 0.82 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/1.192, allocations: 0 / 0.82 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.192, allocations: 0 / 0.82 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.192, allocations: 3.875 kB / 0.82 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/1.192, allocations: 146.5 kB / 0.8202 GB, free: 9.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.749e-05/1.192, allocations: 103 kB / 0.8203 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/1.193, allocations: 3.625 kB / 0.8203 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/1.193, allocations: 22.36 kB / 0.8203 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/1.193, allocations: 17.09 kB / 0.8203 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.193, allocations: 0 / 0.8203 GB, free: 9.25 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003183/1.193, allocations: 227.8 kB / 0.8205 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.193, allocations: 0 / 0.8205 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004087/1.194, allocations: 49.22 kB / 0.8206 GB, free: 9.16 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,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.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.001857/1.195, allocations: 0.9562 MB / 0.8215 GB, free: 24.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003672/1.196, allocations: 102.6 kB / 0.8216 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.196, allocations: 0 / 0.8216 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.781e-05/1.196, allocations: 34.83 kB / 0.8217 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/1.196, allocations: 52.02 kB / 0.8217 GB, free: 24.42 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/1.198, allocations: 350.3 kB / 0.822 GB, free: 24.26 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.198, allocations: 0.7527 MB / 0.8228 GB, free: 23.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001736/1.198, allocations: 36.55 kB / 0.8228 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/1.198, allocations: 67.58 kB / 0.8229 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of SimCode: time 1.142e-06/1.198, allocations: 0 / 0.8229 GB, free: 23.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0268/1.225, allocations: 4.716 MB / 0.8275 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/1.225, allocations: 207.5 kB / 0.8277 GB, free: 21.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.809, allocations: 0 / 0.8277 GB, free: 21.7 MB / 0.6511 GB