Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Change,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.314/4.314, allocations: 460.4 MB / 472.6 MB, free: 5.402 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.316e-05, allocations: 4 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2506, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.938/1.189, allocations: 135.5 MB / 0.8042 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/1.189, allocations: 81.88 kB / 0.8043 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0263/1.215, allocations: 6.798 MB / 0.8109 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.215, allocations: 0 / 0.8109 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.291e-05/1.215, allocations: 11.78 kB / 0.8109 GB, free: 12.19 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008077/1.216, allocations: 0.4908 MB / 0.8114 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.216, allocations: 11.53 kB / 0.8114 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/1.216, allocations: 39.88 kB / 0.8115 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/1.216, allocations: 31.05 kB / 0.8115 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/1.217, allocations: 286.1 kB / 0.8118 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/1.217, allocations: 7.062 kB / 0.8118 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.217, allocations: 10.66 kB / 0.8118 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/1.217, allocations: 135.5 kB / 0.8119 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.217, allocations: 0 / 0.8119 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/1.217, allocations: 0 / 0.8119 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/1.217, allocations: 3.844 kB / 0.8119 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/1.218, allocations: 68.12 kB / 0.812 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009943/1.219, allocations: 0.5509 MB / 0.8125 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/1.219, allocations: 117.6 kB / 0.8126 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.219, allocations: 42.42 kB / 0.8127 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/1.219, allocations: 0 / 0.8127 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/1.219, allocations: 115.1 kB / 0.8128 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/1.219, allocations: 3.812 kB / 0.8128 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004473/1.22, allocations: 169.1 kB / 0.813 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1.22, allocations: 62.17 kB / 0.813 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/1.22, allocations: 293.8 kB / 0.8133 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.22, allocations: 32.02 kB / 0.8133 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/1.22, allocations: 138.6 kB / 0.8135 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/1.22, allocations: 39.66 kB / 0.8135 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/1.22, allocations: 2.938 kB / 0.8135 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.527e-05/1.221, allocations: 339.6 kB / 0.8138 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/1.221, allocations: 78.72 kB / 0.8139 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/1.221, allocations: 137.3 kB / 0.814 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/1.221, allocations: 93.97 kB / 0.8141 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.221, allocations: 3.938 kB / 0.8141 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005726/1.222, allocations: 276 kB / 0.8144 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.222, allocations: 7.594 kB / 0.8144 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.222, allocations: 4 kB / 0.8144 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/1.222, allocations: 3.875 kB / 0.8144 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/1.222, allocations: 45.89 kB / 0.8144 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.222, allocations: 3.969 kB / 0.8144 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/1.223, allocations: 32.84 kB / 0.8145 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.404e-05/1.223, allocations: 15.22 kB / 0.8145 GB, free: 10.14 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.344e-05/1.223, allocations: 123.5 kB / 0.8146 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/1.223, allocations: 31.02 kB / 0.8146 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/1.223, allocations: 176.2 kB / 0.8148 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.223, allocations: 3.875 kB / 0.8148 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.223, allocations: 4 kB / 0.8148 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.223, allocations: 0 / 0.8148 GB, free: 9.973 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008033/1.224, allocations: 0.5361 MB / 0.8153 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/1.224, allocations: 3.594 kB / 0.8153 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/1.224, allocations: 18.23 kB / 0.8154 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.224, allocations: 0 / 0.8154 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/1.224, allocations: 6.688 kB / 0.8154 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/1.224, allocations: 4 kB / 0.8154 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.224, allocations: 0 / 0.8154 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/1.225, allocations: 277 kB / 0.8156 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/1.225, allocations: 103.3 kB / 0.8157 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/1.225, allocations: 7 kB / 0.8157 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/1.225, allocations: 13.77 kB / 0.8157 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/1.225, allocations: 21.31 kB / 0.8158 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.225, allocations: 6.547 kB / 0.8158 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002427/1.226, allocations: 206.6 kB / 0.816 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.226, allocations: 0 / 0.816 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004522/1.226, allocations: 59.25 kB / 0.816 GB, free: 9.305 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001945/1.228, allocations: 1.098 MB / 0.8171 GB, free: 24.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004084/1.228, allocations: 177.3 kB / 0.8173 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.228, allocations: 0 / 0.8173 GB, free: 24.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/1.229, allocations: 63.19 kB / 0.8173 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/1.229, allocations: 43.73 kB / 0.8174 GB, free: 24.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/1.23, allocations: 384.4 kB / 0.8177 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003541/1.23, allocations: 0.7525 MB / 0.8185 GB, free: 23.6 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001576/1.231, allocations: 41.31 kB / 0.8185 GB, free: 23.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.231, allocations: 74.53 kB / 0.8186 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of SimCode: time 7.31e-07/1.231, allocations: 0 / 0.8186 GB, free: 23.58 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/1.256, allocations: 4.942 MB / 0.8234 GB, free: 22.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002562/1.256, allocations: 200.6 kB / 0.8236 GB, free: 22.26 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/3.851, allocations: 0 / 0.8236 GB, free: 22.26 MB / 0.6511 GB