Running command: "" <> buildModelFMU(Buildings.Utilities.Reports.Examples.Printer,fileNamePrefix="Buildings_5_0_1_Buildings_Utilities_Reports_Examples_Printer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.84/3.84, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/3.991e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6905/0.6905, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.9175, allocations: 121.7 MB / 0.7085 GB, free: 4.52 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.9179, allocations: 75.95 kB / 0.7085 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.01397/0.9318, allocations: 2.832 MB / 0.7113 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.824e-06/0.9319, allocations: 0 / 0.7113 GB, free: 1.598 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9319, allocations: 8 kB / 0.7113 GB, free: 1.59 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009809/0.9329, allocations: 0.507 MB / 0.7118 GB, free: 1.02 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.933, allocations: 12.03 kB / 0.7118 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.9331, allocations: 42.55 kB / 0.7119 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.9332, allocations: 15.86 kB / 0.7119 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.9335, allocations: 218.8 kB / 0.7121 GB, free: 0.6875 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.9335, allocations: 8 kB / 0.7121 GB, free: 0.6797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.9336, allocations: 8 kB / 0.7121 GB, free: 0.6719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.9339, allocations: 111.3 kB / 0.7122 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.9339, allocations: 0 / 0.7122 GB, free: 0.5508 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.9339, allocations: 8 kB / 0.7122 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.934, allocations: 0 / 0.7122 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.9341, allocations: 39.89 kB / 0.7123 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.9352, allocations: 472.8 kB / 0.7127 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.9354, allocations: 57.22 kB / 0.7128 GB, free: 15.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.9355, allocations: 37.72 kB / 0.7128 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.021e-05/0.9356, allocations: 15.92 kB / 0.7128 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.9359, allocations: 125.6 kB / 0.7129 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 3.086e-06/0.9359, allocations: 0 / 0.7129 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12): time 0.0004017/0.9363, allocations: 113.4 kB / 0.713 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.9364, allocations: 77.11 kB / 0.7131 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.9366, allocations: 145.5 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.9366, allocations: 29.64 kB / 0.7133 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.9367, allocations: 116.3 kB / 0.7134 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.9368, allocations: 27.62 kB / 0.7134 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.9368, allocations: 0 / 0.7134 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.937, allocations: 330.8 kB / 0.7137 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.069e-05/0.9371, allocations: 16 kB / 0.7137 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.9372, allocations: 98.31 kB / 0.7138 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.9373, allocations: 36.77 kB / 0.7139 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.9374, allocations: 4 kB / 0.7139 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003079/0.9377, allocations: 121.4 kB / 0.714 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.9377, allocations: 11.94 kB / 0.714 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9377, allocations: 4.109 kB / 0.714 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9378, allocations: 8.219 kB / 0.714 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.938, allocations: 23.92 kB / 0.714 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.938, allocations: 4 kB / 0.714 GB, free: 14.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001855/0.9382, allocations: 19.98 kB / 0.7141 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.9382, allocations: 4 kB / 0.7141 GB, free: 14.45 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.pri2.firstTrigger,pri2.firstTrigger,$PRE.pri1.firstTrigger,pri1.firstTrigger,$whenCondition4,$whenCondition2,pri1.sampleTrigger,$whenCondition3,pri2.sampleTrigger,$PRE.pri3.firstTrigger,pri3.firstTrigger,$whenCondition1,pri3.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001267/0.9384, allocations: 125.6 kB / 0.7142 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.271e-05/0.9384, allocations: 19.91 kB / 0.7142 GB, free: 14.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.394e-05/0.9385, allocations: 21.47 kB / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.9385, allocations: 0 / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9385, allocations: 0 / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.9386, allocations: 4 kB / 0.7142 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008372/0.9394, allocations: 0.4977 MB / 0.7147 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.9394, allocations: 4.094 kB / 0.7147 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.9396, allocations: 31.86 kB / 0.7147 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.9396, allocations: 0 / 0.7147 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.9397, allocations: 0 / 0.7147 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.9397, allocations: 4 kB / 0.7148 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9397, allocations: 0 / 0.7148 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.9401, allocations: 304.2 kB / 0.715 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.9402, allocations: 85.02 kB / 0.7151 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.9402, allocations: 8 kB / 0.7151 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.9405, allocations: 19.97 kB / 0.7152 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.9406, allocations: 15.92 kB / 0.7152 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.418e-05/0.9407, allocations: 8 kB / 0.7152 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001307/0.9408, allocations: 128.3 kB / 0.7153 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9408, allocations: 4 kB / 0.7153 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005364/0.9414, allocations: 43.98 kB / 0.7153 GB, free: 13.05 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (pri3.sampleTrigger,$whenCondition1,pri3.firstTrigger,pri2.sampleTrigger,pri1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,pri1.firstTrigger,pri2.firstTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001184/0.9426, allocations: 1.009 MB / 0.7163 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.9429, allocations: 71.88 kB / 0.7164 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.9429, allocations: 0 / 0.7164 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.9431, allocations: 43.92 kB / 0.7164 GB, free: 11.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.9435, allocations: 8 kB / 0.7164 GB, free: 11.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009027/0.9444, allocations: 232.7 kB / 0.7167 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.9448, allocations: 0.7238 MB / 0.7174 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.9449, allocations: 20.48 kB / 0.7174 GB, free: 10.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.199e-05/0.945, allocations: 35.42 kB / 0.7174 GB, free: 10.85 MB / 0.6042 GB Notification: Performance of SimCode: time 1.242e-06/0.945, allocations: 4 kB / 0.7174 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.9736, allocations: 3.047 MB / 0.7204 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/0.974, allocations: 189.6 kB / 0.7206 GB, free: 7.641 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/3.232, allocations: 4 kB / 0.7206 GB, free: 7.637 MB / 0.6042 GB