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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.448/4.448, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.661e-05, allocations: 5.594 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2457, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.81/8.056, allocations: 2.468 GB / 3.097 GB, free: 171.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/8.056, allocations: 96.2 kB / 3.097 GB, free: 171.3 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.84/18.89, allocations: 2.02 GB / 5.117 GB, free: 32.65 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.665e-06/18.89, allocations: 4 kB / 5.117 GB, free: 32.65 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.003197/18.9, allocations: 299.6 kB / 5.117 GB, free: 32.36 MB / 0.823 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.04505/18.94, allocations: 9.637 MB / 5.127 GB, free: 22.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/18.94, allocations: 12.03 kB / 5.127 GB, free: 22.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02156/18.96, allocations: 2.144 MB / 5.129 GB, free: 20.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05552/19.02, allocations: 14.49 MB / 5.143 GB, free: 5.863 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000642/19.02, allocations: 280 kB / 5.143 GB, free: 5.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004341/19.02, allocations: 0.5038 MB / 5.144 GB, free: 5.086 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7197/19.74, allocations: 10.34 MB / 5.154 GB, free: 107.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04988/19.79, allocations: 11.24 MB / 5.165 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008085/19.79, allocations: 30.97 kB / 5.165 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004338/19.8, allocations: 14.91 kB / 5.165 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006598/19.8, allocations: 462.2 kB / 5.165 GB, free: 106.2 MB / 0.823 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.1345/19.93, allocations: 48.77 MB / 5.213 GB, free: 88.52 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01929/19.95, allocations: 7.472 MB / 5.22 GB, free: 88.36 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01007/19.96, allocations: 3.911 MB / 5.224 GB, free: 88.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/19.97, allocations: 1.503 MB / 5.226 GB, free: 86.79 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01121/19.98, allocations: 3.559 MB / 5.229 GB, free: 86.63 MB / 0.823 GB Notification: Performance of pre-optimization done (n=551): time 1.233e-05/19.98, allocations: 0 / 5.229 GB, free: 86.63 MB / 0.823 GB Notification: Performance of matching and sorting (n=551): time 0.1587/20.14, allocations: 11.83 MB / 5.241 GB, free: 86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/20.14, allocations: 317.6 kB / 5.241 GB, free: 85.68 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02334/20.16, allocations: 7.645 MB / 5.248 GB, free: 85.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00189/20.16, allocations: 33.27 kB / 5.248 GB, free: 85.16 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.008885/20.17, allocations: 4.914 MB / 5.253 GB, free: 83.84 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004551/20.18, allocations: 1.841 MB / 5.255 GB, free: 82.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/20.18, allocations: 2.531 kB / 5.255 GB, free: 82.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0009396/20.18, allocations: 0.5759 MB / 5.256 GB, free: 82.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009292/20.19, allocations: 3.182 MB / 5.259 GB, free: 82.36 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/20.2, allocations: 5.006 MB / 5.264 GB, free: 80.29 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3768/20.58, allocations: 16.54 MB / 5.28 GB, free: 80.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/20.58, allocations: 15.22 kB / 5.28 GB, free: 80.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=873) (initialization): time 0.4138/20.99, allocations: 21.32 MB / 5.301 GB, free: 78.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.006494/21, allocations: 27.4 MB / 5.327 GB, free: 49.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000255/21, allocations: 54.81 kB / 5.327 GB, free: 49.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/21, allocations: 96.19 kB / 5.327 GB, free: 49.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/21.02, allocations: 1.852 MB / 5.329 GB, free: 49.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001954/21.02, allocations: 123.5 kB / 5.329 GB, free: 49.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01837/21.03, allocations: 1.034 MB / 5.33 GB, free: 49.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002587/21.04, allocations: 340.1 kB / 5.331 GB, free: 49.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/21.04, allocations: 4.375 kB / 5.331 GB, free: 49.19 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4221/21.46, allocations: 20.52 MB / 5.351 GB, free: 48.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/21.46, allocations: 51.69 kB / 5.351 GB, free: 48.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/21.46, allocations: 96 kB / 5.351 GB, free: 48.14 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01751/21.48, allocations: 1.851 MB / 5.353 GB, free: 48.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001874/21.48, allocations: 122.1 kB / 5.353 GB, free: 48.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01746/21.49, allocations: 0.9133 MB / 5.354 GB, free: 47.77 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/21.5, allocations: 346.3 kB / 5.354 GB, free: 47.76 MB / 0.823 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.004207/21.5, allocations: 291.4 kB / 5.354 GB, free: 47.62 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1511/21.65, allocations: 11.82 MB / 5.366 GB, free: 46.35 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004542/21.66, allocations: 0.7892 MB / 5.367 GB, free: 45.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.154/21.81, allocations: 12.84 MB / 5.379 GB, free: 40.38 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.844e-05/21.81, allocations: 62 kB / 5.379 GB, free: 40.32 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/21.81, allocations: 3.953 kB / 5.379 GB, free: 40.32 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1452/21.96, allocations: 11.16 MB / 5.39 GB, free: 31.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1787/22.14, allocations: 22.9 MB / 5.412 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/22.14, allocations: 7.469 kB / 5.412 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01432/22.15, allocations: 1.328 MB / 5.414 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.469e-05/22.15, allocations: 16 kB / 5.414 GB, free: 13.31 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001349/22.15, allocations: 120.6 kB / 5.414 GB, free: 13.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/22.15, allocations: 20.75 kB / 5.414 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/22.15, allocations: 0 / 5.414 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.159/22.31, allocations: 16.69 MB / 5.43 GB, free: 15.85 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01147/22.32, allocations: 2.249 MB / 5.432 GB, free: 13.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004922/22.33, allocations: 27.8 kB / 5.432 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0162/22.34, allocations: 0.6218 MB / 5.433 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001928/22.35, allocations: 322.5 kB / 5.433 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001524/22.35, allocations: 209.2 kB / 5.434 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01832/22.37, allocations: 5.839 MB / 5.439 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.142e-06/22.37, allocations: 0 / 5.439 GB, free: 8.082 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.03247/22.4, allocations: 5.399 MB / 5.445 GB, free: 2.742 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.182/22.58, allocations: 18.98 MB / 5.463 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.7519/23.33, allocations: 12.49 MB / 5.475 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.567e-05/23.33, allocations: 8.844 kB / 5.475 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0259/23.36, allocations: 3.398 MB / 5.479 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04858/23.41, allocations: 4.693 MB / 5.483 GB, free: 135.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07403/23.48, allocations: 22.26 MB / 5.505 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/23.5, allocations: 7.094 MB / 5.512 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.05184/23.55, allocations: 8.745 MB / 5.52 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01351/23.56, allocations: 4.294 MB / 5.525 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.573e-06/23.56, allocations: 4 kB / 5.525 GB, free: 130 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5726/24.13, allocations: 245.8 MB / 5.765 GB, free: 7.926 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003147/24.13, allocations: 183.6 kB / 5.765 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.98/40.11, allocations: 0 / 5.765 GB, free: 7.73 MB / 0.8698 GB