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={"static"}) Notification: Performance of loadModel(Buildings): time 3.921/3.921, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.824e-05/3.815e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6133/0.6133, allocations: 92.69 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.8412, allocations: 124.9 MB / 0.7116 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.8416, allocations: 91.92 kB / 0.7117 GB, free: 1.234 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.0392/0.8808, allocations: 9.515 MB / 0.721 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8808, allocations: 0 / 0.721 GB, free: 7.645 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.144e-05/0.8809, allocations: 4 kB / 0.721 GB, free: 7.641 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.000989/0.8819, allocations: 0.6531 MB / 0.7216 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.8819, allocations: 12.03 kB / 0.7217 GB, free: 6.918 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.031e-05/0.882, allocations: 38.55 kB / 0.7217 GB, free: 6.871 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.8821, allocations: 59.23 kB / 0.7217 GB, free: 6.812 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.8829, allocations: 379.8 kB / 0.7221 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.883, allocations: 0 / 0.7221 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.883, allocations: 4 kB / 0.7221 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.8832, allocations: 77.66 kB / 0.7222 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.8832, allocations: 0 / 0.7222 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8833, allocations: 4 kB / 0.7222 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8833, allocations: 0 / 0.7222 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.43e-05/0.8834, allocations: 39.94 kB / 0.7222 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008128/0.8842, allocations: 428.7 kB / 0.7226 GB, free: 5.801 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.8844, allocations: 62.5 kB / 0.7227 GB, free: 5.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.238e-05/0.8845, allocations: 36.86 kB / 0.7227 GB, free: 5.691 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.8845, allocations: 4 kB / 0.7227 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.8847, allocations: 91.45 kB / 0.7228 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.455e-06/0.8847, allocations: 0 / 0.7228 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5): time 0.0004682/0.8852, allocations: 210.7 kB / 0.723 GB, free: 5.367 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.8853, allocations: 89.03 kB / 0.7231 GB, free: 5.262 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.8866, allocations: 0.6284 MB / 0.7237 GB, free: 4.629 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.8867, allocations: 29.7 kB / 0.7237 GB, free: 4.594 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.887, allocations: 268 kB / 0.724 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.8871, allocations: 15.81 kB / 0.724 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.8871, allocations: 0 / 0.724 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.8873, allocations: 370.8 kB / 0.7244 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.8874, allocations: 35.98 kB / 0.7244 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.8876, allocations: 43.95 kB / 0.7244 GB, free: 3.863 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.8877, allocations: 95.33 kB / 0.7245 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.8877, allocations: 0 / 0.7245 GB, free: 3.758 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005162/0.8882, allocations: 244.4 kB / 0.7248 GB, free: 3.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.8883, allocations: 71.39 kB / 0.7248 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.8883, allocations: 0 / 0.7248 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.8884, allocations: 0 / 0.7248 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.99e-05/0.8884, allocations: 7.953 kB / 0.7248 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.8884, allocations: 0 / 0.7248 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.8887, allocations: 7.938 kB / 0.7249 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.8887, allocations: 7.984 kB / 0.7249 GB, free: 3.395 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.0001243/0.8889, allocations: 134.7 kB / 0.725 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.889, allocations: 51.34 kB / 0.725 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.8892, allocations: 64.52 kB / 0.7251 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.8892, allocations: 4 kB / 0.7251 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.8892, allocations: 3.953 kB / 0.7251 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.8892, allocations: 0 / 0.7251 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.8898, allocations: 321.5 kB / 0.7254 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.8898, allocations: 3.938 kB / 0.7254 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.8898, allocations: 0 / 0.7254 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.8898, allocations: 0 / 0.7254 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.8898, allocations: 4 kB / 0.7254 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8899, allocations: 0 / 0.7254 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8899, allocations: 192 / 0.7254 GB, free: 2.754 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004605/0.8903, allocations: 254 kB / 0.7257 GB, free: 2.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.8905, allocations: 120.5 kB / 0.7258 GB, free: 2.344 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.8906, allocations: 3.938 kB / 0.7258 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.8908, allocations: 7.984 kB / 0.7258 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.8909, allocations: 4 kB / 0.7258 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.704e-05/0.8909, allocations: 15.92 kB / 0.7258 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001088/0.892, allocations: 0.5303 MB / 0.7263 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.892, allocations: 0 / 0.7263 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005556/0.8926, allocations: 63.95 kB / 0.7264 GB, free: 1.727 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.001372/0.894, allocations: 0.96 MB / 0.7273 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.8944, allocations: 194.7 kB / 0.7275 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8944, allocations: 0 / 0.7275 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.8945, allocations: 91.39 kB / 0.7276 GB, free: 436 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.8954, allocations: 102.9 kB / 0.7277 GB, free: 328 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.8978, allocations: 0.9163 MB / 0.7286 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.8986, allocations: 0.9507 MB / 0.7295 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.8988, allocations: 17.55 kB / 0.7295 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.899, allocations: 131.4 kB / 0.7297 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of SimCode: time 1.213e-06/0.899, allocations: 0 / 0.7297 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04202/0.941, allocations: 11.14 MB / 0.7405 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000357/0.9415, allocations: 175.7 kB / 0.7407 GB, free: 3.062 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.663/3.604, allocations: 0 / 0.7407 GB, free: 3.062 MB / 0.6198 GB