Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.203/4.203, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.04e-05/5.043e-05, allocations: 8 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 107.1 MB / 0.6778 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8385/1.071, allocations: 132 MB / 0.8067 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/1.071, allocations: 72.98 kB / 0.8068 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003964/1.075, allocations: 1.028 MB / 0.8078 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/1.075, allocations: 0.7656 kB / 0.8078 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.265e-06/1.075, allocations: 0 / 0.8078 GB, free: 11.91 MB / 0.6355 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.0005977/1.076, allocations: 373 kB / 0.8082 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/1.076, allocations: 11.56 kB / 0.8082 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/1.076, allocations: 33.69 kB / 0.8082 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.302e-05/1.076, allocations: 7.688 kB / 0.8082 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/1.076, allocations: 181.2 kB / 0.8084 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.468e-05/1.076, allocations: 41.16 kB / 0.8084 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/1.077, allocations: 0 / 0.8084 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/1.077, allocations: 57.42 kB / 0.8085 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/1.077, allocations: 0 / 0.8085 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/1.077, allocations: 3.938 kB / 0.8085 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/1.077, allocations: 0 / 0.8085 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.071e-05/1.077, allocations: 23.84 kB / 0.8085 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005722/1.077, allocations: 313.3 kB / 0.8088 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/1.078, allocations: 104.2 kB / 0.8089 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/1.078, allocations: 16.08 kB / 0.8089 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.246e-05/1.078, allocations: 0 / 0.8089 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/1.078, allocations: 73.45 kB / 0.809 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/1.078, allocations: 0 / 0.809 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002442/1.079, allocations: 78.17 kB / 0.8091 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/1.079, allocations: 58.41 kB / 0.8091 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.607e-05/1.079, allocations: 107.6 kB / 0.8092 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.079, allocations: 32.61 kB / 0.8093 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/1.079, allocations: 87.39 kB / 0.8093 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/1.079, allocations: 15.56 kB / 0.8094 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-06/1.079, allocations: 3.938 kB / 0.8094 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.925e-05/1.079, allocations: 320.9 kB / 0.8097 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/1.079, allocations: 14.47 kB / 0.8097 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.906e-05/1.079, allocations: 48.97 kB / 0.8097 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.669e-05/1.079, allocations: 21.73 kB / 0.8097 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/1.079, allocations: 0 / 0.8097 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/1.079, allocations: 85.45 kB / 0.8098 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.079, allocations: 6.266 kB / 0.8098 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.079, allocations: 3.844 kB / 0.8098 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/1.079, allocations: 4.094 kB / 0.8098 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/1.08, allocations: 25.23 kB / 0.8099 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.08, allocations: 0 / 0.8099 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/1.08, allocations: 22.56 kB / 0.8099 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/1.08, allocations: 2.781 kB / 0.8099 GB, free: 10.15 MB / 0.6355 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 7.081e-05/1.08, allocations: 120.7 kB / 0.81 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/1.08, allocations: 11.59 kB / 0.81 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/1.08, allocations: 15.69 kB / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.08, allocations: 0 / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/1.08, allocations: 0 / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/1.08, allocations: 3.328 kB / 0.81 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/1.08, allocations: 334.2 kB / 0.8104 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/1.08, allocations: 0 / 0.8104 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/1.081, allocations: 20.94 kB / 0.8104 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.081, allocations: 0 / 0.8104 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.081, allocations: 3.844 kB / 0.8104 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.081, allocations: 0 / 0.8104 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.081, allocations: 3.953 kB / 0.8104 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001758/1.081, allocations: 173.2 kB / 0.8105 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/1.081, allocations: 81.02 kB / 0.8106 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/1.081, allocations: 6.75 kB / 0.8106 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.081, allocations: 18.05 kB / 0.8106 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/1.081, allocations: 10.7 kB / 0.8107 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.788e-06/1.081, allocations: 6.781 kB / 0.8107 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.592e-05/1.081, allocations: 89.97 kB / 0.8108 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/1.081, allocations: 0 / 0.8108 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003197/1.082, allocations: 11.66 kB / 0.8108 GB, free: 9.391 MB / 0.6355 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.0008057/1.082, allocations: 0.7265 MB / 0.8115 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001941/1.083, allocations: 53.91 kB / 0.8115 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.083, allocations: 0 / 0.8115 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.592e-05/1.083, allocations: 22.09 kB / 0.8115 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/1.083, allocations: 11.59 kB / 0.8116 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/1.084, allocations: 133 kB / 0.8117 GB, free: 24.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/1.084, allocations: 0.6932 MB / 0.8124 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.171e-05/1.084, allocations: 3.844 kB / 0.8124 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/1.084, allocations: 20.53 kB / 0.8124 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.084, allocations: 3.938 kB / 0.8124 GB, free: 23.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/1.107, allocations: 1.675 MB / 0.814 GB, free: 23.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/1.107, allocations: 160.3 kB / 0.8142 GB, free: 23.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.37, allocations: 0 / 0.8142 GB, free: 23.41 MB / 0.6511 GB