Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.SolarCollectors.Examples.FlatPlateWithTank,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateWithTank",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.01515/0.01516, allocations: 106.9 kB / 15.06 MB, free: 5.551 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.001888/0.001888, allocations: 177.4 kB / 15.95 MB, free: 5.516 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.148/2.148, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.579/2.579, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000509/0.0005092, allocations: 8 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7399/0.7405, allocations: 98.72 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank): time 0.2097/0.9502, allocations: 86.31 MB / 0.7677 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 1.065/2.015, allocations: 156.6 MB / 0.9207 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008328/2.024, allocations: 127.6 kB / 0.9208 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.009471/2.033, allocations: 1.71 MB / 0.9225 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02243/2.056, allocations: 4.634 MB / 0.927 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02067/2.076, allocations: 4.42 MB / 0.9313 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0355/2.112, allocations: 15.03 MB / 0.946 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02543/2.137, allocations: 9.678 MB / 0.9554 GB, free: 23.27 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01984/2.157, allocations: 6.184 MB / 0.9615 GB, free: 23.27 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01483/2.172, allocations: 5.155 MB / 0.9665 GB, free: 23.25 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.004112/2.176, allocations: 426.7 kB / 0.9669 GB, free: 23.25 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01575/2.192, allocations: 2.607 MB / 0.9695 GB, free: 23.24 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.00593/2.198, allocations: 1.971 MB / 0.9714 GB, free: 23.24 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.007229/2.205, allocations: 2.249 MB / 0.9736 GB, free: 23.21 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.02663/2.232, allocations: 15.24 MB / 0.9885 GB, free: 15.94 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/2.232, allocations: 0 / 0.9885 GB, free: 15.94 MB / 0.7449 GB Notification: Performance of FrontEnd: time 3.336e-06/2.232, allocations: 0 / 0.9885 GB, free: 15.94 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 0.0007263/2.233, allocations: 0 / 0.9885 GB, free: 15.94 MB / 0.7449 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2099 * Number of variables: 2099 Notification: Performance of Generate backend data structure: time 0.04202/2.275, allocations: 10.25 MB / 0.9985 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/2.275, allocations: 10.97 kB / 0.9985 GB, free: 10.17 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005628/2.28, allocations: 1.105 MB / 0.9996 GB, free: 9.887 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02415/2.305, allocations: 2.377 MB / 1.002 GB, free: 8.809 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04378/2.349, allocations: 9.234 MB / 1.011 GB, free: 5.781 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00195/2.351, allocations: 0.6777 MB / 1.012 GB, free: 5.738 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004793/2.355, allocations: 0.8253 MB / 1.012 GB, free: 5.727 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05558/2.411, allocations: 11.8 MB / 1.024 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006616/2.412, allocations: 35.72 kB / 1.024 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004035/2.416, allocations: 341.9 kB / 1.024 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006389/2.416, allocations: 341.9 kB / 1.025 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04863/2.465, allocations: 11.18 MB / 1.035 GB, free: 6.094 MB / 0.7605 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.1273/2.593, allocations: 47.38 MB / 1.082 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03049/2.623, allocations: 8.241 MB / 1.09 GB, free: 10.71 MB / 0.8074 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 evalFunc (simulation): time 0.0659/2.689, allocations: 18.7 MB / 1.108 GB, free: 12.96 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01595/2.705, allocations: 3.62 MB / 1.112 GB, free: 10.41 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008142/2.713, allocations: 0.7396 MB / 1.112 GB, free: 9.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=508): time 2.513e-05/2.713, allocations: 0 / 1.112 GB, free: 9.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=508): time 0.0432/2.757, allocations: 9.606 MB / 1.122 GB, free: 3.035 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/2.757, allocations: 313 kB / 1.122 GB, free: 2.668 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02142/2.778, allocations: 7.811 MB / 1.13 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.001776/2.78, allocations: 130.8 kB / 1.13 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.007113/2.787, allocations: 4.388 MB / 1.134 GB, free: 10.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.003802/2.791, allocations: 1.755 MB / 1.136 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/2.792, allocations: 130.9 kB / 1.136 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006407/2.793, allocations: 0.5658 MB / 1.136 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01369/2.806, allocations: 3.459 MB / 1.14 GB, free: 6.102 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01601/2.823, allocations: 5.16 MB / 1.145 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/2.839, allocations: 4.364 MB / 1.149 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.26e-05/2.839, allocations: 12 kB / 1.149 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.04031/2.879, allocations: 9.781 MB / 1.159 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.009991/2.889, allocations: 23.83 MB / 1.182 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002367/2.89, allocations: 50.52 kB / 1.182 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001701/2.89, allocations: 84 kB / 1.182 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01734/2.907, allocations: 1.722 MB / 1.184 GB, free: 12.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002551/2.908, allocations: 112.3 kB / 1.184 GB, free: 12.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01547/2.923, allocations: 0.726 MB / 1.185 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00235/2.925, allocations: 315.7 kB / 1.185 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/2.926, allocations: 6.344 kB / 1.185 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03708/2.963, allocations: 9.055 MB / 1.194 GB, free: 4.488 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/2.963, allocations: 55.98 kB / 1.194 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/2.963, allocations: 86.91 kB / 1.194 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01565/2.979, allocations: 1.706 MB / 1.196 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002079/2.979, allocations: 112.3 kB / 1.196 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01426/2.993, allocations: 0.7023 MB / 1.196 GB, free: 1.945 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002272/2.996, allocations: 311.9 kB / 1.197 GB, free: 1.641 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (827): * Single equations (assignments): 822 * 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.01178/3.007, allocations: 3.232 MB / 1.2 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00336/3.011, allocations: 0.7563 MB / 1.201 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/3.047, allocations: 8.112 MB / 1.208 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.228e-05/3.047, allocations: 55.27 kB / 1.208 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.55e-05/3.047, allocations: 0 / 1.208 GB, free: 5.473 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02752/3.074, allocations: 6.449 MB / 1.215 GB, free: 14.89 MB / 0.9167 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.06454/3.139, allocations: 17.47 MB / 1.232 GB, free: 13.33 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.262e-05/3.139, allocations: 0 / 1.232 GB, free: 13.33 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01248/3.152, allocations: 1.165 MB / 1.233 GB, free: 12.21 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-05/3.152, allocations: 20 kB / 1.233 GB, free: 12.19 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001225/3.153, allocations: 155.9 kB / 1.233 GB, free: 12.04 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.638e-05/3.153, allocations: 18.91 kB / 1.233 GB, free: 12.02 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/3.153, allocations: 4 kB / 1.233 GB, free: 12.02 MB / 0.9324 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0473/3.2, allocations: 11.67 MB / 1.245 GB, free: 184 kB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008519/3.209, allocations: 1.927 MB / 1.246 GB, free: 14.22 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003688/3.213, allocations: 108 kB / 1.247 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0138/3.226, allocations: 0.6515 MB / 1.247 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001713/3.228, allocations: 306.6 kB / 1.247 GB, free: 13.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001026/3.229, allocations: 214.3 kB / 1.248 GB, free: 12.96 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01683/3.246, allocations: 5.508 MB / 1.253 GB, free: 7.465 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.82e-07/3.246, allocations: 0 / 1.253 GB, free: 7.465 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02676/3.273, allocations: 5.025 MB / 1.258 GB, free: 2.426 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (533): * Single equations (assignments): 523 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.6833/3.956, allocations: 13.6 MB / 1.271 GB, free: 391.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04773/4.004, allocations: 12.84 MB / 1.284 GB, free: 387.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.765e-05/4.004, allocations: 6.656 kB / 1.284 GB, free: 387.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01498/4.019, allocations: 3.497 MB / 1.287 GB, free: 385.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.034/4.053, allocations: 4.041 MB / 1.291 GB, free: 385.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08839/4.142, allocations: 62.03 MB / 1.352 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/4.155, allocations: 6.211 MB / 1.358 GB, free: 333.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03034/4.186, allocations: 4.166 MB / 1.362 GB, free: 331.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01364/4.199, allocations: 4.197 MB / 1.366 GB, free: 327.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/4.199, allocations: 0 / 1.366 GB, free: 327.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6644/4.864, allocations: 237 MB / 1.597 GB, free: 95.37 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/4.864, allocations: 278.3 kB / 1.598 GB, free: 95 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/20.25, allocations: 0 / 1.598 GB, free: 95 MB / 0.948 GB