Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.01634/0.01634, allocations: 107 kB / 15.05 MB, free: 5.977 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.002082/0.002082, allocations: 186.6 kB / 15.94 MB, free: 5.938 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.105/2.105, allocations: 194.5 MB / 211.2 MB, free: 11.05 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.408/2.408, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004855, allocations: 16 kB / 0.587 GB, free: 2.07 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.6995, allocations: 98.71 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.585/8.284, allocations: 2.176 GB / 2.859 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000358/8.285, allocations: 99.75 kB / 2.859 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2513/8.536, allocations: 62.35 MB / 2.92 GB, free: 162.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.2e-06/8.536, allocations: 0 / 2.92 GB, free: 162.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001126/8.536, allocations: 31.88 kB / 2.92 GB, free: 162.9 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.00377/8.54, allocations: 1.213 MB / 2.921 GB, free: 161.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/8.54, allocations: 11.97 kB / 2.921 GB, free: 161.6 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005334/8.541, allocations: 142.4 kB / 2.921 GB, free: 161.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/8.545, allocations: 386.3 kB / 2.922 GB, free: 161.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/8.547, allocations: 0.5649 MB / 2.922 GB, free: 160.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.659e-05/8.547, allocations: 67.2 kB / 2.922 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/8.547, allocations: 83.88 kB / 2.923 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/8.551, allocations: 1.016 MB / 2.924 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/8.551, allocations: 0 / 2.924 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000178/8.551, allocations: 36.62 kB / 2.924 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/8.551, allocations: 27.98 kB / 2.924 GB, free: 159.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004944/8.556, allocations: 1.31 MB / 2.925 GB, free: 158.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008276/8.564, allocations: 2.653 MB / 2.927 GB, free: 156.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00581/8.57, allocations: 1.021 MB / 2.928 GB, free: 155.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/8.571, allocations: 469.5 kB / 2.929 GB, free: 155.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002265/8.573, allocations: 0.5437 MB / 2.929 GB, free: 154.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 5.069e-06/8.574, allocations: 4 kB / 2.929 GB, free: 154.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.007966/8.582, allocations: 1.37 MB / 2.931 GB, free: 153.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.394e-05/8.582, allocations: 214.3 kB / 2.931 GB, free: 153.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/8.583, allocations: 0.5262 MB / 2.931 GB, free: 153.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002836/8.583, allocations: 38.95 kB / 2.932 GB, free: 153.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/8.584, allocations: 365.2 kB / 2.932 GB, free: 152.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/8.584, allocations: 237.6 kB / 2.932 GB, free: 152.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/8.584, allocations: 13.75 kB / 2.932 GB, free: 152.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001559/8.584, allocations: 372 kB / 2.932 GB, free: 152.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/8.586, allocations: 328.5 kB / 2.933 GB, free: 152.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/8.588, allocations: 429.6 kB / 2.933 GB, free: 151.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/8.59, allocations: 407.5 kB / 2.934 GB, free: 151.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.417e-06/8.59, allocations: 0 / 2.934 GB, free: 151.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.005093/8.595, allocations: 1.043 MB / 2.935 GB, free: 150.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/8.595, allocations: 64.92 kB / 2.935 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/8.595, allocations: 0 / 2.935 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009866/8.596, allocations: 83.27 kB / 2.935 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/8.598, allocations: 175.1 kB / 2.935 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002825/8.601, allocations: 1.531 MB / 2.936 GB, free: 148.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/8.602, allocations: 104.8 kB / 2.937 GB, free: 148.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000244/8.603, allocations: 34.59 kB / 2.937 GB, free: 148.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * 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.0008034/8.604, allocations: 244.3 kB / 2.937 GB, free: 148.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/8.604, allocations: 81.41 kB / 2.937 GB, free: 148.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/8.61, allocations: 1.201 MB / 2.938 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/8.61, allocations: 8 kB / 2.938 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/8.61, allocations: 0 / 2.938 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-05/8.61, allocations: 3.984 kB / 2.938 GB, free: 147.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/8.612, allocations: 0.8963 MB / 2.939 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/8.612, allocations: 0 / 2.939 GB, free: 146.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/8.614, allocations: 179.7 kB / 2.939 GB, free: 146.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009073/8.615, allocations: 84.77 kB / 2.939 GB, free: 146.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002233/8.615, allocations: 19.98 kB / 2.939 GB, free: 146.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002516/8.618, allocations: 1.555 MB / 2.941 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/8.618, allocations: 8.016 kB / 2.941 GB, free: 144.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004862/8.622, allocations: 1.001 MB / 2.942 GB, free: 143.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009369/8.623, allocations: 299.7 kB / 2.942 GB, free: 143 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/8.624, allocations: 20.06 kB / 2.942 GB, free: 143 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001569/8.625, allocations: 95.91 kB / 2.942 GB, free: 142.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/8.626, allocations: 60.92 kB / 2.942 GB, free: 142.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/8.626, allocations: 31.92 kB / 2.942 GB, free: 142.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008896/8.627, allocations: 434.8 kB / 2.943 GB, free: 142.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.31e-07/8.627, allocations: 0 / 2.943 GB, free: 142.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00187/8.629, allocations: 383 kB / 2.943 GB, free: 142 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007767/8.636, allocations: 2.542 MB / 2.945 GB, free: 139.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00435/8.641, allocations: 1.035 MB / 2.946 GB, free: 138.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/8.641, allocations: 0 / 2.946 GB, free: 138.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/8.643, allocations: 0.5704 MB / 2.947 GB, free: 138 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/8.645, allocations: 173.2 kB / 2.947 GB, free: 137.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008961/8.654, allocations: 3.04 MB / 2.95 GB, free: 134.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005635/8.655, allocations: 1.015 MB / 2.951 GB, free: 133.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002058/8.657, allocations: 273 kB / 2.951 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/8.658, allocations: 343.3 kB / 2.952 GB, free: 133.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.563e-06/8.658, allocations: 4 kB / 2.952 GB, free: 133.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/8.758, allocations: 28.09 MB / 2.979 GB, free: 105.2 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/8.759, allocations: 303.4 kB / 2.979 GB, free: 104.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.312/13.07, allocations: 0 / 2.979 GB, free: 104.9 MB / 0.823 GB