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.WaterCooler_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.WaterCooler_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_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.01623/0.01623, allocations: 109.4 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.002051/0.002052, allocations: 179.7 kB / 15.94 MB, free: 5.938 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.116/2.116, allocations: 194.6 MB / 211.3 MB, free: 11.11 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.375/2.375, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005102, allocations: 16 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.728/0.7286, allocations: 98.72 MB / 0.6834 GB, free: 16.65 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.254/1.983, allocations: 437.9 MB / 1.111 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/1.983, allocations: 101.6 kB / 1.111 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.801/8.785, allocations: 1.128 GB / 2.239 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.046e-06/8.785, allocations: 0 / 2.239 GB, free: 124.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0004735/8.785, allocations: 64.22 kB / 2.239 GB, free: 124.3 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.01142/8.797, allocations: 2.588 MB / 2.242 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/8.797, allocations: 11.59 kB / 2.242 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007174/8.797, allocations: 173.5 kB / 2.242 GB, free: 123.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004111/8.801, allocations: 453.6 kB / 2.242 GB, free: 123.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01134/8.813, allocations: 2.32 MB / 2.245 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/8.813, allocations: 90.41 kB / 2.245 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005716/8.814, allocations: 124.1 kB / 2.245 GB, free: 122.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00472/8.818, allocations: 1.322 MB / 2.246 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.657e-05/8.819, allocations: 3.875 kB / 2.246 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002036/8.819, allocations: 47.66 kB / 2.246 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-05/8.819, allocations: 29.62 kB / 2.246 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004527/8.823, allocations: 0.9709 MB / 2.247 GB, free: 122.4 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.01532/8.839, allocations: 6.868 MB / 2.254 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/8.842, allocations: 1.274 MB / 2.255 GB, free: 117.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007623/8.85, allocations: 2.863 MB / 2.258 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/8.852, allocations: 397.2 kB / 2.258 GB, free: 115.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001219/8.853, allocations: 95.33 kB / 2.258 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=60): time 6.993e-06/8.853, allocations: 0 / 2.258 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=60): time 0.005249/8.858, allocations: 1.113 MB / 2.259 GB, free: 115.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/8.859, allocations: 169.4 kB / 2.26 GB, free: 115.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003812/8.862, allocations: 1.355 MB / 2.261 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/8.863, allocations: 44.33 kB / 2.261 GB, free: 115.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/8.864, allocations: 0.8911 MB / 2.262 GB, free: 114.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003996/8.865, allocations: 218 kB / 2.262 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/8.865, allocations: 22 kB / 2.262 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001221/8.865, allocations: 348.6 kB / 2.262 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/8.866, allocations: 330.3 kB / 2.263 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/8.868, allocations: 0.7686 MB / 2.263 GB, free: 113.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001809/8.87, allocations: 480 kB / 2.264 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/8.87, allocations: 3.156 kB / 2.264 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004956/8.875, allocations: 1.252 MB / 2.265 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001215/8.876, allocations: 4.577 MB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.699e-05/8.877, allocations: 14.78 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.481e-05/8.877, allocations: 19.94 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/8.879, allocations: 250.3 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.265e-05/8.879, allocations: 27.19 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/8.882, allocations: 121.4 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003883/8.882, allocations: 56.53 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/8.882, allocations: 4.5 kB / 2.27 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004001/8.886, allocations: 1.049 MB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-05/8.886, allocations: 14.2 kB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/8.886, allocations: 18.28 kB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/8.888, allocations: 241.8 kB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-05/8.888, allocations: 22.56 kB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/8.891, allocations: 113.6 kB / 2.271 GB, free: 108.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/8.891, allocations: 55.8 kB / 2.272 GB, free: 108.6 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.001614/8.893, allocations: 485.2 kB / 2.272 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006242/8.893, allocations: 167.1 kB / 2.272 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/8.898, allocations: 1.057 MB / 2.273 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.622e-05/8.898, allocations: 14.14 kB / 2.273 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/8.898, allocations: 3.953 kB / 2.273 GB, free: 108.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003069/8.901, allocations: 0.8868 MB / 2.274 GB, free: 108 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.008069/8.909, allocations: 2.229 MB / 2.276 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/8.909, allocations: 0 / 2.276 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001414/8.911, allocations: 130.9 kB / 2.276 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003081/8.911, allocations: 29.72 kB / 2.276 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/8.911, allocations: 22.84 kB / 2.276 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/8.913, allocations: 1.314 MB / 2.278 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/8.913, allocations: 1.688 kB / 2.278 GB, free: 106.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005206/8.918, allocations: 1.45 MB / 2.279 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/8.919, allocations: 339.8 kB / 2.279 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007719/8.92, allocations: 13.94 kB / 2.279 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/8.922, allocations: 102.3 kB / 2.28 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/8.923, allocations: 55.95 kB / 2.28 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001298/8.923, allocations: 28.02 kB / 2.28 GB, free: 105.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003099/8.926, allocations: 1.096 MB / 2.281 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.122e-06/8.926, allocations: 0 / 2.281 GB, free: 105.7 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006362/8.933, allocations: 1.019 MB / 2.282 GB, free: 105.6 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,coo.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.009402/8.942, allocations: 3.186 MB / 2.285 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006031/8.948, allocations: 1.647 MB / 2.286 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.495e-05/8.948, allocations: 0 / 2.286 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00225/8.95, allocations: 0.5069 MB / 2.287 GB, free: 104 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006371/8.957, allocations: 0.719 MB / 2.288 GB, free: 104 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/8.972, allocations: 12.14 MB / 2.299 GB, free: 94.32 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/8.974, allocations: 1.402 MB / 2.301 GB, free: 93.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.003524/8.977, allocations: 431.4 kB / 2.301 GB, free: 93.58 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002018/8.98, allocations: 0.7267 MB / 2.302 GB, free: 93.57 MB / 0.8386 GB Notification: Performance of SimCode: time 3.978e-06/8.98, allocations: 0 / 2.302 GB, free: 93.57 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2047/9.184, allocations: 52.94 MB / 2.354 GB, free: 90.95 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/9.185, allocations: 251.5 kB / 2.354 GB, free: 90.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.084/14.27, allocations: 0 / 2.354 GB, free: 90.61 MB / 0.8386 GB