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 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.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 loadModel(Buildings): time 4.233/4.233, allocations: 433.2 MB / 440.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.109e-05, allocations: 3.312 kB / 0.5325 GB, free: 12.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2479, allocations: 98.74 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.219/7.467, allocations: 2.185 GB / 2.814 GB, free: 150 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/7.468, allocations: 95.31 kB / 2.814 GB, free: 150 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2525/7.72, allocations: 61.22 MB / 2.874 GB, free: 98.57 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.286e-06/7.72, allocations: 0 / 2.874 GB, free: 98.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001157/7.72, allocations: 20 kB / 2.874 GB, free: 98.55 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.003987/7.724, allocations: 1.127 MB / 2.875 GB, free: 97.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/7.724, allocations: 8.031 kB / 2.875 GB, free: 97.42 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/7.731, allocations: 391.3 kB / 2.875 GB, free: 97.04 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002357/7.733, allocations: 0.557 MB / 2.876 GB, free: 96.55 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/7.733, allocations: 28 kB / 2.876 GB, free: 96.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/7.734, allocations: 51.98 kB / 2.876 GB, free: 96.47 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004564/7.738, allocations: 1.111 MB / 2.877 GB, free: 95.63 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/7.742, allocations: 0.8135 MB / 2.878 GB, free: 95 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.338e-05/7.742, allocations: 0 / 2.878 GB, free: 95 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/7.743, allocations: 0 / 2.878 GB, free: 95 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-05/7.743, allocations: 27.98 kB / 2.878 GB, free: 94.97 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/7.754, allocations: 2.495 MB / 2.88 GB, free: 92.94 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004498/7.758, allocations: 0.8042 MB / 2.881 GB, free: 92.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009552/7.759, allocations: 281.2 kB / 2.881 GB, free: 92.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00128/7.761, allocations: 471.4 kB / 2.882 GB, free: 91.69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001532/7.762, allocations: 459.1 kB / 2.882 GB, free: 91.34 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 5.5e-06/7.762, allocations: 0 / 2.882 GB, free: 91.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.01282/7.775, allocations: 1.112 MB / 2.883 GB, free: 90.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/7.775, allocations: 214.4 kB / 2.884 GB, free: 90.04 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/7.777, allocations: 457.4 kB / 2.884 GB, free: 89.59 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002727/7.777, allocations: 25.7 kB / 2.884 GB, free: 89.56 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/7.777, allocations: 376.2 kB / 2.884 GB, free: 89.18 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/7.778, allocations: 228.5 kB / 2.885 GB, free: 88.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/7.778, allocations: 3.938 kB / 2.885 GB, free: 88.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001593/7.778, allocations: 366.8 kB / 2.885 GB, free: 88.59 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009649/7.779, allocations: 233.5 kB / 2.885 GB, free: 88.36 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009619/7.78, allocations: 346.6 kB / 2.886 GB, free: 87.99 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009135/7.789, allocations: 0.6406 MB / 2.886 GB, free: 87.35 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/7.789, allocations: 4 kB / 2.886 GB, free: 87.35 MB / 0.823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.008825/7.798, allocations: 1.172 MB / 2.887 GB, free: 86.17 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.132e-05/7.798, allocations: 67.42 kB / 2.887 GB, free: 86.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/7.798, allocations: 0 / 2.887 GB, free: 86.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009342/7.799, allocations: 80.78 kB / 2.887 GB, free: 86.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/7.801, allocations: 171.7 kB / 2.888 GB, free: 85.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/7.803, allocations: 1.453 MB / 2.889 GB, free: 84.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/7.805, allocations: 87.56 kB / 2.889 GB, free: 84.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/7.805, allocations: 31.97 kB / 2.889 GB, free: 84.14 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 () * 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.0002854/7.805, allocations: 112.9 kB / 2.889 GB, free: 84.02 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008193/7.813, allocations: 1.113 MB / 2.89 GB, free: 82.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/7.814, allocations: 63.25 kB / 2.89 GB, free: 82.84 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009155/7.823, allocations: 1.371 MB / 2.892 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/7.823, allocations: 8 kB / 2.892 GB, free: 81.45 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/7.823, allocations: 8.016 kB / 2.892 GB, free: 81.44 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/7.823, allocations: 3.984 kB / 2.892 GB, free: 81.43 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/7.824, allocations: 0.7717 MB / 2.893 GB, free: 80.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/7.824, allocations: 3.938 kB / 2.893 GB, free: 80.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001561/7.826, allocations: 171.8 kB / 2.893 GB, free: 80.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008085/7.827, allocations: 88.77 kB / 2.893 GB, free: 80.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/7.827, allocations: 19.94 kB / 2.893 GB, free: 80.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002123/7.829, allocations: 1.481 MB / 2.894 GB, free: 78.75 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/7.829, allocations: 0 / 2.894 GB, free: 78.75 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007833/7.837, allocations: 1.191 MB / 2.895 GB, free: 77.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/7.837, allocations: 287.9 kB / 2.896 GB, free: 77.23 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/7.838, allocations: 4 kB / 2.896 GB, free: 77.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/7.839, allocations: 75.92 kB / 2.896 GB, free: 77.15 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/7.839, allocations: 52.7 kB / 2.896 GB, free: 77.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/7.839, allocations: 35.97 kB / 2.896 GB, free: 77.07 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005497/7.84, allocations: 370.9 kB / 2.896 GB, free: 76.71 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.71e-07/7.84, allocations: 0 / 2.896 GB, free: 76.71 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001389/7.841, allocations: 354.9 kB / 2.897 GB, free: 76.36 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) * 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.01051/7.852, allocations: 2.731 MB / 2.899 GB, free: 73.64 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002184/7.854, allocations: 0.8453 MB / 2.9 GB, free: 72.76 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/7.854, allocations: 4 kB / 2.9 GB, free: 72.76 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/7.855, allocations: 480.6 kB / 2.9 GB, free: 72.28 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/7.857, allocations: 156.5 kB / 2.901 GB, free: 72.13 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007857/7.864, allocations: 1.49 MB / 2.902 GB, free: 70.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/7.865, allocations: 1.019 MB / 2.903 GB, free: 69.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003348/7.869, allocations: 264.7 kB / 2.903 GB, free: 69.29 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/7.87, allocations: 343.3 kB / 2.904 GB, free: 68.96 MB / 0.823 GB Notification: Performance of SimCode: time 1.212e-06/7.87, allocations: 0 / 2.904 GB, free: 68.96 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08958/7.96, allocations: 22.34 MB / 2.925 GB, free: 46.73 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/7.96, allocations: 218.2 kB / 2.926 GB, free: 46.45 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.246/12.21, allocations: 4.031 kB / 2.926 GB, free: 46.44 MB / 0.823 GB