Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_FlatPlate",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.01679/0.01679, allocations: 107.4 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.00199/0.00199, allocations: 182.7 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.192/2.192, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.541/2.541, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7016, allocations: 98.72 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.FlatPlate): time 0.04479/0.7465, allocations: 25.46 MB / 0.7083 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2463/0.9928, allocations: 135 MB / 0.8401 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003148/0.996, allocations: 39.75 kB / 0.8401 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.9993, allocations: 0.5049 MB / 0.8406 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008783/1.008, allocations: 1.612 MB / 0.8422 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008215/1.016, allocations: 1.462 MB / 0.8436 GB, free: 9.941 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.04814/1.065, allocations: 17.9 MB / 0.8611 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02861/1.093, allocations: 11.38 MB / 0.8722 GB, free: 12.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01842/1.112, allocations: 6.652 MB / 0.8787 GB, free: 5.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01584/1.128, allocations: 5.736 MB / 0.8843 GB, free: 104 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.003924/1.132, allocations: 436 kB / 0.8848 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01055/1.142, allocations: 1.159 MB / 0.8859 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.006417/1.149, allocations: 2.152 MB / 0.888 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.007243/1.156, allocations: 2.519 MB / 0.8904 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0283/1.184, allocations: 16.22 MB / 0.9063 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.184, allocations: 4 kB / 0.9063 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.977e-06/1.184, allocations: 0 / 0.9063 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0007704/1.185, allocations: 0 / 0.9063 GB, free: 9.555 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: 2393 * Number of variables: 2393 Notification: Performance of Generate backend data structure: time 1.228/2.413, allocations: 11.38 MB / 0.9174 GB, free: 198.4 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/2.413, allocations: 9.062 kB / 0.9174 GB, free: 198.4 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00644/2.419, allocations: 1.26 MB / 0.9186 GB, free: 197.7 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02381/2.443, allocations: 2.325 MB / 0.9209 GB, free: 197.1 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05111/2.494, allocations: 12 MB / 0.9326 GB, free: 192 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/2.496, allocations: 0.6678 MB / 0.9333 GB, free: 191.7 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004893/2.501, allocations: 0.8946 MB / 0.9342 GB, free: 191.4 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06513/2.566, allocations: 13.93 MB / 0.9478 GB, free: 182.9 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009675/2.567, allocations: 38.2 kB / 0.9478 GB, free: 182.8 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005558/2.573, allocations: 388.7 kB / 0.9482 GB, free: 182.6 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001297/2.574, allocations: 471.1 kB / 0.9486 GB, free: 182.5 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07561/2.65, allocations: 12.86 MB / 0.9612 GB, free: 173.4 MB / 0.7293 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.1771/2.827, allocations: 52.04 MB / 1.012 GB, free: 119.7 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04094/2.868, allocations: 8.479 MB / 1.02 GB, free: 111.3 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004453/2.872, allocations: 1.564 MB / 1.022 GB, free: 109.4 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0253/2.898, allocations: 4.148 MB / 1.026 GB, free: 105.2 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=551): time 1.963e-05/2.898, allocations: 4 kB / 1.026 GB, free: 105.2 MB / 0.7293 GB Notification: Performance of matching and sorting (n=551): time 0.04669/2.944, allocations: 10.89 MB / 1.036 GB, free: 94.21 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/2.945, allocations: 266 kB / 1.037 GB, free: 93.9 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0256/2.97, allocations: 9.549 MB / 1.046 GB, free: 84.38 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.00183/2.972, allocations: 137.7 kB / 1.046 GB, free: 84.24 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.00798/2.98, allocations: 4.965 MB / 1.051 GB, free: 79.25 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.004039/2.984, allocations: 1.914 MB / 1.053 GB, free: 77.33 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001788/2.986, allocations: 143.9 kB / 1.053 GB, free: 77.19 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.0007999/2.987, allocations: 0.5832 MB / 1.054 GB, free: 76.6 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01456/3.002, allocations: 3.655 MB / 1.057 GB, free: 72.94 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01614/3.018, allocations: 5.505 MB / 1.063 GB, free: 66.66 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01646/3.034, allocations: 4.723 MB / 1.067 GB, free: 61.88 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-05/3.034, allocations: 16 kB / 1.067 GB, free: 61.86 MB / 0.7293 GB Notification: Performance of matching and sorting (n=874) (initialization): time 0.04065/3.075, allocations: 10.44 MB / 1.077 GB, free: 51.32 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.006006/3.081, allocations: 28.57 MB / 1.105 GB, free: 20.66 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001946/3.081, allocations: 59.98 kB / 1.105 GB, free: 20.6 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/3.082, allocations: 99.95 kB / 1.105 GB, free: 20.5 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01656/3.098, allocations: 1.825 MB / 1.107 GB, free: 18.67 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002171/3.098, allocations: 123.6 kB / 1.107 GB, free: 18.55 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01852/3.117, allocations: 1.26 MB / 1.109 GB, free: 17.28 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/3.119, allocations: 339 kB / 1.109 GB, free: 16.95 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/3.119, allocations: 5.25 kB / 1.109 GB, free: 16.95 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03824/3.158, allocations: 9.714 MB / 1.118 GB, free: 7.148 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001858/3.158, allocations: 56 kB / 1.118 GB, free: 7.094 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/3.158, allocations: 103.7 kB / 1.119 GB, free: 6.996 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01639/3.174, allocations: 1.837 MB / 1.12 GB, free: 5.156 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002036/3.175, allocations: 123.6 kB / 1.12 GB, free: 5.035 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/3.191, allocations: 1.139 MB / 1.122 GB, free: 3.891 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002188/3.193, allocations: 339.8 kB / 1.122 GB, free: 3.559 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 867 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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.01248/3.206, allocations: 3.997 MB / 1.126 GB, free: 15.55 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005135/3.211, allocations: 0.8799 MB / 1.127 GB, free: 14.66 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04254/3.254, allocations: 8.886 MB / 1.135 GB, free: 5.676 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-05/3.254, allocations: 56 kB / 1.135 GB, free: 5.621 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-05/3.254, allocations: 0 / 1.135 GB, free: 5.621 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03216/3.286, allocations: 7.009 MB / 1.142 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07735/3.364, allocations: 19.46 MB / 1.161 GB, free: 10.78 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-05/3.364, allocations: 6.656 kB / 1.161 GB, free: 10.78 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01452/3.378, allocations: 1.299 MB / 1.163 GB, free: 9.477 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.95e-05/3.378, allocations: 20 kB / 1.163 GB, free: 9.457 MB / 0.7762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001752/3.38, allocations: 183.8 kB / 1.163 GB, free: 9.277 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.094e-05/3.38, allocations: 23.95 kB / 1.163 GB, free: 9.254 MB / 0.7762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/3.38, allocations: 0 / 1.163 GB, free: 9.254 MB / 0.7762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05443/3.435, allocations: 12.92 MB / 1.175 GB, free: 12.17 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01087/3.446, allocations: 2.316 MB / 1.178 GB, free: 9.82 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005107/3.451, allocations: 119.9 kB / 1.178 GB, free: 9.703 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0167/3.468, allocations: 0.7604 MB / 1.178 GB, free: 8.949 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001855/3.469, allocations: 323.9 kB / 1.179 GB, free: 8.629 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001985/3.471, allocations: 251.8 kB / 1.179 GB, free: 8.383 MB / 0.7918 GB Notification: Performance of sorting global known variables: time 0.02088/3.492, allocations: 6.764 MB / 1.186 GB, free: 1.652 MB / 0.7918 GB Notification: Performance of sort global known variables: time 7.92e-07/3.492, allocations: 7.938 kB / 1.186 GB, free: 1.645 MB / 0.7918 GB Notification: Performance of remove unused functions: time 0.02932/3.522, allocations: 5.327 MB / 1.191 GB, free: 12.34 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (563): * Single equations (assignments): 557 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.05916/3.581, allocations: 14.75 MB / 1.205 GB, free: 13.78 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0539/3.635, allocations: 13.86 MB / 1.219 GB, free: 15.8 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.212e-05/3.635, allocations: 6.656 kB / 1.219 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.01597/3.651, allocations: 3.843 MB / 1.223 GB, free: 11.94 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05377/3.705, allocations: 5.482 MB / 1.228 GB, free: 6.5 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7713/4.476, allocations: 72.29 MB / 1.298 GB, free: 234.3 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02007/4.496, allocations: 7.128 MB / 1.305 GB, free: 232.1 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 0.03981/4.536, allocations: 5.87 MB / 1.311 GB, free: 230.9 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01565/4.552, allocations: 4.553 MB / 1.316 GB, free: 227.4 MB / 0.8387 GB Notification: Performance of SimCode: time 3.276e-06/4.552, allocations: 3.938 kB / 1.316 GB, free: 227.4 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.215/5.767, allocations: 278.1 MB / 1.587 GB, free: 261.8 MB / 0.8387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003001/5.767, allocations: 265.5 kB / 1.587 GB, free: 261.5 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/20.17, allocations: 0 / 1.587 GB, free: 261.5 MB / 0.8387 GB