Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.628/4.628, allocations: 404.1 MB / 411.3 MB, free: 300 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.737e-05, allocations: 8 kB / 0.4946 GB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.729, allocations: 92.68 MB / 0.5851 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/1.101, allocations: 124.2 MB / 0.7064 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006309/1.102, allocations: 91.92 kB / 0.7065 GB, free: 5.914 MB / 0.5886 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Fluid/HeatExchangers/DXCoils/BaseClasses/SpeedSelect.mo:15:52-15:57:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.05503/1.157, allocations: 9.391 MB / 0.7156 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.495e-06/1.157, allocations: 0 / 0.7156 GB, free: 12.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.097e-05/1.157, allocations: 8 kB / 0.7156 GB, free: 12.44 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.001282/1.158, allocations: 0.6526 MB / 0.7163 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/1.159, allocations: 16.02 kB / 0.7163 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/1.159, allocations: 55.3 kB / 0.7163 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/1.16, allocations: 371.9 kB / 0.7167 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/1.16, allocations: 8 kB / 0.7167 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/1.16, allocations: 0 / 0.7167 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001391/1.16, allocations: 31.98 kB / 0.7167 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/1.16, allocations: 73.67 kB / 0.7168 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.16, allocations: 0 / 0.7168 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/1.16, allocations: 0 / 0.7168 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/1.16, allocations: 3.953 kB / 0.7168 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/1.161, allocations: 417.2 kB / 0.7172 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/1.162, allocations: 62.56 kB / 0.7173 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.613e-05/1.162, allocations: 28.86 kB / 0.7173 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/1.162, allocations: 0 / 0.7173 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/1.162, allocations: 91.47 kB / 0.7174 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 4.919e-06/1.162, allocations: 3.984 kB / 0.7174 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0005363/1.163, allocations: 180.9 kB / 0.7176 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/1.163, allocations: 85.11 kB / 0.7176 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/1.164, allocations: 0.6049 MB / 0.7182 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/1.164, allocations: 29.7 kB / 0.7183 GB, free: 9.547 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004293/1.165, allocations: 260 kB / 0.7185 GB, free: 9.289 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/1.165, allocations: 15.8 kB / 0.7185 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/1.165, allocations: 0 / 0.7185 GB, free: 9.273 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002619/1.165, allocations: 370.8 kB / 0.7189 GB, free: 8.902 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.165, allocations: 35.98 kB / 0.7189 GB, free: 8.867 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/1.165, allocations: 35.98 kB / 0.7189 GB, free: 8.832 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/1.166, allocations: 39.97 kB / 0.719 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.166, allocations: 4 kB / 0.719 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005834/1.166, allocations: 189 kB / 0.7192 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.359e-05/1.166, allocations: 59.41 kB / 0.7192 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/1.166, allocations: 0 / 0.7192 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.166, allocations: 3.984 kB / 0.7192 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.673e-05/1.166, allocations: 3.938 kB / 0.7192 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.166, allocations: 80 / 0.7192 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/1.167, allocations: 7.953 kB / 0.7192 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/1.167, allocations: 7.984 kB / 0.7192 GB, free: 8.504 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.sta.y,sta.y,$PRE.sta.nextTime,sta.nextTime,$PRE.sta.index,sta.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 2 * 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.0001471/1.167, allocations: 146.6 kB / 0.7194 GB, free: 8.348 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004383/1.167, allocations: 185.2 kB / 0.7196 GB, free: 8.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/1.167, allocations: 59.25 kB / 0.7196 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/1.168, allocations: 60.83 kB / 0.7197 GB, free: 8.039 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/1.168, allocations: 3.953 kB / 0.7197 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.168, allocations: 0 / 0.7197 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/1.168, allocations: 0 / 0.7197 GB, free: 8.035 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/1.168, allocations: 298.1 kB / 0.72 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.168, allocations: 0 / 0.72 GB, free: 7.707 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/1.168, allocations: 11.94 kB / 0.72 GB, free: 7.695 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/1.168, allocations: 3.938 kB / 0.72 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/1.168, allocations: 3.984 kB / 0.72 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.168, allocations: 0 / 0.72 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.168, allocations: 0 / 0.72 GB, free: 7.688 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/1.169, allocations: 208.4 kB / 0.7202 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/1.169, allocations: 124.4 kB / 0.7203 GB, free: 7.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-05/1.169, allocations: 4 kB / 0.7203 GB, free: 7.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/1.169, allocations: 8 kB / 0.7203 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/1.17, allocations: 3.984 kB / 0.7203 GB, free: 7.309 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/1.17, allocations: 4 kB / 0.7203 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001125/1.171, allocations: 0.5029 MB / 0.7208 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.51e-07/1.171, allocations: 4 kB / 0.7208 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005371/1.171, allocations: 55.95 kB / 0.7209 GB, free: 6.746 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.nextTime,sta.index) * Number of discrete states: 2 (sta.nextTime,sta.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.001473/1.173, allocations: 0.9283 MB / 0.7218 GB, free: 5.789 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003626/1.173, allocations: 183 kB / 0.7219 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.173, allocations: 8 kB / 0.722 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/1.173, allocations: 95.45 kB / 0.722 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/1.174, allocations: 111.3 kB / 0.7221 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/1.177, allocations: 0.903 MB / 0.723 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009836/1.178, allocations: 0.9504 MB / 0.724 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001905/1.179, allocations: 17.86 kB / 0.724 GB, free: 3.426 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003386/1.179, allocations: 131.4 kB / 0.7241 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/1.179, allocations: 3.938 kB / 0.7241 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07542/1.254, allocations: 9.451 MB / 0.7333 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003846/1.255, allocations: 174.2 kB / 0.7335 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.186/4.441, allocations: 0 / 0.7335 GB, free: 9.77 MB / 0.6198 GB