Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.425/4.425, allocations: 460.4 MB / 472.6 MB, free: 5.312 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.476e-05/4.482e-05, allocations: 4 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2447, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.873/1.118, allocations: 131.4 MB / 0.8002 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.118, allocations: 70.52 kB / 0.8003 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004312/1.122, allocations: 0.8909 MB / 0.8011 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/1.122, allocations: 0 / 0.8011 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.032e-05/1.123, allocations: 3.844 kB / 0.8012 GB, free: 12.52 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006139/1.123, allocations: 361.6 kB / 0.8015 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.123, allocations: 11.78 kB / 0.8015 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.087e-05/1.123, allocations: 34.25 kB / 0.8015 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/1.123, allocations: 11.7 kB / 0.8016 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/1.123, allocations: 174.2 kB / 0.8017 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.124, allocations: 0 / 0.8017 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/1.124, allocations: 6.969 kB / 0.8017 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/1.124, allocations: 47.62 kB / 0.8018 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/1.124, allocations: 7.922 kB / 0.8018 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/1.124, allocations: 0 / 0.8018 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.124, allocations: 3.875 kB / 0.8018 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/1.124, allocations: 29.66 kB / 0.8018 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/1.125, allocations: 296.1 kB / 0.8021 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/1.125, allocations: 37.2 kB / 0.8021 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/1.125, allocations: 26.77 kB / 0.8022 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/1.125, allocations: 3.047 kB / 0.8022 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001629/1.125, allocations: 60.72 kB / 0.8022 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.318e-06/1.125, allocations: 0 / 0.8022 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002932/1.125, allocations: 90.06 kB / 0.8023 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.126, allocations: 51.41 kB / 0.8023 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.819e-05/1.126, allocations: 98.55 kB / 0.8024 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/1.126, allocations: 33.52 kB / 0.8025 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/1.126, allocations: 83.98 kB / 0.8026 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/1.126, allocations: 18.17 kB / 0.8026 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/1.126, allocations: 0 / 0.8026 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.483e-05/1.126, allocations: 321.3 kB / 0.8029 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.315e-05/1.126, allocations: 11.44 kB / 0.8029 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/1.126, allocations: 43.2 kB / 0.8029 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.094e-05/1.126, allocations: 28 kB / 0.803 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/1.126, allocations: 0 / 0.803 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002505/1.126, allocations: 82.28 kB / 0.803 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/1.126, allocations: 3.844 kB / 0.803 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.126, allocations: 3.812 kB / 0.803 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.127, allocations: 4.125 kB / 0.803 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/1.127, allocations: 23.77 kB / 0.8031 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.127, allocations: 7.812 kB / 0.8031 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/1.127, allocations: 13.86 kB / 0.8031 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/1.127, allocations: 3.562 kB / 0.8031 GB, free: 10.78 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.zerOrdHol.firstTrigger,zerOrdHol.firstTrigger,$whenCondition1,zerOrdHol.sampleTrigger,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.288e-05/1.127, allocations: 106.1 kB / 0.8032 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/1.127, allocations: 7.875 kB / 0.8032 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/1.127, allocations: 85.44 kB / 0.8033 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.127, allocations: 11.59 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.127, allocations: 3.953 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/1.127, allocations: 1.453 kB / 0.8033 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/1.128, allocations: 328.7 kB / 0.8036 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.128, allocations: 4 kB / 0.8036 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/1.128, allocations: 10.34 kB / 0.8036 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.128, allocations: 7.938 kB / 0.8036 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/1.128, allocations: 9.359 kB / 0.8036 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.128, allocations: 4 kB / 0.8036 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.128, allocations: 0 / 0.8036 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002984/1.129, allocations: 175.1 kB / 0.8038 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/1.129, allocations: 78.7 kB / 0.8039 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/1.129, allocations: 7.828 kB / 0.8039 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/1.129, allocations: 18.88 kB / 0.8039 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/1.129, allocations: 7.5 kB / 0.8039 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/1.129, allocations: 0 / 0.8039 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.736e-05/1.129, allocations: 82.12 kB / 0.804 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.41e-07/1.129, allocations: 0 / 0.804 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005153/1.13, allocations: 16.19 kB / 0.804 GB, free: 9.992 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0009618/1.131, allocations: 0.7148 MB / 0.8047 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002216/1.131, allocations: 37.47 kB / 0.8048 GB, free: 25.33 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.131, allocations: 3.938 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/1.131, allocations: 20.92 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/1.131, allocations: 13.16 kB / 0.8048 GB, free: 25.32 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/1.132, allocations: 119.6 kB / 0.8049 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/1.132, allocations: 0.6879 MB / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.366e-05/1.133, allocations: 9.625 kB / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.438e-05/1.133, allocations: 16.75 kB / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.222e-06/1.133, allocations: 0 / 0.8056 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04141/1.174, allocations: 1.382 MB / 0.8069 GB, free: 24.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/1.174, allocations: 169.5 kB / 0.8071 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.303/3.477, allocations: 0 / 0.8071 GB, free: 24.03 MB / 0.6511 GB