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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.071/4.071, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.375e-05, allocations: 10.59 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2314, allocations: 98.72 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2457/0.4772, allocations: 129.2 MB / 0.7609 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.4776, allocations: 91.94 kB / 0.761 GB, free: 416 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03875/0.5163, allocations: 9.518 MB / 0.7703 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5164, allocations: 0 / 0.7703 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.5164, allocations: 4 kB / 0.7703 GB, free: 6.805 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.0009214/0.5174, allocations: 0.6275 MB / 0.7709 GB, free: 6.125 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5174, allocations: 8.031 kB / 0.7709 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.189e-05/0.5175, allocations: 34.56 kB / 0.7709 GB, free: 6.074 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.5176, allocations: 51.34 kB / 0.771 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007471/0.5184, allocations: 387.9 kB / 0.7714 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.5184, allocations: 4 kB / 0.7714 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.5184, allocations: 0 / 0.7714 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.5186, allocations: 73.61 kB / 0.7714 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5187, allocations: 3.938 kB / 0.7714 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5187, allocations: 0 / 0.7714 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.5187, allocations: 4 kB / 0.7714 GB, free: 5.512 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.5188, allocations: 35.98 kB / 0.7715 GB, free: 5.477 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008298/0.5197, allocations: 448.7 kB / 0.7719 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.5198, allocations: 74.48 kB / 0.772 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.5199, allocations: 32.86 kB / 0.772 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.52, allocations: 0 / 0.772 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.5202, allocations: 95.38 kB / 0.7721 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 4.328e-06/0.5202, allocations: 4 kB / 0.7721 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0004359/0.5206, allocations: 177 kB / 0.7723 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.5207, allocations: 55.36 kB / 0.7723 GB, free: 4.516 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.522, allocations: 0.64 MB / 0.773 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.522, allocations: 29.7 kB / 0.773 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/0.5224, allocations: 256.1 kB / 0.7732 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.5224, allocations: 7.906 kB / 0.7732 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.5224, allocations: 0 / 0.7732 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.5227, allocations: 378.8 kB / 0.7736 GB, free: 3.191 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.793e-05/0.5228, allocations: 35.98 kB / 0.7736 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.943e-05/0.5229, allocations: 35.98 kB / 0.7737 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.5231, allocations: 69.67 kB / 0.7737 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5231, allocations: 0 / 0.7737 GB, free: 3.047 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004932/0.5236, allocations: 218.6 kB / 0.7739 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.233e-05/0.5237, allocations: 37.69 kB / 0.774 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5237, allocations: 0 / 0.774 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.5237, allocations: 0 / 0.774 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.5238, allocations: 7.938 kB / 0.774 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.5238, allocations: 0 / 0.774 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.524, allocations: 15.89 kB / 0.774 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.5241, allocations: 11.98 kB / 0.774 GB, free: 2.742 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.0001007/0.5242, allocations: 101 kB / 0.7741 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.5243, allocations: 59.33 kB / 0.7742 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.5244, allocations: 60.52 kB / 0.7742 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5245, allocations: 0 / 0.7742 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5245, allocations: 0 / 0.7742 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5245, allocations: 0 / 0.7742 GB, free: 2.516 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.525, allocations: 333.5 kB / 0.7745 GB, free: 2.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.525, allocations: 7.984 kB / 0.7745 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.525, allocations: 0 / 0.7745 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.5251, allocations: 0 / 0.7745 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.5251, allocations: 0 / 0.7745 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5251, allocations: 4 kB / 0.7745 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5251, allocations: 4.016 kB / 0.7746 GB, free: 2.125 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.5255, allocations: 208.3 kB / 0.7748 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.5257, allocations: 128.3 kB / 0.7749 GB, free: 1.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.5257, allocations: 4 kB / 0.7749 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.5259, allocations: 8.25 kB / 0.7749 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.526, allocations: 7.984 kB / 0.7749 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.526, allocations: 11.98 kB / 0.7749 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001015/0.5271, allocations: 0.5264 MB / 0.7754 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.5271, allocations: 0 / 0.7754 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004564/0.5275, allocations: 56 kB / 0.7755 GB, free: 1.152 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.001187/0.5287, allocations: 0.9241 MB / 0.7764 GB, free: 212 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002669/0.529, allocations: 131.4 kB / 0.7765 GB, free: 68 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.529, allocations: 0 / 0.7765 GB, free: 68 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.5291, allocations: 39.98 kB / 0.7765 GB, free: 28 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5328/1.062, allocations: 100.5 kB / 0.7766 GB, free: 137.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/1.064, allocations: 0.9062 MB / 0.7775 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006485/1.065, allocations: 0.9503 MB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001779/1.065, allocations: 22.58 kB / 0.7785 GB, free: 137 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/1.066, allocations: 127.1 kB / 0.7786 GB, free: 137 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.066, allocations: 0 / 0.7786 GB, free: 137 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/1.125, allocations: 11.06 MB / 0.7894 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002281/1.125, allocations: 177.6 kB / 0.7896 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.893, allocations: 0 / 0.7896 GB, free: 136.1 MB / 0.6511 GB