Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.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.Examples.WaterHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_T",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.01616/0.01616, allocations: 107.7 kB / 15.05 MB, free: 5.984 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.00188/0.001879, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.052/2.052, allocations: 194.5 MB / 211.3 MB, free: 11.08 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.243/2.243, allocations: 236.1 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000656/0.0006561, allocations: 12 kB / 0.587 GB, free: 2.055 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6929, allocations: 98.71 MB / 0.6834 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.946, allocations: 437.8 MB / 1.111 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004243/1.947, allocations: 98.27 kB / 1.111 GB, free: 12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.482/8.429, allocations: 1.128 GB / 2.239 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.966e-06/8.429, allocations: 1.781 kB / 2.239 GB, free: 124.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004335/8.429, allocations: 52.05 kB / 2.239 GB, free: 124.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.01055/8.44, allocations: 2.597 MB / 2.241 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/8.44, allocations: 11.41 kB / 2.241 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007626/8.44, allocations: 166.9 kB / 2.242 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00548/8.446, allocations: 455.4 kB / 2.242 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01542/8.461, allocations: 2.319 MB / 2.244 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/8.462, allocations: 94.75 kB / 2.244 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00051/8.462, allocations: 121.6 kB / 2.244 GB, free: 122.9 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/8.466, allocations: 1.323 MB / 2.246 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.416e-05/8.466, allocations: 0 / 2.246 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002114/8.466, allocations: 47.84 kB / 2.246 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/8.466, allocations: 33.28 kB / 2.246 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003534/8.47, allocations: 0.9603 MB / 2.247 GB, free: 122.6 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/8.482, allocations: 6.869 MB / 2.253 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003115/8.486, allocations: 1.279 MB / 2.255 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006384/8.492, allocations: 2.873 MB / 2.258 GB, free: 116 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001295/8.493, allocations: 399.3 kB / 2.258 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009303/8.494, allocations: 94.23 kB / 2.258 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 4.027e-06/8.494, allocations: 0 / 2.258 GB, free: 115.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.004314/8.499, allocations: 1.114 MB / 2.259 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.258e-05/8.499, allocations: 165 kB / 2.259 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002847/8.502, allocations: 1.356 MB / 2.261 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/8.502, allocations: 43.23 kB / 2.261 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009573/8.503, allocations: 0.8888 MB / 2.261 GB, free: 114.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/8.503, allocations: 211.4 kB / 2.262 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/8.503, allocations: 23.59 kB / 2.262 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001013/8.503, allocations: 348.5 kB / 2.262 GB, free: 114.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/8.505, allocations: 328.4 kB / 2.262 GB, free: 114.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001532/8.506, allocations: 0.7659 MB / 2.263 GB, free: 114 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/8.508, allocations: 482.6 kB / 2.264 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/8.508, allocations: 3.812 kB / 2.264 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004041/8.512, allocations: 1.255 MB / 2.265 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00103/8.513, allocations: 4.58 MB / 2.269 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.408e-05/8.513, allocations: 11.78 kB / 2.269 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.235e-05/8.513, allocations: 19.72 kB / 2.269 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/8.515, allocations: 253.3 kB / 2.27 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.787e-05/8.515, allocations: 17.38 kB / 2.27 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/8.517, allocations: 123.9 kB / 2.27 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/8.517, allocations: 64.73 kB / 2.27 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/8.517, allocations: 3.938 kB / 2.27 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00345/8.521, allocations: 1.052 MB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-05/8.521, allocations: 17.75 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/8.521, allocations: 20.62 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/8.523, allocations: 235.9 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.542e-05/8.523, allocations: 25.73 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/8.526, allocations: 106.6 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003284/8.527, allocations: 58.03 kB / 2.271 GB, free: 108.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * 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.001768/8.528, allocations: 489.3 kB / 2.272 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006638/8.529, allocations: 160.7 kB / 2.272 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/8.534, allocations: 1.056 MB / 2.273 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/8.534, allocations: 11.3 kB / 2.273 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/8.534, allocations: 3.953 kB / 2.273 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003416/8.538, allocations: 0.887 MB / 2.274 GB, free: 108.2 MB / 0.8386 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008937/8.547, allocations: 2.227 MB / 2.276 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/8.547, allocations: 0 / 2.276 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001714/8.549, allocations: 141.2 kB / 2.276 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/8.549, allocations: 27.31 kB / 2.276 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/8.549, allocations: 22.78 kB / 2.276 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/8.551, allocations: 1.313 MB / 2.277 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/8.551, allocations: 1.844 kB / 2.277 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/8.557, allocations: 1.449 MB / 2.279 GB, free: 106.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/8.558, allocations: 338.5 kB / 2.279 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/8.559, allocations: 16.75 kB / 2.279 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/8.561, allocations: 101.2 kB / 2.279 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002417/8.562, allocations: 53.86 kB / 2.279 GB, free: 106 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/8.562, allocations: 32.88 kB / 2.279 GB, free: 106 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003509/8.565, allocations: 1.092 MB / 2.28 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.21e-07/8.565, allocations: 5.562 kB / 2.28 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.007557/8.573, allocations: 1.022 MB / 2.281 GB, free: 105.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/8.584, allocations: 3.179 MB / 2.284 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006556/8.591, allocations: 1.647 MB / 2.286 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/8.591, allocations: 1.531 kB / 2.286 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/8.593, allocations: 0.5016 MB / 2.287 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007814/8.601, allocations: 0.7177 MB / 2.287 GB, free: 104.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/8.615, allocations: 12.14 MB / 2.299 GB, free: 94.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/8.616, allocations: 1.403 MB / 2.3 GB, free: 93.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003212/8.62, allocations: 426.4 kB / 2.301 GB, free: 93.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/8.621, allocations: 0.7241 MB / 2.302 GB, free: 93.76 MB / 0.8386 GB Notification: Performance of SimCode: time 1.412e-06/8.621, allocations: 0 / 2.302 GB, free: 93.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/8.758, allocations: 52.95 MB / 2.353 GB, free: 91.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/8.758, allocations: 250.1 kB / 2.354 GB, free: 90.82 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.236/13.99, allocations: 3.938 kB / 2.354 GB, free: 90.81 MB / 0.8386 GB