Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.933/3.933, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.428e-05/5.443e-05, allocations: 11.92 kB / 0.4992 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6081/0.6082, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2342/0.8424, allocations: 121.5 MB / 0.7083 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.8428, allocations: 83.94 kB / 0.7084 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.004067/0.8469, allocations: 0.9841 MB / 0.7093 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.024e-06/0.847, allocations: 0 / 0.7093 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.847, allocations: 0 / 0.7093 GB, free: 3.664 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.0006525/0.8477, allocations: 371.4 kB / 0.7097 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.8477, allocations: 12.03 kB / 0.7097 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.777e-05/0.8478, allocations: 38.55 kB / 0.7097 GB, free: 3.199 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.8478, allocations: 7.953 kB / 0.7098 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.8481, allocations: 174.9 kB / 0.7099 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.8481, allocations: 4 kB / 0.7099 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.8481, allocations: 11.98 kB / 0.7099 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.8483, allocations: 49.69 kB / 0.71 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8483, allocations: 0 / 0.71 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.8483, allocations: 7.828 kB / 0.71 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.8484, allocations: 0 / 0.71 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.8485, allocations: 27.94 kB / 0.71 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006515/0.8491, allocations: 304.8 kB / 0.7103 GB, free: 2.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.8497, allocations: 102.6 kB / 0.7104 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.643e-05/0.8498, allocations: 20.98 kB / 0.7104 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.8498, allocations: 0 / 0.7104 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.85, allocations: 79.41 kB / 0.7105 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.385e-06/0.8501, allocations: 0 / 0.7105 GB, free: 2.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002626/0.8503, allocations: 77.52 kB / 0.7106 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.8504, allocations: 59.41 kB / 0.7106 GB, free: 2.156 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.8505, allocations: 101.2 kB / 0.7107 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.8505, allocations: 29.7 kB / 0.7108 GB, free: 2.012 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.8506, allocations: 92.12 kB / 0.7108 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.8507, allocations: 19.8 kB / 0.7109 GB, free: 1.898 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.263e-06/0.8507, allocations: 4 kB / 0.7109 GB, free: 1.895 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.8508, allocations: 318.8 kB / 0.7112 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.8509, allocations: 16 kB / 0.7112 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.569e-05/0.851, allocations: 39.81 kB / 0.7112 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.582e-05/0.8511, allocations: 19.92 kB / 0.7112 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8511, allocations: 4 kB / 0.7112 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002087/0.8513, allocations: 85.72 kB / 0.7113 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.8513, allocations: 7.953 kB / 0.7113 GB, free: 1.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.8514, allocations: 7.938 kB / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.8514, allocations: 0 / 0.7113 GB, free: 1.379 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.8515, allocations: 19.98 kB / 0.7114 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8516, allocations: 0 / 0.7114 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.8517, allocations: 20.08 kB / 0.7114 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.8518, allocations: 4 kB / 0.7114 GB, free: 1.336 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * 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.553e-05/0.8519, allocations: 116.4 kB / 0.7115 GB, free: 1.219 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/0.8519, allocations: 3.906 kB / 0.7115 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.852, allocations: 20.56 kB / 0.7115 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.852, allocations: 0 / 0.7115 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.852, allocations: 0 / 0.7115 GB, free: 1.195 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.852, allocations: 7.938 kB / 0.7115 GB, free: 1.188 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.8525, allocations: 330.6 kB / 0.7118 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.8526, allocations: 0 / 0.7118 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.8527, allocations: 19.88 kB / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.8527, allocations: 0 / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.8527, allocations: 0 / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.8528, allocations: 64 / 0.7119 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.8528, allocations: 4 kB / 0.7119 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.853, allocations: 175.4 kB / 0.712 GB, free: 0.5977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.8531, allocations: 89.02 kB / 0.7121 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.066e-05/0.8531, allocations: 7.938 kB / 0.7121 GB, free: 496 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.8533, allocations: 15.98 kB / 0.7121 GB, free: 480 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.366e-05/0.8534, allocations: 7.984 kB / 0.7121 GB, free: 472 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.8534, allocations: 0 / 0.7121 GB, free: 472 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.835e-05/0.8535, allocations: 95.28 kB / 0.7122 GB, free: 376 kB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8535, allocations: 0 / 0.7122 GB, free: 376 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003411/0.8539, allocations: 15.94 kB / 0.7123 GB, free: 360 kB / 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0006216/0.8545, allocations: 0.7131 MB / 0.7129 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.8547, allocations: 51.94 kB / 0.713 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8547, allocations: 0 / 0.713 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.686e-05/0.8548, allocations: 20.28 kB / 0.713 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.8552, allocations: 19.88 kB / 0.713 GB, free: 15.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005622/0.8557, allocations: 132.4 kB / 0.7132 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.8561, allocations: 0.6928 MB / 0.7138 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.762e-05/0.8562, allocations: 7.984 kB / 0.7138 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.8563, allocations: 19.38 kB / 0.7139 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/0.8563, allocations: 0 / 0.7139 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/0.8762, allocations: 1.627 MB / 0.7155 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/0.8766, allocations: 154.1 kB / 0.7156 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/3.186, allocations: 0 / 0.7156 GB, free: 12.84 MB / 0.6042 GB