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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.085/4.085, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.191e-05, allocations: 7.469 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 98.73 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.4605, allocations: 128.5 MB / 0.7544 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.4608, allocations: 87.94 kB / 0.7545 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03853/0.4994, allocations: 9.393 MB / 0.7637 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4994, allocations: 0 / 0.7637 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.435e-05/0.4995, allocations: 12 kB / 0.7637 GB, free: 14.83 MB / 0.6511 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.0009885/0.5005, allocations: 0.6204 MB / 0.7643 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5006, allocations: 12.03 kB / 0.7643 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.5007, allocations: 55.3 kB / 0.7644 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.5014, allocations: 379.8 kB / 0.7647 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.5015, allocations: 4 kB / 0.7647 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.5015, allocations: 0 / 0.7647 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001157/0.5016, allocations: 35.98 kB / 0.7648 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5018, allocations: 73.67 kB / 0.7648 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.5018, allocations: 0 / 0.7648 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.5019, allocations: 3.984 kB / 0.7648 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5019, allocations: 0 / 0.7648 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.5027, allocations: 417.3 kB / 0.7652 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5029, allocations: 70.48 kB / 0.7653 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.252e-05/0.5029, allocations: 36.8 kB / 0.7653 GB, free: 13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.503, allocations: 4 kB / 0.7654 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.5032, allocations: 91.38 kB / 0.7654 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.914e-06/0.5032, allocations: 0 / 0.7654 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.000416/0.5036, allocations: 177 kB / 0.7656 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5037, allocations: 51.41 kB / 0.7657 GB, free: 12.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.5049, allocations: 0.6127 MB / 0.7663 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.5049, allocations: 25.7 kB / 0.7663 GB, free: 12 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.5053, allocations: 264.1 kB / 0.7665 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.5053, allocations: 7.891 kB / 0.7665 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5053, allocations: 3.938 kB / 0.7665 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002454/0.5056, allocations: 374.8 kB / 0.7669 GB, free: 11.35 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.155e-05/0.5057, allocations: 35.98 kB / 0.7669 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.99e-05/0.5058, allocations: 31.98 kB / 0.767 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.506, allocations: 31.98 kB / 0.767 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.506, allocations: 0 / 0.767 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004512/0.5064, allocations: 196.8 kB / 0.7672 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.5065, allocations: 39.25 kB / 0.7672 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.5065, allocations: 4 kB / 0.7672 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5066, allocations: 3.984 kB / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.096e-05/0.5066, allocations: 0 / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.5067, allocations: 0 / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.5068, allocations: 4 kB / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.5069, allocations: 11.95 kB / 0.7672 GB, free: 10.99 MB / 0.6511 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): 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.0001089/0.507, allocations: 110.7 kB / 0.7674 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003326/0.5074, allocations: 180.9 kB / 0.7675 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-05/0.5075, allocations: 55.33 kB / 0.7676 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.5077, allocations: 64.83 kB / 0.7676 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5077, allocations: 0 / 0.7676 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5077, allocations: 3.953 kB / 0.7676 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.5077, allocations: 0 / 0.7676 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.5082, allocations: 302.1 kB / 0.7679 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5082, allocations: 0 / 0.7679 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.918e-05/0.5083, allocations: 0 / 0.7679 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.5083, allocations: 4 kB / 0.7679 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.5083, allocations: 0 / 0.7679 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.5083, allocations: 7.984 kB / 0.7679 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5083, allocations: 0 / 0.7679 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.5087, allocations: 212.2 kB / 0.7681 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.5088, allocations: 116.5 kB / 0.7683 GB, free: 9.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.507e-05/0.5089, allocations: 4 kB / 0.7683 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.5091, allocations: 8.297 kB / 0.7683 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.5092, allocations: 4 kB / 0.7683 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.5092, allocations: 15.98 kB / 0.7683 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009219/0.5101, allocations: 0.4951 MB / 0.7688 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5102, allocations: 0 / 0.7688 GB, free: 9.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004485/0.5106, allocations: 55.98 kB / 0.7688 GB, free: 9.285 MB / 0.6511 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): 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.00122/0.5119, allocations: 0.9276 MB / 0.7697 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002837/0.5122, allocations: 127.4 kB / 0.7698 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5122, allocations: 0 / 0.7698 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.5123, allocations: 35.98 kB / 0.7699 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.5132, allocations: 115.1 kB / 0.77 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.5155, allocations: 0.901 MB / 0.7709 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.5164, allocations: 0.9504 MB / 0.7718 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.5166, allocations: 25.84 kB / 0.7718 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.5168, allocations: 127.4 kB / 0.7719 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/0.5168, allocations: 0 / 0.7719 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5669/1.084, allocations: 9.35 MB / 0.7811 GB, free: 140.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000337/1.084, allocations: 177 kB / 0.7812 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.709, allocations: 0 / 0.7812 GB, free: 139.9 MB / 0.6511 GB