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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.148/4.148, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.09e-05/4.106e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2505, allocations: 98.73 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.215/8.466, allocations: 2.468 GB / 3.103 GB, free: 220.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/8.466, allocations: 92.05 kB / 3.103 GB, free: 220.8 MB / 0.8386 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.93/19.4, allocations: 2.03 GB / 5.134 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.776e-06/19.4, allocations: 3.875 kB / 5.134 GB, free: 129.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.002419/19.4, allocations: 291.7 kB / 5.134 GB, free: 129.6 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.04142/19.44, allocations: 9.653 MB / 5.143 GB, free: 125.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/19.44, allocations: 10.78 kB / 5.143 GB, free: 125.9 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00627/19.45, allocations: 1.218 MB / 5.145 GB, free: 125.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/19.47, allocations: 2.134 MB / 5.147 GB, free: 125.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05934/19.53, allocations: 14.49 MB / 5.161 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001068/19.53, allocations: 0.6502 MB / 5.161 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004789/19.53, allocations: 0.8717 MB / 5.162 GB, free: 123.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04603/19.58, allocations: 12.49 MB / 5.174 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007336/19.58, allocations: 32.17 kB / 5.175 GB, free: 122.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004359/19.58, allocations: 384.5 kB / 5.175 GB, free: 122.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005828/19.58, allocations: 454.2 kB / 5.175 GB, free: 122.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/19.62, allocations: 11.1 MB / 5.186 GB, free: 118.5 MB / 0.8386 GB Warning: The model contains alias variables with conflicting start and/or 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.1286/19.75, allocations: 50.51 MB / 5.235 GB, free: 76.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02363/19.78, allocations: 7.748 MB / 5.243 GB, free: 69 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01452/19.79, allocations: 4.089 MB / 5.247 GB, free: 64.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003598/19.79, allocations: 1.507 MB / 5.249 GB, free: 63.12 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01482/19.81, allocations: 3.731 MB / 5.252 GB, free: 59.32 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=551): time 1.616e-05/19.81, allocations: 4 kB / 5.252 GB, free: 59.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=551): time 0.03082/19.84, allocations: 7.006 MB / 5.259 GB, free: 52.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/19.84, allocations: 321.3 kB / 5.259 GB, free: 51.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03653/19.88, allocations: 8.862 MB / 5.268 GB, free: 43 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.002297/19.88, allocations: 133.7 kB / 5.268 GB, free: 42.86 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.01207/19.89, allocations: 4.907 MB / 5.273 GB, free: 37.94 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.005722/19.9, allocations: 1.922 MB / 5.275 GB, free: 36.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002306/19.9, allocations: 136 kB / 5.275 GB, free: 35.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.001076/19.9, allocations: 0.5793 MB / 5.275 GB, free: 35.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01475/19.91, allocations: 3.32 MB / 5.279 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01695/19.93, allocations: 5.173 MB / 5.284 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01743/19.95, allocations: 4.409 MB / 5.288 GB, free: 21.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.883e-05/19.95, allocations: 16 kB / 5.288 GB, free: 21.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.04589/20, allocations: 9.747 MB / 5.298 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.8181/20.81, allocations: 28.42 MB / 5.325 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/20.81, allocations: 53.97 kB / 5.325 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/20.81, allocations: 99.81 kB / 5.325 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01854/20.83, allocations: 1.847 MB / 5.327 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002829/20.83, allocations: 122.3 kB / 5.327 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02053/20.85, allocations: 1.256 MB / 5.329 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003002/20.86, allocations: 338.4 kB / 5.329 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/20.86, allocations: 3.375 kB / 5.329 GB, free: 111.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03571/20.89, allocations: 9.015 MB / 5.338 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003557/20.89, allocations: 60.36 kB / 5.338 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/20.89, allocations: 99.88 kB / 5.338 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01871/20.91, allocations: 1.848 MB / 5.34 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000358/20.91, allocations: 123.1 kB / 5.34 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01924/20.93, allocations: 1.125 MB / 5.341 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002778/20.93, allocations: 336.9 kB / 5.341 GB, free: 111.1 MB / 0.8386 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 () * 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.005055/20.94, allocations: 0.518 MB / 5.342 GB, free: 111 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005489/20.94, allocations: 0.8705 MB / 5.343 GB, free: 110.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03519/20.98, allocations: 8.167 MB / 5.351 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.74e-05/20.98, allocations: 55.12 kB / 5.351 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/20.98, allocations: 0 / 5.351 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02292/21, allocations: 6.287 MB / 5.357 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07134/21.07, allocations: 19.19 MB / 5.376 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.549e-05/21.07, allocations: 0 / 5.376 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01485/21.09, allocations: 1.333 MB / 5.377 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/21.09, allocations: 14.78 kB / 5.377 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001999/21.09, allocations: 181.7 kB / 5.377 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.784e-05/21.09, allocations: 20.94 kB / 5.377 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/21.09, allocations: 0 / 5.377 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/21.13, allocations: 11.89 MB / 5.389 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01108/21.14, allocations: 2.33 MB / 5.391 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005468/21.15, allocations: 125.5 kB / 5.391 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01708/21.16, allocations: 0.7152 MB / 5.392 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001971/21.17, allocations: 321.3 kB / 5.392 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002087/21.17, allocations: 213.2 kB / 5.392 GB, free: 107.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0215/21.19, allocations: 6.929 MB / 5.399 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.012e-06/21.19, allocations: 4 kB / 5.399 GB, free: 107.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.03352/21.22, allocations: 5.615 MB / 5.405 GB, free: 106.9 MB / 0.8386 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) * 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.04799/21.27, allocations: 13.85 MB / 5.418 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.04014/21.31, allocations: 13.09 MB / 5.431 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.143e-05/21.31, allocations: 8.781 kB / 5.431 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/21.32, allocations: 3.515 MB / 5.434 GB, free: 104.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04698/21.37, allocations: 5.51 MB / 5.44 GB, free: 104.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08647/21.46, allocations: 23.04 MB / 5.462 GB, free: 99.75 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01992/21.48, allocations: 7.095 MB / 5.469 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.05681/21.53, allocations: 9.523 MB / 5.478 GB, free: 111.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01655/21.55, allocations: 4.332 MB / 5.483 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.844e-06/21.55, allocations: 0 / 5.483 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.397/22.95, allocations: 284.7 MB / 5.761 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002369/22.95, allocations: 209.5 kB / 5.761 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.04/39.99, allocations: 4 kB / 5.761 GB, free: 149.5 MB / 0.8698 GB