Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.094/4.094, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.828e-05/3.836e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6817/0.6818, allocations: 92.67 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/0.9077, allocations: 121 MB / 0.7078 GB, free: 5.203 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.908, allocations: 75.94 kB / 0.7079 GB, free: 5.129 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.008513/0.9166, allocations: 1.417 MB / 0.7093 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9166, allocations: 0 / 0.7093 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.9167, allocations: 0 / 0.7093 GB, free: 3.711 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.001068/0.9177, allocations: 433.8 kB / 0.7097 GB, free: 3.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/0.9178, allocations: 12.03 kB / 0.7097 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.083e-05/0.9179, allocations: 46.48 kB / 0.7097 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.918, allocations: 11.86 kB / 0.7097 GB, free: 3.152 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.9184, allocations: 183 kB / 0.7099 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.9184, allocations: 4 kB / 0.7099 GB, free: 2.93 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.9185, allocations: 15.92 kB / 0.7099 GB, free: 2.914 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.9189, allocations: 97.77 kB / 0.71 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.919, allocations: 0 / 0.71 GB, free: 2.812 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.919, allocations: 4 kB / 0.71 GB, free: 2.809 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.9191, allocations: 3.953 kB / 0.71 GB, free: 2.805 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.9194, allocations: 55.98 kB / 0.7101 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.9207, allocations: 340.7 kB / 0.7104 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.921, allocations: 74.56 kB / 0.7105 GB, free: 2.285 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.9212, allocations: 56.91 kB / 0.7105 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.9213, allocations: 4 kB / 0.7105 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.9216, allocations: 103.3 kB / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 3.867e-06/0.9217, allocations: 0 / 0.7106 GB, free: 2.109 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0006945/0.9224, allocations: 179.3 kB / 0.7108 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.609e-05/0.9225, allocations: 81.11 kB / 0.7109 GB, free: 1.824 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.9227, allocations: 113 kB / 0.711 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.9228, allocations: 37.7 kB / 0.711 GB, free: 1.664 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.771e-05/0.9229, allocations: 96.03 kB / 0.7111 GB, free: 1.566 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.923, allocations: 15.84 kB / 0.7111 GB, free: 1.551 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.923, allocations: 4 kB / 0.7111 GB, free: 1.547 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.9232, allocations: 318.8 kB / 0.7114 GB, free: 1.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.9234, allocations: 51.92 kB / 0.7115 GB, free: 1.176 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.9236, allocations: 44 kB / 0.7115 GB, free: 1.133 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.9239, allocations: 87.38 kB / 0.7116 GB, free: 1.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.9239, allocations: 4 kB / 0.7116 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000739/0.9247, allocations: 221 kB / 0.7118 GB, free: 0.7969 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.77e-05/0.9248, allocations: 77.78 kB / 0.7119 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.9248, allocations: 160 / 0.7119 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.9248, allocations: 0 / 0.7119 GB, free: 0.7109 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.9252, allocations: 15.98 kB / 0.7119 GB, free: 0.6953 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.9252, allocations: 7.984 kB / 0.7119 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004282/0.9256, allocations: 39.81 kB / 0.712 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.9257, allocations: 4 kB / 0.712 GB, free: 0.6445 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001946/0.9259, allocations: 144.8 kB / 0.7121 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.926, allocations: 4 kB / 0.7121 GB, free: 500 kB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.048e-05/0.9261, allocations: 16.56 kB / 0.7121 GB, free: 484 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9261, allocations: 4 kB / 0.7121 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.9261, allocations: 0 / 0.7121 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.9261, allocations: 0 / 0.7121 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.9264, allocations: 201.6 kB / 0.7123 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.9265, allocations: 0 / 0.7123 GB, free: 228 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9267, allocations: 15.98 kB / 0.7123 GB, free: 212 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.9267, allocations: 0 / 0.7123 GB, free: 212 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.9268, allocations: 4 kB / 0.7123 GB, free: 208 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/0.9268, allocations: 7.953 kB / 0.7124 GB, free: 200 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.9268, allocations: 3.938 kB / 0.7124 GB, free: 196 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.9276, allocations: 210.8 kB / 0.7126 GB, free: 15.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.9277, allocations: 77.23 kB / 0.7126 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.9278, allocations: 8 kB / 0.7126 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.9283, allocations: 27.97 kB / 0.7127 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.9285, allocations: 39.91 kB / 0.7127 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-05/0.9286, allocations: 4 kB / 0.7127 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001222/0.9288, allocations: 99.83 kB / 0.7128 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.12e-07/0.9288, allocations: 0 / 0.7128 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004978/0.9293, allocations: 28 kB / 0.7128 GB, free: 15.66 MB / 0.6042 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 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.001221/0.9305, allocations: 0.7505 MB / 0.7136 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007151/0.9313, allocations: 222.8 kB / 0.7138 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.9313, allocations: 4 kB / 0.7138 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.9317, allocations: 123.3 kB / 0.7139 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.9321, allocations: 15.95 kB / 0.7139 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.9332, allocations: 191 kB / 0.7141 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.9336, allocations: 0.6965 MB / 0.7148 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.9338, allocations: 16.16 kB / 0.7148 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.9339, allocations: 15.44 kB / 0.7148 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.154e-06/0.9339, allocations: 0 / 0.7148 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02748/0.9614, allocations: 2.479 MB / 0.7172 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003045/0.9618, allocations: 158.1 kB / 0.7174 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/3.62, allocations: 3.938 kB / 0.7174 GB, free: 10.86 MB / 0.6042 GB