Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.424/4.424, allocations: 404.1 MB / 411.3 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.171e-05, allocations: 11.28 kB / 0.4946 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6562, allocations: 92.68 MB / 0.5851 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.9177, allocations: 120.4 MB / 0.7027 GB, free: 9.73 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.9181, allocations: 95.86 kB / 0.7028 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.0183/0.9364, allocations: 3.598 MB / 0.7063 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9365, allocations: 0 / 0.7063 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.9365, allocations: 4 kB / 0.7063 GB, free: 6.031 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001232/0.9377, allocations: 482.1 kB / 0.7067 GB, free: 5.516 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.9378, allocations: 8.031 kB / 0.7067 GB, free: 5.508 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.9379, allocations: 23.7 kB / 0.7068 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.9382, allocations: 206.8 kB / 0.707 GB, free: 5.242 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.9382, allocations: 4 kB / 0.707 GB, free: 5.238 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.9382, allocations: 4 kB / 0.707 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003105/0.9386, allocations: 79.97 kB / 0.707 GB, free: 5.156 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.9389, allocations: 113.7 kB / 0.7072 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.9389, allocations: 0 / 0.7072 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.939, allocations: 0 / 0.7072 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.939, allocations: 7.938 kB / 0.7072 GB, free: 5.031 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.9405, allocations: 492.9 kB / 0.7076 GB, free: 4.512 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.9408, allocations: 82.48 kB / 0.7077 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/0.941, allocations: 68.84 kB / 0.7078 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.941, allocations: 0 / 0.7078 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.9411, allocations: 30.56 kB / 0.7078 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 2.635e-06/0.9411, allocations: 4 kB / 0.7078 GB, free: 4.309 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0005922/0.9417, allocations: 161.5 kB / 0.708 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.9417, allocations: 51.41 kB / 0.708 GB, free: 4.082 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.9419, allocations: 129.1 kB / 0.7081 GB, free: 3.953 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.942, allocations: 25.7 kB / 0.7082 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.9421, allocations: 116.4 kB / 0.7083 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-05/0.9421, allocations: 39.36 kB / 0.7083 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.9422, allocations: 3.938 kB / 0.7083 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.9423, allocations: 322.8 kB / 0.7086 GB, free: 3.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.9425, allocations: 55.98 kB / 0.7087 GB, free: 3.379 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.9427, allocations: 55.92 kB / 0.7087 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.9429, allocations: 68.56 kB / 0.7088 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.943, allocations: 0 / 0.7088 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000477/0.9435, allocations: 154.5 kB / 0.7089 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.9435, allocations: 11.98 kB / 0.709 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.9435, allocations: 0 / 0.709 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.9436, allocations: 0 / 0.709 GB, free: 3.09 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.9441, allocations: 55.95 kB / 0.709 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9441, allocations: 3.938 kB / 0.709 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003997/0.9445, allocations: 51.8 kB / 0.7091 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.9446, allocations: 4 kB / 0.7091 GB, free: 2.977 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001054/0.9447, allocations: 104.9 kB / 0.7092 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004829/0.9452, allocations: 162.6 kB / 0.7093 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.9452, allocations: 19.8 kB / 0.7093 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.9458, allocations: 178.4 kB / 0.7095 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.9459, allocations: 4 kB / 0.7095 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9459, allocations: 4 kB / 0.7095 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.9459, allocations: 0 / 0.7095 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.9463, allocations: 218.2 kB / 0.7097 GB, free: 2.242 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.9463, allocations: 7.984 kB / 0.7097 GB, free: 2.234 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004897/0.9468, allocations: 51.89 kB / 0.7098 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.9468, allocations: 0 / 0.7098 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.9469, allocations: 4 kB / 0.7098 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.9469, allocations: 0 / 0.7098 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.9469, allocations: 0 / 0.7098 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005385/0.9474, allocations: 260.8 kB / 0.71 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.9475, allocations: 92.86 kB / 0.7101 GB, free: 1.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.9476, allocations: 4 kB / 0.7101 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.948, allocations: 43.95 kB / 0.7102 GB, free: 1.754 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.9481, allocations: 11.98 kB / 0.7102 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.9482, allocations: 7.984 kB / 0.7102 GB, free: 1.734 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001035/0.9483, allocations: 107.1 kB / 0.7103 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9483, allocations: 0 / 0.7103 GB, free: 1.629 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004881/0.9488, allocations: 39.98 kB / 0.7103 GB, free: 1.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001069/0.9499, allocations: 0.8431 MB / 0.7112 GB, free: 0.7227 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.9504, allocations: 191.4 kB / 0.7113 GB, free: 0.5234 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.9504, allocations: 4 kB / 0.7113 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002593/0.9507, allocations: 143.3 kB / 0.7115 GB, free: 376 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.9511, allocations: 14.95 kB / 0.7115 GB, free: 364 kB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009384/0.9521, allocations: 258.3 kB / 0.7117 GB, free: 68 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.9525, allocations: 0.737 MB / 0.7125 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.9527, allocations: 15.97 kB / 0.7125 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.9528, allocations: 31.44 kB / 0.7125 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of SimCode: time 1.082e-06/0.9529, allocations: 0 / 0.7125 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04107/0.9939, allocations: 2.692 MB / 0.7151 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003249/0.9943, allocations: 159.8 kB / 0.7153 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.673/3.668, allocations: 3.938 kB / 0.7153 GB, free: 12.38 MB / 0.6042 GB