Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01134/0.01135, allocations: 107.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001244/0.001243, allocations: 181.8 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.137/2.137, allocations: 194.5 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.442/2.442, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006608/0.000661, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7861/0.7868, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedSelect): time 0.002391/0.7892, allocations: 1.396 MB / 0.6848 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002591/0.7919, allocations: 1.467 MB / 0.6862 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.206e-05/0.792, allocations: 1.25 kB / 0.6862 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.794, allocations: 0.4902 MB / 0.6867 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.7942, allocations: 47.81 kB / 0.6868 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007313/0.795, allocations: 127.6 kB / 0.6869 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005135/0.7955, allocations: 222.8 kB / 0.6871 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001672/0.7957, allocations: 60.72 kB / 0.6872 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001395/0.7958, allocations: 82.33 kB / 0.6872 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002244/0.7961, allocations: 108.5 kB / 0.6873 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.478e-05/0.7961, allocations: 1.469 kB / 0.6873 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.7963, allocations: 47.7 kB / 0.6874 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.7965, allocations: 100.9 kB / 0.6875 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.7967, allocations: 111.6 kB / 0.6876 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.7975, allocations: 452 kB / 0.688 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.7975, allocations: 0 / 0.688 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7975, allocations: 1.062 kB / 0.688 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.7975, allocations: 0 / 0.688 GB, free: 14.04 MB / 0.5261 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.001266/0.7988, allocations: 0.7013 MB / 0.6887 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.7988, allocations: 8.719 kB / 0.6887 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.7989, allocations: 32.97 kB / 0.6887 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.799, allocations: 56.64 kB / 0.6888 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/0.7995, allocations: 332.3 kB / 0.6891 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.7995, allocations: 1.281 kB / 0.6891 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.7995, allocations: 6.844 kB / 0.6891 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.7998, allocations: 78.16 kB / 0.6892 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.7998, allocations: 0 / 0.6892 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.7998, allocations: 4.609 kB / 0.6892 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.7998, allocations: 1.594 kB / 0.6892 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.8, allocations: 39.8 kB / 0.6892 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008033/0.8008, allocations: 436.3 kB / 0.6897 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.801, allocations: 73.53 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.8011, allocations: 1.188 kB / 0.6897 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000231/0.8013, allocations: 88.5 kB / 0.6898 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.8013, allocations: 4.969 kB / 0.6898 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5): time 0.0005681/0.8019, allocations: 226.5 kB / 0.69 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.802, allocations: 58.42 kB / 0.6901 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.8034, allocations: 0.7145 MB / 0.6908 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.8035, allocations: 28.91 kB / 0.6908 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003002/0.8038, allocations: 262 kB / 0.6911 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.8038, allocations: 7.891 kB / 0.6911 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.8038, allocations: 4 kB / 0.6911 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.804, allocations: 373.1 kB / 0.6914 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.8041, allocations: 26.8 kB / 0.6915 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.8042, allocations: 33.84 kB / 0.6915 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.843e-05/0.8043, allocations: 57.48 kB / 0.6915 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.8043, allocations: 0 / 0.6915 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000366/0.8047, allocations: 198.8 kB / 0.6917 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.286e-05/0.8047, allocations: 33.28 kB / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8047, allocations: 1.594 kB / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.8048, allocations: 0 / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.481e-05/0.8048, allocations: 10.03 kB / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8049, allocations: 1.984 kB / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.8051, allocations: 3.672 kB / 0.6918 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.8051, allocations: 7.078 kB / 0.6918 GB, free: 11.35 MB / 0.5261 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0005338/0.8056, allocations: 293.6 kB / 0.6921 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.8057, allocations: 53.06 kB / 0.6921 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.8059, allocations: 62.25 kB / 0.6922 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.8059, allocations: 0 / 0.6922 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.8059, allocations: 5.047 kB / 0.6922 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8059, allocations: 0.75 kB / 0.6922 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.8065, allocations: 330.6 kB / 0.6925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.8065, allocations: 1.719 kB / 0.6925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.8065, allocations: 5.969 kB / 0.6925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8065, allocations: 384 / 0.6925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.8066, allocations: 2.797 kB / 0.6925 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.8066, allocations: 4 kB / 0.6925 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8066, allocations: 2.062 kB / 0.6925 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.8071, allocations: 212.4 kB / 0.6927 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.8072, allocations: 122.5 kB / 0.6928 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.8073, allocations: 2.469 kB / 0.6928 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.8075, allocations: 9.047 kB / 0.6928 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/0.8075, allocations: 11.59 kB / 0.6929 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.8076, allocations: 7.297 kB / 0.6929 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001134/0.8087, allocations: 0.5329 MB / 0.6934 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.1e-07/0.8087, allocations: 0 / 0.6934 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004598/0.8092, allocations: 53.78 kB / 0.6934 GB, free: 10.39 MB / 0.5261 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0009024/0.8101, allocations: 0.7815 MB / 0.6942 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003499/0.8105, allocations: 131.1 kB / 0.6943 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.8105, allocations: 3.938 kB / 0.6943 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.8107, allocations: 40.67 kB / 0.6944 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008308/0.8115, allocations: 107.2 kB / 0.6945 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006539/0.8181, allocations: 2.993 MB / 0.6974 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/0.8188, allocations: 0.9455 MB / 0.6983 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.819, allocations: 18.39 kB / 0.6983 GB, free: 7.504 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.8192, allocations: 131.2 kB / 0.6985 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/0.8192, allocations: 0 / 0.6985 GB, free: 7.395 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03661/0.8559, allocations: 9.034 MB / 0.7073 GB, free: 3.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/0.8563, allocations: 218.6 kB / 0.7075 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.75, allocations: 0 / 0.7075 GB, free: 3.188 MB / 0.5261 GB