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.02419/0.02419, allocations: 106.6 kB / 15.05 MB, free: 5.934 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.001839/0.001839, allocations: 186 kB / 15.94 MB, free: 5.898 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.171/2.171, allocations: 194.6 MB / 211.2 MB, free: 11.08 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.552/2.552, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004947, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7798, allocations: 98.71 MB / 0.6834 GB, free: 16.94 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.196/8.975, allocations: 2.458 GB / 3.142 GB, free: 214.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/8.976, allocations: 94.03 kB / 3.142 GB, free: 214.3 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$datRea.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 10.86/19.84, allocations: 2.036 GB / 5.178 GB, free: 98.73 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.176e-06/19.84, allocations: 0 / 5.178 GB, free: 98.73 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.002464/19.84, allocations: 296.5 kB / 5.178 GB, free: 98.46 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: 2327 * Number of variables: 2327 Notification: Performance of Generate backend data structure: time 0.05729/19.9, allocations: 11.77 MB / 5.189 GB, free: 86.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/19.9, allocations: 12.03 kB / 5.189 GB, free: 86.66 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007035/19.9, allocations: 1.229 MB / 5.191 GB, free: 85.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02194/19.93, allocations: 2.144 MB / 5.193 GB, free: 83.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05962/19.99, allocations: 14.56 MB / 5.207 GB, free: 68.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009747/19.99, allocations: 0.6429 MB / 5.208 GB, free: 68.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004876/19.99, allocations: 0.8719 MB / 5.208 GB, free: 67.37 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05109/20.04, allocations: 12.98 MB / 5.221 GB, free: 53.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006865/20.04, allocations: 31.7 kB / 5.221 GB, free: 53.91 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004217/20.05, allocations: 382.3 kB / 5.221 GB, free: 53.55 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005501/20.05, allocations: 461 kB / 5.222 GB, free: 53.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04759/20.1, allocations: 11.98 MB / 5.234 GB, free: 41.09 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 1.533/21.63, allocations: 50.52 MB / 5.283 GB, free: 101.1 MB / 0.8387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0311/21.66, allocations: 8.394 MB / 5.291 GB, free: 100.9 MB / 0.8387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/21.66, allocations: 1.502 MB / 5.293 GB, free: 99.43 MB / 0.8387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01711/21.68, allocations: 4.047 MB / 5.297 GB, free: 99.26 MB / 0.8387 GB Notification: Performance of pre-optimization done (n=551): time 1.147e-05/21.68, allocations: 0 / 5.297 GB, free: 99.26 MB / 0.8387 GB Notification: Performance of matching and sorting (n=551): time 0.05068/21.73, allocations: 10.71 MB / 5.307 GB, free: 99.02 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/21.73, allocations: 320.5 kB / 5.307 GB, free: 98.7 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02972/21.76, allocations: 8.955 MB / 5.316 GB, free: 98.27 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 0.001922/21.76, allocations: 135.5 kB / 5.316 GB, free: 98.23 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 0.009147/21.77, allocations: 4.906 MB / 5.321 GB, free: 97.39 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004576/21.78, allocations: 1.915 MB / 5.323 GB, free: 96.43 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001584/21.78, allocations: 139.4 kB / 5.323 GB, free: 96.43 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0007411/21.78, allocations: 0.5802 MB / 5.324 GB, free: 96.11 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01427/21.79, allocations: 3.646 MB / 5.327 GB, free: 96.1 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01632/21.81, allocations: 5.504 MB / 5.333 GB, free: 94.01 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01692/21.83, allocations: 4.712 MB / 5.337 GB, free: 93.83 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.499e-05/21.83, allocations: 14.72 kB / 5.337 GB, free: 93.83 MB / 0.8387 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.04243/21.87, allocations: 10.41 MB / 5.347 GB, free: 93.09 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 0.006804/21.88, allocations: 28.42 MB / 5.375 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/21.88, allocations: 58.44 kB / 5.375 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/21.88, allocations: 95.59 kB / 5.375 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01748/21.89, allocations: 1.85 MB / 5.377 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000213/21.9, allocations: 120.8 kB / 5.377 GB, free: 63.35 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01897/21.91, allocations: 1.259 MB / 5.378 GB, free: 63.12 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002332/21.92, allocations: 339.4 kB / 5.379 GB, free: 63.12 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/21.92, allocations: 9.531 kB / 5.379 GB, free: 63.12 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03706/21.95, allocations: 9.672 MB / 5.388 GB, free: 62.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/21.95, allocations: 53.44 kB / 5.388 GB, free: 62.84 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001199/21.95, allocations: 102.6 kB / 5.388 GB, free: 62.84 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02244/21.98, allocations: 1.85 MB / 5.39 GB, free: 62.84 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002014/21.98, allocations: 121.4 kB / 5.39 GB, free: 62.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01777/21.99, allocations: 1.134 MB / 5.391 GB, free: 62.54 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002375/22, allocations: 334 kB / 5.392 GB, free: 62.54 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * 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 (869): * Single equations (assignments): 866 * 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.01238/22.01, allocations: 3.98 MB / 5.396 GB, free: 62.31 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004028/22.01, allocations: 0.8664 MB / 5.396 GB, free: 61.86 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03754/22.05, allocations: 8.793 MB / 5.405 GB, free: 61.49 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/22.05, allocations: 56.95 kB / 5.405 GB, free: 61.48 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.709e-05/22.05, allocations: 0 / 5.405 GB, free: 61.48 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02872/22.08, allocations: 6.911 MB / 5.412 GB, free: 61.23 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07752/22.16, allocations: 19.82 MB / 5.431 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/22.16, allocations: 0 / 5.431 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0141/22.17, allocations: 1.324 MB / 5.432 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-05/22.17, allocations: 18.81 kB / 5.432 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00148/22.17, allocations: 184.2 kB / 5.433 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.944e-05/22.17, allocations: 16.94 kB / 5.433 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/22.17, allocations: 0 / 5.433 GB, free: 60.04 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04605/22.22, allocations: 12.85 MB / 5.445 GB, free: 56.13 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009747/22.23, allocations: 2.329 MB / 5.447 GB, free: 54.87 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004693/22.23, allocations: 119 kB / 5.448 GB, free: 54.79 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01572/22.25, allocations: 0.7204 MB / 5.448 GB, free: 54.66 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001749/22.25, allocations: 321.5 kB / 5.449 GB, free: 54.62 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001123/22.25, allocations: 206.8 kB / 5.449 GB, free: 54.58 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.02057/22.27, allocations: 7.017 MB / 5.456 GB, free: 52.19 MB / 0.8387 GB Notification: Performance of sort global known variables: time 6.61e-07/22.27, allocations: 0 / 5.456 GB, free: 52.19 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.02992/22.3, allocations: 5.625 MB / 5.461 GB, free: 51.09 MB / 0.8387 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 (567): * Single equations (assignments): 561 * 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.05276/22.36, allocations: 14.88 MB / 5.476 GB, free: 45.32 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.04889/22.4, allocations: 13.79 MB / 5.489 GB, free: 40.83 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/22.41, allocations: 10.5 kB / 5.489 GB, free: 40.83 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.01437/22.42, allocations: 3.83 MB / 5.493 GB, free: 39.58 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04379/22.46, allocations: 5.496 MB / 5.498 GB, free: 38.45 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1681/22.63, allocations: 72.09 MB / 5.569 GB, free: 16.26 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02341/22.65, allocations: 7.087 MB / 5.576 GB, free: 11.03 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0432/22.7, allocations: 6.035 MB / 5.581 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0178/22.72, allocations: 4.513 MB / 5.586 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of SimCode: time 1.482e-06/22.72, allocations: 0 / 5.586 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.355/24.07, allocations: 270.9 MB / 5.85 GB, free: 82.47 MB / 0.9012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002246/24.07, allocations: 237.5 kB / 5.851 GB, free: 82.23 MB / 0.9012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/39.32, allocations: 3 kB / 5.851 GB, free: 82.23 MB / 0.9012 GB