Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.614/4.614, allocations: 404.1 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.245e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6731/0.6731, allocations: 92.68 MB / 0.585 GB, free: 2.27 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/0.9269, allocations: 120.3 MB / 0.7025 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.9272, allocations: 75.89 kB / 0.7026 GB, free: 9.711 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.00775/0.935, allocations: 1.41 MB / 0.704 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.853e-06/0.935, allocations: 0 / 0.704 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.9351, allocations: 0 / 0.704 GB, free: 8.297 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.0008394/0.9359, allocations: 443.6 kB / 0.7044 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/0.936, allocations: 8.031 kB / 0.7044 GB, free: 7.801 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.781e-05/0.9361, allocations: 15.8 kB / 0.7044 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.9363, allocations: 191 kB / 0.7046 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.9364, allocations: 4 kB / 0.7046 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.9364, allocations: 8 kB / 0.7046 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002178/0.9367, allocations: 43.98 kB / 0.7047 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.9369, allocations: 93.59 kB / 0.7048 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.937, allocations: 4 kB / 0.7048 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.937, allocations: 11.94 kB / 0.7048 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.299e-06/0.937, allocations: 0 / 0.7048 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007996/0.9378, allocations: 313.3 kB / 0.7051 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.938, allocations: 70.56 kB / 0.7051 GB, free: 6.969 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.9382, allocations: 44.98 kB / 0.7052 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.9382, allocations: 4 kB / 0.7052 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.9385, allocations: 107.2 kB / 0.7053 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 2.955e-06/0.9386, allocations: 0 / 0.7053 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0004897/0.9391, allocations: 141.6 kB / 0.7054 GB, free: 6.656 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.9391, allocations: 85.11 kB / 0.7055 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.9393, allocations: 114.5 kB / 0.7056 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.9394, allocations: 29.7 kB / 0.7056 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.56e-05/0.9395, allocations: 96.03 kB / 0.7057 GB, free: 6.305 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.9395, allocations: 19.78 kB / 0.7058 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.9395, allocations: 4 kB / 0.7058 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.9397, allocations: 318.8 kB / 0.7061 GB, free: 5.961 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.9398, allocations: 44 kB / 0.7061 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.94, allocations: 39.98 kB / 0.7061 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.9401, allocations: 31.92 kB / 0.7062 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.9401, allocations: 0 / 0.7062 GB, free: 5.848 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004697/0.9406, allocations: 149.7 kB / 0.7063 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 8.12e-05/0.9407, allocations: 73.05 kB / 0.7064 GB, free: 5.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.9407, allocations: 4 kB / 0.7064 GB, free: 5.609 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/0.9408, allocations: 3.953 kB / 0.7064 GB, free: 5.605 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.941, allocations: 19.92 kB / 0.7064 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.941, allocations: 0 / 0.7064 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003257/0.9414, allocations: 35.88 kB / 0.7065 GB, free: 5.551 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.9414, allocations: 8.062 kB / 0.7065 GB, free: 5.543 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.0001447/0.9416, allocations: 134.7 kB / 0.7066 GB, free: 5.398 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004137/0.942, allocations: 145.7 kB / 0.7067 GB, free: 5.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.9421, allocations: 11.86 kB / 0.7067 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.9421, allocations: 12.61 kB / 0.7067 GB, free: 5.227 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.9421, allocations: 8 kB / 0.7068 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9422, allocations: 0 / 0.7068 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.9422, allocations: 0 / 0.7068 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.9424, allocations: 170.2 kB / 0.7069 GB, free: 5.016 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9424, allocations: 3.984 kB / 0.7069 GB, free: 5.012 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.9426, allocations: 15.98 kB / 0.7069 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.9426, allocations: 3.938 kB / 0.7069 GB, free: 4.992 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.9426, allocations: 4 kB / 0.7069 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.9426, allocations: 3.953 kB / 0.7069 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.9427, allocations: 4 kB / 0.707 GB, free: 4.98 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/0.9431, allocations: 161.1 kB / 0.7071 GB, free: 4.805 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.053e-05/0.9432, allocations: 88.95 kB / 0.7072 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.9432, allocations: 7.984 kB / 0.7072 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.9436, allocations: 23.98 kB / 0.7072 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/0.9438, allocations: 43.91 kB / 0.7073 GB, free: 4.625 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.9438, allocations: 3.984 kB / 0.7073 GB, free: 4.621 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.937e-05/0.9439, allocations: 96.55 kB / 0.7074 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9439, allocations: 0 / 0.7074 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003521/0.9443, allocations: 24 kB / 0.7074 GB, free: 4.504 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 ($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.0008292/0.9451, allocations: 0.7176 MB / 0.7081 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004631/0.9456, allocations: 214.8 kB / 0.7083 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.9456, allocations: 0 / 0.7083 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.9459, allocations: 119.5 kB / 0.7084 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.9462, allocations: 12.08 kB / 0.7084 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.947, allocations: 190 kB / 0.7086 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.9473, allocations: 0.6924 MB / 0.7093 GB, free: 2.441 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.000119/0.9474, allocations: 12.17 kB / 0.7093 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.9475, allocations: 15.44 kB / 0.7093 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of SimCode: time 8.22e-07/0.9475, allocations: 0 / 0.7093 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4385/1.386, allocations: 2.115 MB / 0.7114 GB, free: 328 kB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0008624/1.387, allocations: 151.1 kB / 0.7115 GB, free: 128 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.884/4.271, allocations: 0 / 0.7115 GB, free: 128 kB / 0.5886 GB