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.AirHeater_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.AirHeater_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_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.01173/0.01173, allocations: 106.5 kB / 15.06 MB, free: 5.555 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.001401/0.001401, allocations: 175.8 kB / 15.95 MB, free: 5.52 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.142/2.142, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.37/2.37, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 16 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7278, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.3388/1.067, allocations: 193.8 MB / 0.8726 GB, free: 12.2 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03833/1.105, allocations: 17.22 MB / 0.8894 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/1.108, allocations: 67.5 kB / 0.8895 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005932/1.114, allocations: 1.191 MB / 0.8907 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01423/1.129, allocations: 3.249 MB / 0.8938 GB, free: 6.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01368/1.142, allocations: 3.035 MB / 0.8968 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00836/1.151, allocations: 2.98 MB / 0.8997 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003753/1.155, allocations: 1.414 MB / 0.9011 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00696/1.162, allocations: 1.92 MB / 0.903 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/1.165, allocations: 1.093 MB / 0.904 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000705/1.166, allocations: 84 kB / 0.9041 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00698/1.173, allocations: 1.825 MB / 0.9059 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001665/1.174, allocations: 0.5801 MB / 0.9065 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001168/1.176, allocations: 468.5 kB / 0.9069 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007065/1.183, allocations: 2.895 MB / 0.9097 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.183, allocations: 4 kB / 0.9098 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.866e-06/1.183, allocations: 4 kB / 0.9098 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.956e-05/1.183, allocations: 0 / 0.9098 GB, free: 6.094 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007378/1.19, allocations: 2.455 MB / 0.9122 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.19, allocations: 16.03 kB / 0.9122 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005722/1.191, allocations: 194.4 kB / 0.9124 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007896/1.199, allocations: 0.8049 MB / 0.9131 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00559/1.204, allocations: 1.615 MB / 0.9147 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007353/1.205, allocations: 182.5 kB / 0.9149 GB, free: 0.6992 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/1.206, allocations: 143.9 kB / 0.915 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5887/1.794, allocations: 1.689 MB / 0.9167 GB, free: 214.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.103e-05/1.794, allocations: 2.562 kB / 0.9167 GB, free: 214.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002334/1.795, allocations: 59.2 kB / 0.9167 GB, free: 214.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/1.795, allocations: 48.47 kB / 0.9168 GB, free: 214.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007185/1.802, allocations: 1.485 MB / 0.9182 GB, free: 214.4 MB / 0.7292 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.01958/1.822, allocations: 7.689 MB / 0.9257 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005307/1.827, allocations: 1.649 MB / 0.9274 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/1.829, allocations: 0.6372 MB / 0.928 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002648/1.832, allocations: 0.575 MB / 0.9285 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001431/1.833, allocations: 120.5 kB / 0.9287 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 5.01e-06/1.833, allocations: 0.5 kB / 0.9287 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.007585/1.841, allocations: 1.653 MB / 0.9303 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/1.841, allocations: 138.6 kB / 0.9304 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/1.845, allocations: 1.608 MB / 0.932 GB, free: 205.9 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003429/1.845, allocations: 45.75 kB / 0.932 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.847, allocations: 0.938 MB / 0.9329 GB, free: 205.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005459/1.847, allocations: 300.6 kB / 0.9332 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.847, allocations: 20.31 kB / 0.9332 GB, free: 204.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.847, allocations: 353.3 kB / 0.9336 GB, free: 204.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/1.849, allocations: 466.6 kB / 0.934 GB, free: 204.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/1.852, allocations: 0.8234 MB / 0.9348 GB, free: 203.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/1.854, allocations: 0.5952 MB / 0.9354 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.569e-05/1.854, allocations: 2.531 kB / 0.9354 GB, free: 203.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005642/1.86, allocations: 1.504 MB / 0.9369 GB, free: 202.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007965/1.861, allocations: 3.335 MB / 0.9401 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/1.861, allocations: 16.3 kB / 0.9401 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.106e-05/1.861, allocations: 15.28 kB / 0.9402 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/1.863, allocations: 279.4 kB / 0.9404 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.664e-05/1.863, allocations: 17.25 kB / 0.9404 GB, free: 199.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/1.866, allocations: 164.6 kB / 0.9406 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002712/1.867, allocations: 55.75 kB / 0.9407 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.867, allocations: 3 kB / 0.9407 GB, free: 199.3 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004929/1.872, allocations: 1.316 MB / 0.9419 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-05/1.872, allocations: 8.25 kB / 0.942 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.872, allocations: 14.91 kB / 0.942 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/1.874, allocations: 279.2 kB / 0.9422 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.066e-05/1.874, allocations: 20.5 kB / 0.9423 GB, free: 198.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003065/1.877, allocations: 167.5 kB / 0.9424 GB, free: 198.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/1.878, allocations: 49.8 kB / 0.9425 GB, free: 198.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (135): * Single equations (assignments): 130 * 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.001632/1.879, allocations: 0.5412 MB / 0.943 GB, free: 198.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006418/1.88, allocations: 178.4 kB / 0.9432 GB, free: 198.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005166/1.885, allocations: 1.214 MB / 0.9443 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/1.885, allocations: 8.438 kB / 0.9443 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.885, allocations: 4.969 kB / 0.9444 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004311/1.89, allocations: 1.27 MB / 0.9456 GB, free: 196.9 MB / 0.7292 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.01226/1.902, allocations: 3.009 MB / 0.9485 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/1.902, allocations: 4.969 kB / 0.9485 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00215/1.904, allocations: 204.2 kB / 0.9487 GB, free: 194.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/1.905, allocations: 51.39 kB / 0.9488 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003027/1.905, allocations: 24.95 kB / 0.9488 GB, free: 194.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001853/1.907, allocations: 1.438 MB / 0.9502 GB, free: 193.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.907, allocations: 1.094 kB / 0.9502 GB, free: 193.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/1.915, allocations: 1.897 MB / 0.9521 GB, free: 192.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001606/1.916, allocations: 340.5 kB / 0.9524 GB, free: 191.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007439/1.917, allocations: 26.33 kB / 0.9524 GB, free: 191.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003112/1.92, allocations: 164.7 kB / 0.9526 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004276/1.921, allocations: 56.98 kB / 0.9526 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001796/1.921, allocations: 37.44 kB / 0.9527 GB, free: 191.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00343/1.925, allocations: 1.076 MB / 0.9537 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.52e-07/1.925, allocations: 4 kB / 0.9537 GB, free: 191.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006606/1.931, allocations: 1.005 MB / 0.9547 GB, free: 191 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.01051/1.942, allocations: 3.137 MB / 0.9578 GB, free: 189 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.008184/1.95, allocations: 2.025 MB / 0.9597 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.95, allocations: 4.125 kB / 0.9597 GB, free: 187.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.953, allocations: 0.6334 MB / 0.9604 GB, free: 187.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/1.96, allocations: 0.7915 MB / 0.9611 GB, free: 187.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01816/1.978, allocations: 10.73 MB / 0.9716 GB, free: 178.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/1.98, allocations: 1.536 MB / 0.9731 GB, free: 177 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00356/1.983, allocations: 445.5 kB / 0.9735 GB, free: 176.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002101/1.986, allocations: 0.7986 MB / 0.9743 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of SimCode: time 1.883e-06/1.986, allocations: 0 / 0.9743 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1225/2.108, allocations: 47.69 MB / 1.021 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/2.108, allocations: 278.3 kB / 1.021 GB, free: 129 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.079/7.187, allocations: 0 / 1.021 GB, free: 129 MB / 0.7292 GB