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.SkyClearness.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.SkyClearness,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.336/4.336, allocations: 433.2 MB / 440.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.949e-05, allocations: 4 kB / 0.5325 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.681, allocations: 98.72 MB / 0.6289 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.409/8.09, allocations: 2.185 GB / 2.814 GB, free: 189.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/8.09, allocations: 88.2 kB / 2.814 GB, free: 189.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3196/8.41, allocations: 63.77 MB / 2.876 GB, free: 135.4 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.394e-06/8.41, allocations: 4 kB / 2.876 GB, free: 135.4 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001253/8.41, allocations: 27.94 kB / 2.876 GB, free: 135.4 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003669/8.414, allocations: 1.12 MB / 2.877 GB, free: 134.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.553e-05/8.414, allocations: 8.031 kB / 2.877 GB, free: 134.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004889/8.419, allocations: 329.2 kB / 2.878 GB, free: 133.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/8.421, allocations: 0.5675 MB / 2.878 GB, free: 133.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/8.421, allocations: 31.95 kB / 2.878 GB, free: 133.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000346/8.422, allocations: 48 kB / 2.878 GB, free: 133.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005135/8.427, allocations: 1.102 MB / 2.879 GB, free: 132.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/8.43, allocations: 0.7929 MB / 2.88 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/8.43, allocations: 0 / 2.88 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/8.431, allocations: 4 kB / 2.88 GB, free: 131.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/8.431, allocations: 24 kB / 2.88 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01009/8.441, allocations: 2.444 MB / 2.883 GB, free: 129.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/8.444, allocations: 0.7281 MB / 2.883 GB, free: 128.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009651/8.445, allocations: 267.2 kB / 2.884 GB, free: 128.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/8.446, allocations: 486.2 kB / 2.884 GB, free: 127.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/8.448, allocations: 448.5 kB / 2.885 GB, free: 127.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 5.541e-06/8.448, allocations: 0 / 2.885 GB, free: 127.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.0184/8.466, allocations: 1.555 MB / 2.886 GB, free: 125.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/8.466, allocations: 218.4 kB / 2.886 GB, free: 125.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/8.468, allocations: 462 kB / 2.887 GB, free: 125.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003194/8.468, allocations: 25.7 kB / 2.887 GB, free: 125.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/8.468, allocations: 372.1 kB / 2.887 GB, free: 124.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/8.469, allocations: 232.6 kB / 2.887 GB, free: 124.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/8.469, allocations: 4 kB / 2.887 GB, free: 124.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001638/8.469, allocations: 366.7 kB / 2.888 GB, free: 124.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008913/8.47, allocations: 233.5 kB / 2.888 GB, free: 123.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/8.471, allocations: 330.6 kB / 2.888 GB, free: 123.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/8.487, allocations: 1.113 MB / 2.889 GB, free: 122.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/8.487, allocations: 0 / 2.889 GB, free: 122.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.01907/8.506, allocations: 1.624 MB / 2.891 GB, free: 120.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 7.594e-05/8.506, allocations: 63.41 kB / 2.891 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/8.506, allocations: 0 / 2.891 GB, free: 120.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/8.507, allocations: 84.77 kB / 2.891 GB, free: 120.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/8.51, allocations: 167.8 kB / 2.891 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/8.513, allocations: 1.449 MB / 2.893 GB, free: 118.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001979/8.515, allocations: 71.55 kB / 2.893 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002347/8.516, allocations: 35.97 kB / 2.893 GB, free: 118.8 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 (77): * Single equations (assignments): 74 * 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.000398/8.516, allocations: 120.8 kB / 2.893 GB, free: 118.7 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01875/8.535, allocations: 1.558 MB / 2.894 GB, free: 117.1 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/8.535, allocations: 67.23 kB / 2.894 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02891/8.564, allocations: 1.815 MB / 2.896 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/8.564, allocations: 8 kB / 2.896 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/8.564, allocations: 0 / 2.896 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/8.565, allocations: 3.984 kB / 2.896 GB, free: 115.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/8.568, allocations: 0.7594 MB / 2.897 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/8.568, allocations: 4 kB / 2.897 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002429/8.57, allocations: 163.8 kB / 2.897 GB, free: 114.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/8.572, allocations: 76.78 kB / 2.897 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003239/8.572, allocations: 19.97 kB / 2.897 GB, free: 114.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003209/8.575, allocations: 1.484 MB / 2.899 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/8.575, allocations: 3.953 kB / 2.899 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02299/8.598, allocations: 1.644 MB / 2.9 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/8.599, allocations: 283.9 kB / 2.9 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/8.6, allocations: 11.95 kB / 2.9 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/8.602, allocations: 63.92 kB / 2.901 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/8.602, allocations: 52.7 kB / 2.901 GB, free: 110.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/8.602, allocations: 35.97 kB / 2.901 GB, free: 110.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000928/8.603, allocations: 370.9 kB / 2.901 GB, free: 110 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.51e-07/8.603, allocations: 0 / 2.901 GB, free: 110 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002406/8.605, allocations: 354.9 kB / 2.901 GB, free: 109.7 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 (80): * Single equations (assignments): 77 * 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.02288/8.628, allocations: 3.174 MB / 2.904 GB, free: 106.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003216/8.632, allocations: 0.8336 MB / 2.905 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/8.632, allocations: 0 / 2.905 GB, free: 105.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001755/8.634, allocations: 468.5 kB / 2.906 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/8.636, allocations: 160.8 kB / 2.906 GB, free: 105 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009494/8.645, allocations: 1.49 MB / 2.907 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/8.646, allocations: 1.019 MB / 2.908 GB, free: 102.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00296/8.649, allocations: 252.8 kB / 2.909 GB, free: 102.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/8.651, allocations: 331.3 kB / 2.909 GB, free: 101.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.653e-06/8.651, allocations: 4 kB / 2.909 GB, free: 101.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2115/8.862, allocations: 22.02 MB / 2.93 GB, free: 79.98 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/8.863, allocations: 213.3 kB / 2.931 GB, free: 79.69 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.811/12.67, allocations: 0 / 2.931 GB, free: 79.69 MB / 0.823 GB