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_T.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_T,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.0152/0.0152, allocations: 89.69 kB / 15.04 MB, free: 5.582 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.002093/0.002093, allocations: 175.6 kB / 15.92 MB, free: 5.555 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.104/2.104, allocations: 205.5 MB / 222.2 MB, free: 13.58 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.538/2.538, allocations: 252.8 MB / 0.511 GB, free: 8.246 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005116/0.0005119, allocations: 13.09 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2422, allocations: 106.2 MB / 0.7281 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.1165/0.3587, allocations: 44.88 MB / 0.7719 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03703/0.3958, allocations: 15.63 MB / 0.7872 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.3992, allocations: 71.5 kB / 0.7872 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.4046, allocations: 0.9626 MB / 0.7882 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/0.4156, allocations: 2.329 MB / 0.7904 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01446/0.4301, allocations: 2.943 MB / 0.7933 GB, free: 5.113 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008011/0.4381, allocations: 2.765 MB / 0.796 GB, free: 2.344 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003256/0.4414, allocations: 1.242 MB / 0.7972 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/0.4461, allocations: 1.351 MB / 0.7985 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.4488, allocations: 0.9137 MB / 0.7994 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0006518/0.4495, allocations: 68 kB / 0.7995 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/0.4548, allocations: 1.361 MB / 0.8008 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.456, allocations: 394.4 kB / 0.8012 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.4571, allocations: 408.6 kB / 0.8016 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006126/0.4632, allocations: 2.424 MB / 0.804 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4633, allocations: 3.938 kB / 0.804 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/0.4633, allocations: 4 kB / 0.804 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001021/0.4634, allocations: 4 kB / 0.804 GB, free: 10.14 MB / 0.6355 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.006922/0.4704, allocations: 2.206 MB / 0.8061 GB, free: 7.863 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4704, allocations: 8.031 kB / 0.8061 GB, free: 7.855 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005642/0.471, allocations: 177 kB / 0.8063 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003819/0.4748, allocations: 492.8 kB / 0.8068 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005258/0.4801, allocations: 1.532 MB / 0.8083 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007633/0.481, allocations: 154.1 kB / 0.8084 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004878/0.4815, allocations: 131.9 kB / 0.8085 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00486/0.4864, allocations: 1.361 MB / 0.8099 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/0.4865, allocations: 15.92 kB / 0.8099 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001978/0.4867, allocations: 48 kB / 0.8099 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/0.4868, allocations: 31.95 kB / 0.81 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005387/0.4922, allocations: 1.113 MB / 0.811 GB, free: 2.648 MB / 0.6355 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.01691/0.5091, allocations: 7.136 MB / 0.818 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004744/0.5139, allocations: 1.419 MB / 0.8194 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007995/0.522, allocations: 3.071 MB / 0.8224 GB, free: 6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001909/0.5239, allocations: 458.8 kB / 0.8228 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009331/0.5249, allocations: 91.19 kB / 0.8229 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.459e-06/0.5249, allocations: 0 / 0.8229 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.006249/0.5312, allocations: 1.28 MB / 0.8242 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.5313, allocations: 141.1 kB / 0.8243 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/0.5351, allocations: 1.602 MB / 0.8259 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002472/0.5354, allocations: 45.69 kB / 0.8259 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.5366, allocations: 0.892 MB / 0.8268 GB, free: 1.422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.5371, allocations: 216.9 kB / 0.827 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.5372, allocations: 16 kB / 0.827 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.5373, allocations: 349.9 kB / 0.8273 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/0.5391, allocations: 385.8 kB / 0.8277 GB, free: 480 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5969/1.136, allocations: 0.7802 MB / 0.8285 GB, free: 98.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/1.138, allocations: 0.492 MB / 0.829 GB, free: 98.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-05/1.139, allocations: 3.531 kB / 0.829 GB, free: 98.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.005959/1.145, allocations: 1.325 MB / 0.8303 GB, free: 98.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/1.146, allocations: 4.376 MB / 0.8345 GB, free: 93.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.754e-05/1.146, allocations: 11.09 kB / 0.8345 GB, free: 93.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.489e-05/1.146, allocations: 18.3 kB / 0.8346 GB, free: 93.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002234/1.148, allocations: 266 kB / 0.8348 GB, free: 93.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.553e-05/1.148, allocations: 22.47 kB / 0.8348 GB, free: 93.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002596/1.151, allocations: 138.7 kB / 0.835 GB, free: 93.58 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003408/1.151, allocations: 55.33 kB / 0.835 GB, free: 93.58 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/1.151, allocations: 7.953 kB / 0.835 GB, free: 93.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004957/1.156, allocations: 1.16 MB / 0.8362 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-05/1.156, allocations: 12.94 kB / 0.8362 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.605e-05/1.156, allocations: 17.28 kB / 0.8362 GB, free: 93.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002129/1.159, allocations: 265.7 kB / 0.8364 GB, free: 93.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.503e-05/1.159, allocations: 22.84 kB / 0.8365 GB, free: 93.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/1.161, allocations: 127.7 kB / 0.8366 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/1.161, allocations: 54.7 kB / 0.8366 GB, free: 93.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.001555/1.163, allocations: 482.3 kB / 0.8371 GB, free: 92.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006098/1.164, allocations: 172.8 kB / 0.8373 GB, free: 92.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/1.169, allocations: 1.165 MB / 0.8384 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.169, allocations: 10.88 kB / 0.8384 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/1.169, allocations: 1.703 kB / 0.8384 GB, free: 92.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00384/1.173, allocations: 0.9908 MB / 0.8394 GB, free: 91.98 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 postOpt removeSimpleEquations (simulation): time 0.007922/1.181, allocations: 2.48 MB / 0.8418 GB, free: 90.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.181, allocations: 1.547 kB / 0.8418 GB, free: 90.87 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/1.182, allocations: 155.8 kB / 0.8419 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/1.183, allocations: 33.38 kB / 0.842 GB, free: 90.85 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001321/1.183, allocations: 20.75 kB / 0.842 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001456/1.184, allocations: 1.378 MB / 0.8433 GB, free: 89.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.184, allocations: 5.078 kB / 0.8433 GB, free: 89.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/1.191, allocations: 1.641 MB / 0.845 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00121/1.192, allocations: 356.9 kB / 0.8453 GB, free: 88.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005964/1.192, allocations: 19.58 kB / 0.8453 GB, free: 88.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.195, allocations: 119.3 kB / 0.8454 GB, free: 88.48 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/1.195, allocations: 59.3 kB / 0.8455 GB, free: 88.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.195, allocations: 39.53 kB / 0.8455 GB, free: 88.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003005/1.198, allocations: 1.134 MB / 0.8466 GB, free: 88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.82e-07/1.198, allocations: 0 / 0.8466 GB, free: 88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004934/1.203, allocations: 0.93 MB / 0.8475 GB, free: 87.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009201/1.212, allocations: 2.978 MB / 0.8504 GB, free: 86.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007057/1.22, allocations: 1.707 MB / 0.8521 GB, free: 85.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/1.22, allocations: 0.6875 kB / 0.8521 GB, free: 85.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002573/1.222, allocations: 0.5674 MB / 0.8527 GB, free: 85.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006177/1.228, allocations: 0.7381 MB / 0.8534 GB, free: 85.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01499/1.243, allocations: 12.31 MB / 0.8654 GB, free: 74.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/1.245, allocations: 1.402 MB / 0.8668 GB, free: 73.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003398/1.249, allocations: 429.1 kB / 0.8672 GB, free: 73.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001975/1.251, allocations: 0.7247 MB / 0.8679 GB, free: 73.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.663e-06/1.251, allocations: 0 / 0.8679 GB, free: 73.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.374, allocations: 47.03 MB / 0.9138 GB, free: 36.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002901/1.374, allocations: 256.7 kB / 0.9141 GB, free: 36.47 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.804/6.178, allocations: 3.938 kB / 0.9141 GB, free: 36.47 MB / 0.6511 GB