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.0133/0.01331, allocations: 220.2 kB / 15.17 MB, free: 5.992 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.001273/0.001272, allocations: 180.3 kB / 16.06 MB, free: 5.871 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 3.877/3.877, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.483/4.483, allocations: 472.3 MB / 0.9018 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000555/0.0005552, allocations: 12 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7649/0.7655, allocations: 98.72 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.08933/0.8549, allocations: 48.66 MB / 1.152 GB, free: 178.8 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0498/0.9048, allocations: 16.35 MB / 1.168 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005156/0.91, allocations: 76.31 kB / 1.168 GB, free: 167.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006644/0.9167, allocations: 0.8772 MB / 1.169 GB, free: 167.1 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01557/0.9323, allocations: 2.439 MB / 1.171 GB, free: 165.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01542/0.9478, allocations: 2.914 MB / 1.174 GB, free: 164 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01131/0.9591, allocations: 5.192 MB / 1.179 GB, free: 161 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00391/0.9631, allocations: 1.231 MB / 1.18 GB, free: 160.3 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005381/0.9685, allocations: 1.482 MB / 1.181 GB, free: 159.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003676/0.9723, allocations: 1.255 MB / 1.183 GB, free: 157.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0008252/0.9732, allocations: 69.81 kB / 1.183 GB, free: 157.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005664/0.9789, allocations: 1.337 MB / 1.184 GB, free: 156.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.9801, allocations: 402.3 kB / 1.184 GB, free: 156.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.9813, allocations: 413.3 kB / 1.185 GB, free: 155.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005841/0.9872, allocations: 2.42 MB / 1.187 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.9873, allocations: 1.531 kB / 1.187 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.326e-06/0.9873, allocations: 0 / 1.187 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001101/0.9874, allocations: 0 / 1.187 GB, free: 153.3 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006633/0.994, allocations: 2.236 MB / 1.189 GB, free: 151 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.9941, allocations: 12.03 kB / 1.189 GB, free: 151 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005775/0.9947, allocations: 165 kB / 1.19 GB, free: 150.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.9985, allocations: 494 kB / 1.19 GB, free: 150.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/1.004, allocations: 1.582 MB / 1.192 GB, free: 148.7 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007127/1.005, allocations: 161.3 kB / 1.192 GB, free: 148.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005218/1.005, allocations: 127.9 kB / 1.192 GB, free: 148.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/1.01, allocations: 1.387 MB / 1.193 GB, free: 147 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.261e-05/1.01, allocations: 0.6562 kB / 1.193 GB, free: 147 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/1.01, allocations: 48 kB / 1.193 GB, free: 146.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/1.011, allocations: 28.91 kB / 1.193 GB, free: 146.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005165/1.016, allocations: 1.127 MB / 1.194 GB, free: 145.8 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.01526/1.031, allocations: 6.999 MB / 1.201 GB, free: 138.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005028/1.036, allocations: 1.431 MB / 1.203 GB, free: 136.7 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/1.038, allocations: 430.3 kB / 1.203 GB, free: 136.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007613/1.046, allocations: 3.071 MB / 1.206 GB, free: 132.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001724/1.047, allocations: 466.4 kB / 1.206 GB, free: 132.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009365/1.048, allocations: 83.34 kB / 1.207 GB, free: 132.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=59): time 4.669e-06/1.049, allocations: 0 / 1.207 GB, free: 132.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=59): time 0.005898/1.054, allocations: 1.287 MB / 1.208 GB, free: 131 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/1.055, allocations: 141 kB / 1.208 GB, free: 130.9 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/1.058, allocations: 1.558 MB / 1.209 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003229/1.059, allocations: 49.69 kB / 1.21 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.06, allocations: 0.8919 MB / 1.21 GB, free: 128.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/1.061, allocations: 212.9 kB / 1.211 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.061, allocations: 20 kB / 1.211 GB, free: 128.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.061, allocations: 345.9 kB / 1.211 GB, free: 127.8 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/1.063, allocations: 389.8 kB / 1.211 GB, free: 127.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002899/1.066, allocations: 0.7931 MB / 1.212 GB, free: 126.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/1.069, allocations: 0.5335 MB / 1.213 GB, free: 125.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/1.069, allocations: 4 kB / 1.213 GB, free: 125.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.007265/1.077, allocations: 1.361 MB / 1.214 GB, free: 124.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004675/1.077, allocations: 467.2 kB / 1.214 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.306e-05/1.077, allocations: 12 kB / 1.214 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-05/1.077, allocations: 19.94 kB / 1.214 GB, free: 123.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/1.08, allocations: 263 kB / 1.215 GB, free: 123.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.842e-05/1.08, allocations: 31.8 kB / 1.215 GB, free: 123.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/1.084, allocations: 132.5 kB / 1.215 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004087/1.084, allocations: 51.98 kB / 1.215 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.084, allocations: 6.969 kB / 1.215 GB, free: 123.4 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006294/1.09, allocations: 1.194 MB / 1.216 GB, free: 122.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.785e-05/1.091, allocations: 12 kB / 1.216 GB, free: 122.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.586e-05/1.091, allocations: 19.95 kB / 1.216 GB, free: 122.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/1.093, allocations: 263.9 kB / 1.216 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.074e-05/1.093, allocations: 23.92 kB / 1.216 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.096, allocations: 128.4 kB / 1.216 GB, free: 121.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003944/1.097, allocations: 51.98 kB / 1.217 GB, free: 121.7 MB / 0.7292 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): 117 * 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.001914/1.099, allocations: 476.7 kB / 1.217 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/1.1, allocations: 169.9 kB / 1.217 GB, free: 121 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006285/1.106, allocations: 1.161 MB / 1.218 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.106, allocations: 8 kB / 1.218 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/1.106, allocations: 0 / 1.218 GB, free: 119.9 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003473/1.109, allocations: 0.9972 MB / 1.219 GB, free: 118.8 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.007851/1.117, allocations: 2.409 MB / 1.222 GB, free: 116.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/1.117, allocations: 0 / 1.222 GB, free: 116.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/1.119, allocations: 155.8 kB / 1.222 GB, free: 116.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003278/1.119, allocations: 32.84 kB / 1.222 GB, free: 116.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/1.119, allocations: 19.98 kB / 1.222 GB, free: 116.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/1.121, allocations: 1.369 MB / 1.223 GB, free: 114.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.121, allocations: 32 / 1.223 GB, free: 114.7 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/1.127, allocations: 1.604 MB / 1.225 GB, free: 113 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/1.128, allocations: 350.5 kB / 1.225 GB, free: 112.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006833/1.129, allocations: 12 kB / 1.225 GB, free: 112.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002354/1.131, allocations: 115.9 kB / 1.225 GB, free: 112.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.132, allocations: 52.48 kB / 1.225 GB, free: 112.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.132, allocations: 31.36 kB / 1.225 GB, free: 112.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002659/1.135, allocations: 1.113 MB / 1.226 GB, free: 111.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.62e-07/1.135, allocations: 0 / 1.226 GB, free: 111.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0049/1.14, allocations: 0.9084 MB / 1.227 GB, free: 110.4 MB / 0.7292 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 (68): * Single equations (assignments): 59 * 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.008293/1.148, allocations: 2.691 MB / 1.23 GB, free: 107.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00609/1.154, allocations: 1.824 MB / 1.232 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.154, allocations: 0 / 1.232 GB, free: 105.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/1.156, allocations: 0.5657 MB / 1.232 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006185/1.162, allocations: 0.7361 MB / 1.233 GB, free: 104.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03299/1.195, allocations: 10.97 MB / 1.244 GB, free: 92.91 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.197, allocations: 1.407 MB / 1.245 GB, free: 91.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00301/1.2, allocations: 409.7 kB / 1.245 GB, free: 91.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/1.201, allocations: 0.7258 MB / 1.246 GB, free: 90.39 MB / 0.7292 GB Notification: Performance of SimCode: time 1.042e-06/1.202, allocations: 0 / 1.246 GB, free: 90.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1269/1.328, allocations: 47.33 MB / 1.292 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/1.329, allocations: 288.8 kB / 1.293 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.722/6.051, allocations: 3.938 kB / 1.293 GB, free: 44.42 MB / 0.7292 GB