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.FlatPlateTotalArea.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.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.417/4.417, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.18e-05, allocations: 4.609 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2382, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.349/8.587, allocations: 2.469 GB / 3.103 GB, free: 220.9 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/8.587, allocations: 92.89 kB / 3.104 GB, free: 220.9 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 15.35/23.94, allocations: 2.743 GB / 5.846 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.425e-06/23.94, allocations: 0.5625 kB / 5.846 GB, free: 82.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.002877/23.94, allocations: 372.7 kB / 5.847 GB, free: 82.19 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2941 * Number of variables: 2941 Notification: Performance of Generate backend data structure: time 0.05362/24, allocations: 12.05 MB / 5.858 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/24, allocations: 11.19 kB / 5.858 GB, free: 77.57 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007976/24.01, allocations: 1.527 MB / 5.86 GB, free: 77.46 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03269/24.04, allocations: 3.118 MB / 5.863 GB, free: 76.59 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07161/24.11, allocations: 17.87 MB / 5.88 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001337/24.11, allocations: 0.8236 MB / 5.881 GB, free: 74.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006414/24.12, allocations: 1.103 MB / 5.882 GB, free: 74.89 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0575/24.18, allocations: 15.66 MB / 5.898 GB, free: 73.18 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008398/24.18, allocations: 40.47 kB / 5.898 GB, free: 73.17 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005125/24.18, allocations: 478.4 kB / 5.898 GB, free: 73.17 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007129/24.18, allocations: 0.5634 MB / 5.899 GB, free: 73.14 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04688/24.23, allocations: 13.85 MB / 5.912 GB, free: 70.5 MB / 0.8698 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.1619/24.39, allocations: 62.91 MB / 5.974 GB, free: 21.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02659/24.42, allocations: 9.639 MB / 5.983 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01444/24.43, allocations: 5.144 MB / 5.988 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00424/24.44, allocations: 2.393 MB / 5.99 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01665/24.45, allocations: 5.039 MB / 5.995 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=702): time 1.468e-05/24.45, allocations: 3.516 kB / 5.995 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of matching and sorting (n=702): time 0.03774/24.49, allocations: 8.93 MB / 6.004 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002538/24.49, allocations: 342.5 kB / 6.004 GB, free: 5.527 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7675/25.26, allocations: 10.93 MB / 6.015 GB, free: 95.52 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00244/25.26, allocations: 163.7 kB / 6.015 GB, free: 95.48 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.01383/25.28, allocations: 6.215 MB / 6.021 GB, free: 94.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.006358/25.28, allocations: 2.438 MB / 6.024 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002736/25.28, allocations: 173.9 kB / 6.024 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.001303/25.29, allocations: 0.6494 MB / 6.024 GB, free: 93.21 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01553/25.3, allocations: 4.185 MB / 6.029 GB, free: 93.19 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01859/25.32, allocations: 6.451 MB / 6.035 GB, free: 90.66 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01746/25.34, allocations: 5.455 MB / 6.04 GB, free: 90.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001529/25.34, allocations: 19.78 kB / 6.04 GB, free: 90.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.04529/25.38, allocations: 12.23 MB / 6.052 GB, free: 89.67 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.007678/25.39, allocations: 36.9 MB / 6.088 GB, free: 51.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003554/25.39, allocations: 63.31 kB / 6.088 GB, free: 51.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001419/25.39, allocations: 204 kB / 6.088 GB, free: 51.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02294/25.42, allocations: 2.371 MB / 6.091 GB, free: 51.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004605/25.42, allocations: 1.664 MB / 6.092 GB, free: 66.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02513/25.45, allocations: 1.608 MB / 6.094 GB, free: 65.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/25.45, allocations: 429.6 kB / 6.094 GB, free: 65.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/25.45, allocations: 3.656 kB / 6.094 GB, free: 65.78 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03888/25.49, allocations: 11.3 MB / 6.105 GB, free: 65.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002469/25.49, allocations: 65.67 kB / 6.105 GB, free: 65.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/25.49, allocations: 195.9 kB / 6.106 GB, free: 65.52 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02295/25.51, allocations: 2.372 MB / 6.108 GB, free: 65.52 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003071/25.52, allocations: 1.667 MB / 6.11 GB, free: 64.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0234/25.54, allocations: 1.438 MB / 6.111 GB, free: 63.78 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003011/25.54, allocations: 426.3 kB / 6.111 GB, free: 63.78 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1094 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004288/25.55, allocations: 0.6172 MB / 6.112 GB, free: 63.64 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005748/25.55, allocations: 1.092 MB / 6.113 GB, free: 63.07 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04084/25.59, allocations: 11.12 MB / 6.124 GB, free: 62.57 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-05/25.59, allocations: 72.98 kB / 6.124 GB, free: 62.57 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/25.59, allocations: 2.812 kB / 6.124 GB, free: 62.57 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02748/25.62, allocations: 8.263 MB / 6.132 GB, free: 62.04 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08206/25.7, allocations: 24.97 MB / 6.156 GB, free: 60.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-05/25.7, allocations: 13 kB / 6.156 GB, free: 60.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01934/25.72, allocations: 1.71 MB / 6.158 GB, free: 60.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/25.72, allocations: 117.9 kB / 6.158 GB, free: 60.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002131/25.72, allocations: 241.7 kB / 6.158 GB, free: 60.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00264/25.73, allocations: 1.59 MB / 6.16 GB, free: 58.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/25.73, allocations: 15.47 kB / 6.16 GB, free: 58.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04749/25.78, allocations: 17.98 MB / 6.178 GB, free: 54.12 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/25.79, allocations: 2.925 MB / 6.18 GB, free: 53.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006115/25.79, allocations: 160.8 kB / 6.181 GB, free: 53.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02038/25.81, allocations: 0.8237 MB / 6.181 GB, free: 53.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002318/25.82, allocations: 447.5 kB / 6.182 GB, free: 53.29 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002421/25.82, allocations: 280.8 kB / 6.182 GB, free: 53.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.02692/25.85, allocations: 8.578 MB / 6.19 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.002e-06/25.85, allocations: 3.625 kB / 6.19 GB, free: 52.95 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.03884/25.89, allocations: 7.13 MB / 6.197 GB, free: 51.99 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (719): * Single equations (assignments): 708 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05738/25.94, allocations: 21.5 MB / 6.218 GB, free: 45.66 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.04756/25.99, allocations: 16.53 MB / 6.235 GB, free: 44.02 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.509e-05/25.99, allocations: 10.56 kB / 6.235 GB, free: 44.02 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.01395/26, allocations: 4.582 MB / 6.239 GB, free: 42.29 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05547/26.06, allocations: 6.792 MB / 6.246 GB, free: 41.16 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1035/26.16, allocations: 29.22 MB / 6.274 GB, free: 29.65 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01924/26.18, allocations: 8.633 MB / 6.283 GB, free: 23.36 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.06458/26.25, allocations: 10.98 MB / 6.293 GB, free: 16.26 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01966/26.27, allocations: 5.69 MB / 6.299 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of SimCode: time 1.473e-06/26.27, allocations: 0 / 6.299 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.697/27.96, allocations: 373.3 MB / 6.664 GB, free: 1.172 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003329/27.96, allocations: 242.5 kB / 6.664 GB, free: 0.8398 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.91/51.88, allocations: 0 / 6.664 GB, free: 0.8398 MB / 0.948 GB