Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.ZeroOrderHold,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Discrete_Examples_ZeroOrderHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.784/3.784, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.829e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5991, allocations: 92.69 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.8207, allocations: 121 MB / 0.7078 GB, free: 5.277 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/0.821, allocations: 87.94 kB / 0.7078 GB, free: 5.191 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.003656/0.8247, allocations: 0.9136 MB / 0.7087 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.903e-06/0.8247, allocations: 0 / 0.7087 GB, free: 4.277 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.8248, allocations: 4 kB / 0.7087 GB, free: 4.273 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005643/0.8253, allocations: 358.5 kB / 0.7091 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.8254, allocations: 8.031 kB / 0.7091 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.8255, allocations: 34.56 kB / 0.7091 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.8255, allocations: 7.859 kB / 0.7091 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.8256, allocations: 171 kB / 0.7093 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.8257, allocations: 0 / 0.7093 GB, free: 3.613 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.8257, allocations: 8 kB / 0.7093 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.8259, allocations: 49.69 kB / 0.7093 GB, free: 3.551 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.8259, allocations: 3.938 kB / 0.7094 GB, free: 3.547 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.8259, allocations: 4 kB / 0.7094 GB, free: 3.543 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.8259, allocations: 7.938 kB / 0.7094 GB, free: 3.535 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/0.826, allocations: 27.92 kB / 0.7094 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.8267, allocations: 288.8 kB / 0.7097 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.8268, allocations: 54.56 kB / 0.7097 GB, free: 3.113 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.8269, allocations: 16.98 kB / 0.7097 GB, free: 3.094 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.8269, allocations: 3.938 kB / 0.7097 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.8271, allocations: 67.36 kB / 0.7098 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.544e-06/0.8271, allocations: 4 kB / 0.7098 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002549/0.8274, allocations: 73.67 kB / 0.7099 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.8274, allocations: 55.34 kB / 0.7099 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.183e-05/0.8275, allocations: 101 kB / 0.71 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.8276, allocations: 25.7 kB / 0.71 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.549e-05/0.8276, allocations: 88.05 kB / 0.7101 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.8277, allocations: 19.86 kB / 0.7102 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.8277, allocations: 4 kB / 0.7102 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.8278, allocations: 314.8 kB / 0.7105 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.8279, allocations: 15.94 kB / 0.7105 GB, free: 2.281 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.082e-05/0.828, allocations: 52.28 kB / 0.7105 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.019e-05/0.8281, allocations: 16 kB / 0.7105 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8281, allocations: 0 / 0.7105 GB, free: 2.199 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002146/0.8283, allocations: 89.55 kB / 0.7106 GB, free: 2.105 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.8283, allocations: 8.125 kB / 0.7106 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8284, allocations: 0 / 0.7106 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.8284, allocations: 7.953 kB / 0.7106 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.8286, allocations: 19.98 kB / 0.7107 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.8286, allocations: 0 / 0.7107 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.8287, allocations: 27.77 kB / 0.7107 GB, free: 2.043 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.8288, allocations: 4 kB / 0.7107 GB, free: 2.039 MB / 0.5886 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 9.672e-05/0.8289, allocations: 113 kB / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.8289, allocations: 0 / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.8291, allocations: 78.3 kB / 0.7109 GB, free: 1.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.8292, allocations: 7.953 kB / 0.7109 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8292, allocations: 0 / 0.7109 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.8292, allocations: 0 / 0.7109 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.8297, allocations: 342.6 kB / 0.7112 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.8297, allocations: 0 / 0.7112 GB, free: 1.441 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.8298, allocations: 23.92 kB / 0.7112 GB, free: 1.418 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8298, allocations: 3.953 kB / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.8299, allocations: 0 / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.8299, allocations: 0 / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.8299, allocations: 0 / 0.7112 GB, free: 1.414 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.8301, allocations: 171.5 kB / 0.7114 GB, free: 1.23 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.8302, allocations: 85.02 kB / 0.7115 GB, free: 1.129 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.8303, allocations: 7.953 kB / 0.7115 GB, free: 1.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.8304, allocations: 15.98 kB / 0.7115 GB, free: 1.105 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.8305, allocations: 4.188 kB / 0.7115 GB, free: 1.102 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.8305, allocations: 4.234 kB / 0.7115 GB, free: 1.098 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.8306, allocations: 91.22 kB / 0.7116 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8306, allocations: 0 / 0.7116 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003263/0.831, allocations: 12 kB / 0.7116 GB, free: 0.9961 MB / 0.5886 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.0006022/0.8316, allocations: 0.7201 MB / 0.7123 GB, free: 256 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001767/0.8318, allocations: 43.94 kB / 0.7123 GB, free: 212 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8318, allocations: 0 / 0.7123 GB, free: 212 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.817e-05/0.8319, allocations: 20 kB / 0.7124 GB, free: 192 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.8321, allocations: 14.19 kB / 0.7124 GB, free: 180 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004813/0.8326, allocations: 118.7 kB / 0.7125 GB, free: 20 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.8329, allocations: 0.6849 MB / 0.7132 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.833, allocations: 12.11 kB / 0.7132 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.628e-05/0.8331, allocations: 15.38 kB / 0.7132 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of SimCode: time 1.282e-06/0.8331, allocations: 0 / 0.7132 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.8565, allocations: 1.387 MB / 0.7145 GB, free: 13.97 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.8568, allocations: 165.5 kB / 0.7147 GB, free: 13.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.193/3.049, allocations: 3.938 kB / 0.7147 GB, free: 13.74 MB / 0.6042 GB