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_u.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_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u",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.01571/0.01571, allocations: 107.7 kB / 15.05 MB, free: 5.934 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.002006/0.002005, allocations: 181 kB / 15.94 MB, free: 5.898 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.118/2.118, allocations: 194.6 MB / 211.2 MB, free: 11.09 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.474/2.474, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004879, allocations: 12 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7092, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/2.197, allocations: 431.9 MB / 1.105 GB, free: 18.2 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003473/2.198, allocations: 97.64 kB / 1.105 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.539/8.736, allocations: 1.097 GB / 2.202 GB, free: 124.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.639e-06/8.736, allocations: 3.719 kB / 2.202 GB, free: 124.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0005137/8.737, allocations: 57.22 kB / 2.202 GB, free: 124.8 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.01264/8.749, allocations: 2.674 MB / 2.205 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/8.75, allocations: 10 kB / 2.205 GB, free: 123.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009302/8.75, allocations: 189.3 kB / 2.205 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003353/8.754, allocations: 380.2 kB / 2.205 GB, free: 123.7 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/8.766, allocations: 2.493 MB / 2.208 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/8.766, allocations: 103.7 kB / 2.208 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006896/8.767, allocations: 135.5 kB / 2.208 GB, free: 123.4 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005413/8.772, allocations: 1.413 MB / 2.209 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/8.773, allocations: 8.828 kB / 2.209 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/8.773, allocations: 50.66 kB / 2.209 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-05/8.773, allocations: 34.59 kB / 2.209 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004902/8.778, allocations: 1.034 MB / 2.21 GB, free: 123 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.0165/8.794, allocations: 7.129 MB / 2.217 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/8.798, allocations: 1.283 MB / 2.218 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006193/8.804, allocations: 2.221 MB / 2.221 GB, free: 117.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/8.806, allocations: 436 kB / 2.221 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001401/8.807, allocations: 87.52 kB / 2.221 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 8.145e-06/8.807, allocations: 0 / 2.221 GB, free: 117.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.004993/8.812, allocations: 1.208 MB / 2.222 GB, free: 116.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.328e-05/8.812, allocations: 169.2 kB / 2.222 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/8.816, allocations: 1.308 MB / 2.224 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003086/8.816, allocations: 44.33 kB / 2.224 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/8.817, allocations: 0.9079 MB / 2.225 GB, free: 116.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/8.818, allocations: 235.3 kB / 2.225 GB, free: 116 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/8.818, allocations: 21.34 kB / 2.225 GB, free: 116 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001158/8.818, allocations: 340.4 kB / 2.225 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/8.82, allocations: 350.3 kB / 2.226 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/8.821, allocations: 0.7238 MB / 2.226 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/8.823, allocations: 466.8 kB / 2.227 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.919e-05/8.823, allocations: 3.156 kB / 2.227 GB, free: 115.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004739/8.828, allocations: 1.248 MB / 2.228 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001025/8.829, allocations: 3.741 MB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-05/8.829, allocations: 13.62 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.676e-05/8.829, allocations: 18.23 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/8.831, allocations: 253.6 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.035e-05/8.831, allocations: 21.95 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/8.834, allocations: 131.8 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000377/8.835, allocations: 55.59 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/8.835, allocations: 3.969 kB / 2.232 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003574/8.838, allocations: 1.027 MB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.424e-05/8.838, allocations: 20.7 kB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/8.838, allocations: 14.62 kB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001924/8.84, allocations: 243.9 kB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.17e-05/8.84, allocations: 20.86 kB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/8.843, allocations: 121.6 kB / 2.233 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003357/8.844, allocations: 50.89 kB / 2.234 GB, free: 111.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 1 * 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.001595/8.845, allocations: 497.9 kB / 2.234 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006677/8.846, allocations: 167.4 kB / 2.234 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/8.85, allocations: 1.078 MB / 2.235 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-05/8.85, allocations: 21.38 kB / 2.235 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/8.85, allocations: 0 / 2.235 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002805/8.853, allocations: 0.7835 MB / 2.236 GB, free: 110.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 postOpt removeSimpleEquations (simulation): time 0.00821/8.861, allocations: 2.351 MB / 2.238 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/8.861, allocations: 0 / 2.238 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/8.863, allocations: 158.2 kB / 2.238 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/8.863, allocations: 32.97 kB / 2.238 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/8.864, allocations: 25.86 kB / 2.238 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001175/8.865, allocations: 1.315 MB / 2.24 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/8.865, allocations: 3.031 kB / 2.24 GB, free: 109 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004993/8.87, allocations: 1.518 MB / 2.241 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/8.871, allocations: 337.2 kB / 2.242 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/8.872, allocations: 26.44 kB / 2.242 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002333/8.874, allocations: 108.8 kB / 2.242 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/8.875, allocations: 59.16 kB / 2.242 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/8.875, allocations: 29.95 kB / 2.242 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002521/8.877, allocations: 1.008 MB / 2.243 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.32e-07/8.877, allocations: 0 / 2.243 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006409/8.884, allocations: 1.124 MB / 2.244 GB, free: 108.2 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.vol.dynBal.U) * 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 (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.008979/8.893, allocations: 3.217 MB / 2.247 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005553/8.899, allocations: 1.585 MB / 2.249 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/8.899, allocations: 0 / 2.249 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001872/8.9, allocations: 0.5229 MB / 2.249 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006704/8.907, allocations: 0.7617 MB / 2.25 GB, free: 106.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/8.922, allocations: 11.31 MB / 2.261 GB, free: 97.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/8.924, allocations: 1.448 MB / 2.262 GB, free: 97.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003357/8.927, allocations: 412.5 kB / 2.263 GB, free: 97.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/8.929, allocations: 0.754 MB / 2.263 GB, free: 97.2 MB / 0.8386 GB Notification: Performance of SimCode: time 1.192e-06/8.929, allocations: 1.969 kB / 2.263 GB, free: 97.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1431/9.072, allocations: 53.85 MB / 2.316 GB, free: 94.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003317/9.073, allocations: 243.6 kB / 2.316 GB, free: 94.56 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.115/14.19, allocations: 0 / 2.316 GB, free: 94.56 MB / 0.8386 GB