Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01448/0.01449, allocations: 88.61 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001863/0.001862, allocations: 167.6 kB / 15.92 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.245/2.245, allocations: 205.5 MB / 222.2 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.418/2.418, allocations: 252.8 MB / 0.511 GB, free: 8.301 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 12.66 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2514, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.09377/0.3452, allocations: 56.26 MB / 0.783 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03748/0.3827, allocations: 16.99 MB / 0.7996 GB, free: 0.7344 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00359/0.3864, allocations: 71.5 kB / 0.7997 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.3916, allocations: 1.011 MB / 0.8007 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.4034, allocations: 2.645 MB / 0.8032 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01353/0.417, allocations: 3.076 MB / 0.8062 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.008382/0.4254, allocations: 3.151 MB / 0.8093 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.429, allocations: 1.353 MB / 0.8106 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004787/0.4338, allocations: 1.452 MB / 0.8121 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002684/0.4365, allocations: 0.9797 MB / 0.813 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005891/0.4372, allocations: 76 kB / 0.8131 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005481/0.4427, allocations: 1.431 MB / 0.8145 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.4439, allocations: 414.3 kB / 0.8149 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001111/0.445, allocations: 440.6 kB / 0.8153 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006243/0.4513, allocations: 2.654 MB / 0.8179 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4513, allocations: 0 / 0.8179 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4514, allocations: 0 / 0.8179 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.985e-05/0.4514, allocations: 0 / 0.8179 GB, free: 13.93 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: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.006822/0.4583, allocations: 2.337 MB / 0.8202 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4583, allocations: 11.97 kB / 0.8202 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005119/0.4589, allocations: 185.8 kB / 0.8204 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.4613, allocations: 385 kB / 0.8207 GB, free: 10.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005068/0.4664, allocations: 1.649 MB / 0.8223 GB, free: 9.238 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000714/0.4672, allocations: 170.4 kB / 0.8225 GB, free: 9.07 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003485/0.4675, allocations: 132 kB / 0.8226 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004742/0.4723, allocations: 1.442 MB / 0.824 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/0.4724, allocations: 4 kB / 0.824 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002022/0.4726, allocations: 55.94 kB / 0.8241 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.181e-05/0.4727, allocations: 32 kB / 0.8241 GB, free: 7.316 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.4775, allocations: 1.125 MB / 0.8252 GB, free: 6.184 MB / 0.6511 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.01526/0.4928, allocations: 7.426 MB / 0.8325 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003997/0.4968, allocations: 1.357 MB / 0.8338 GB, free: 12.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006628/0.5035, allocations: 2.596 MB / 0.8363 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001916/0.5055, allocations: 462.8 kB / 0.8368 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009703/0.5065, allocations: 95.19 kB / 0.8369 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 4.118e-06/0.5065, allocations: 0 / 0.8369 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.005496/0.512, allocations: 1.288 MB / 0.8381 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.848e-05/0.5121, allocations: 141.1 kB / 0.8383 GB, free: 7.836 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.5154, allocations: 1.556 MB / 0.8398 GB, free: 6.281 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002223/0.5156, allocations: 41.7 kB / 0.8398 GB, free: 6.234 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001163/0.5168, allocations: 0.8959 MB / 0.8407 GB, free: 5.328 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003661/0.5172, allocations: 232.7 kB / 0.8409 GB, free: 5.098 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.5173, allocations: 20 kB / 0.8409 GB, free: 5.078 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5175, allocations: 349.9 kB / 0.8413 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.5191, allocations: 382 kB / 0.8416 GB, free: 4.359 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.5212, allocations: 0.762 MB / 0.8424 GB, free: 3.422 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.5231, allocations: 0.4923 MB / 0.8429 GB, free: 2.926 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5232, allocations: 4 kB / 0.8429 GB, free: 2.922 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004815/0.528, allocations: 1.311 MB / 0.8441 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.5461/1.074, allocations: 3.821 MB / 0.8479 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/1.074, allocations: 13.09 kB / 0.8479 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.083e-05/1.074, allocations: 19.08 kB / 0.8479 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002167/1.076, allocations: 259.7 kB / 0.8482 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.659e-05/1.077, allocations: 20.52 kB / 0.8482 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/1.079, allocations: 154.5 kB / 0.8483 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002846/1.079, allocations: 52.69 kB / 0.8484 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/1.079, allocations: 4.844 kB / 0.8484 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004827/1.084, allocations: 1.139 MB / 0.8495 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.873e-05/1.084, allocations: 11.02 kB / 0.8495 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/1.084, allocations: 15.34 kB / 0.8495 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/1.087, allocations: 262.6 kB / 0.8498 GB, free: 112.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.337e-05/1.087, allocations: 21.58 kB / 0.8498 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/1.089, allocations: 148.8 kB / 0.8499 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000297/1.09, allocations: 50.83 kB / 0.85 GB, free: 112.4 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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): 119 * 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.001351/1.091, allocations: 489.8 kB / 0.8504 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005091/1.091, allocations: 175.5 kB / 0.8506 GB, free: 112.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/1.096, allocations: 1.136 MB / 0.8517 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.096, allocations: 5.844 kB / 0.8517 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/1.096, allocations: 2.781 kB / 0.8517 GB, free: 112.1 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003155/1.099, allocations: 0.8327 MB / 0.8525 GB, free: 112.1 MB / 0.6667 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.00743/1.107, allocations: 2.621 MB / 0.8551 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/1.107, allocations: 0 / 0.8551 GB, free: 111.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/1.108, allocations: 169.3 kB / 0.8553 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002963/1.108, allocations: 33.98 kB / 0.8553 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.109, allocations: 26.72 kB / 0.8553 GB, free: 111.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/1.11, allocations: 1.387 MB / 0.8567 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.11, allocations: 3.328 kB / 0.8567 GB, free: 109.8 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005691/1.116, allocations: 1.777 MB / 0.8584 GB, free: 108.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/1.117, allocations: 386.2 kB / 0.8588 GB, free: 108.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/1.117, allocations: 18.98 kB / 0.8588 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.12, allocations: 122.6 kB / 0.8589 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/1.12, allocations: 58.77 kB / 0.859 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.12, allocations: 36.89 kB / 0.859 GB, free: 108.6 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002893/1.123, allocations: 1.123 MB / 0.8601 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.11e-07/1.123, allocations: 0 / 0.8601 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004255/1.127, allocations: 1.008 MB / 0.8611 GB, free: 108 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 67 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008459/1.136, allocations: 3.271 MB / 0.8643 GB, free: 106.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006288/1.142, allocations: 1.7 MB / 0.8659 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.142, allocations: 0.9375 kB / 0.8659 GB, free: 105.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002268/1.145, allocations: 0.5759 MB / 0.8665 GB, free: 105.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007757/1.152, allocations: 0.8591 MB / 0.8673 GB, free: 105 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/1.167, allocations: 11.07 MB / 0.8782 GB, free: 95.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001988/1.169, allocations: 1.445 MB / 0.8796 GB, free: 94.99 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003465/1.172, allocations: 435.4 kB / 0.88 GB, free: 94.88 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/1.174, allocations: 0.7482 MB / 0.8807 GB, free: 94.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.082e-06/1.174, allocations: 0 / 0.8807 GB, free: 94.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1574/1.332, allocations: 50.48 MB / 0.93 GB, free: 53.12 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002746/1.332, allocations: 246.8 kB / 0.9302 GB, free: 52.79 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.686/6.018, allocations: 4.062 kB / 0.9302 GB, free: 52.79 MB / 0.6667 GB