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.DiffuseIsotropic.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.DiffuseIsotropic,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.499/4.499, allocations: 433.2 MB / 440.7 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.731e-05, allocations: 3.938 kB / 0.5325 GB, free: 1.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6622/0.6623, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.414/8.077, allocations: 2.185 GB / 2.814 GB, free: 189.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003507/8.077, allocations: 93.88 kB / 2.814 GB, free: 189.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2134/8.291, allocations: 54.83 MB / 2.867 GB, free: 143.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.715e-06/8.291, allocations: 0 / 2.867 GB, free: 143.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.566e-05/8.291, allocations: 23.94 kB / 2.867 GB, free: 143.6 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.002802/8.294, allocations: 1.075 MB / 2.868 GB, free: 142.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.452e-05/8.294, allocations: 15.95 kB / 2.868 GB, free: 142.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003309/8.297, allocations: 297 kB / 2.869 GB, free: 142.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/8.299, allocations: 0.5394 MB / 2.869 GB, free: 141.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/8.299, allocations: 35.89 kB / 2.869 GB, free: 141.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/8.299, allocations: 44 kB / 2.869 GB, free: 141.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004747/8.304, allocations: 1.043 MB / 2.87 GB, free: 140.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004399/8.308, allocations: 0.723 MB / 2.871 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.383e-05/8.308, allocations: 7.938 kB / 2.871 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/8.309, allocations: 4 kB / 2.871 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/8.309, allocations: 16 kB / 2.871 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009122/8.318, allocations: 2.262 MB / 2.873 GB, free: 138.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/8.32, allocations: 0.7042 MB / 2.874 GB, free: 138 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005862/8.32, allocations: 262.1 kB / 2.874 GB, free: 137.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009352/8.321, allocations: 474.1 kB / 2.875 GB, free: 137.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/8.322, allocations: 428.3 kB / 2.875 GB, free: 136.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=71): time 4.238e-06/8.322, allocations: 0 / 2.875 GB, free: 136.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=71): time 0.008348/8.331, allocations: 1.07 MB / 2.876 GB, free: 135.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.245e-05/8.331, allocations: 214.4 kB / 2.876 GB, free: 135.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/8.332, allocations: 461.3 kB / 2.877 GB, free: 134.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002635/8.332, allocations: 29.7 kB / 2.877 GB, free: 134.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/8.332, allocations: 336.3 kB / 2.877 GB, free: 134.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/8.333, allocations: 224.6 kB / 2.877 GB, free: 134.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/8.333, allocations: 4 kB / 2.877 GB, free: 134.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001225/8.333, allocations: 374.7 kB / 2.878 GB, free: 134 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/8.333, allocations: 221.5 kB / 2.878 GB, free: 133.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006211/8.334, allocations: 314.7 kB / 2.878 GB, free: 133.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006246/8.34, allocations: 0.6366 MB / 2.879 GB, free: 132.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/8.34, allocations: 4 kB / 2.879 GB, free: 132.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00837/8.349, allocations: 1.148 MB / 2.88 GB, free: 131.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.414e-05/8.349, allocations: 59.41 kB / 2.88 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/8.349, allocations: 3.984 kB / 2.88 GB, free: 131.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009566/8.35, allocations: 84.83 kB / 2.88 GB, free: 131.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/8.351, allocations: 151.8 kB / 2.88 GB, free: 131.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/8.354, allocations: 1.457 MB / 2.882 GB, free: 129.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/8.355, allocations: 71.58 kB / 2.882 GB, free: 129.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/8.356, allocations: 31.94 kB / 2.882 GB, free: 129.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * 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.0002984/8.356, allocations: 120.8 kB / 2.882 GB, free: 129.5 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008194/8.364, allocations: 1.074 MB / 2.883 GB, free: 128.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/8.364, allocations: 67.2 kB / 2.883 GB, free: 128.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00908/8.374, allocations: 1.296 MB / 2.884 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/8.374, allocations: 8 kB / 2.884 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/8.374, allocations: 0 / 2.884 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.903e-05/8.374, allocations: 3.984 kB / 2.884 GB, free: 127 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/8.375, allocations: 0.7286 MB / 2.885 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/8.375, allocations: 7.938 kB / 2.885 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001484/8.377, allocations: 147.8 kB / 2.885 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008558/8.378, allocations: 80.78 kB / 2.885 GB, free: 126 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/8.378, allocations: 19.97 kB / 2.885 GB, free: 126 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/8.38, allocations: 1.477 MB / 2.887 GB, free: 124.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/8.38, allocations: 0 / 2.887 GB, free: 124.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008275/8.389, allocations: 1.164 MB / 2.888 GB, free: 123.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000795/8.39, allocations: 276 kB / 2.888 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/8.39, allocations: 8 kB / 2.888 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/8.391, allocations: 63.88 kB / 2.888 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/8.391, allocations: 60.64 kB / 2.888 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/8.391, allocations: 31.98 kB / 2.888 GB, free: 122.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006663/8.392, allocations: 362.9 kB / 2.888 GB, free: 122.4 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.51e-07/8.392, allocations: 3.938 kB / 2.888 GB, free: 122.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001613/8.394, allocations: 335.1 kB / 2.889 GB, free: 122.1 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 (78): * Single equations (assignments): 75 * 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.01094/8.405, allocations: 2.685 MB / 2.891 GB, free: 119.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002165/8.407, allocations: 0.8024 MB / 2.892 GB, free: 118.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/8.407, allocations: 4 kB / 2.892 GB, free: 118.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/8.408, allocations: 452.6 kB / 2.893 GB, free: 118.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/8.41, allocations: 160.2 kB / 2.893 GB, free: 118 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00608/8.416, allocations: 1.41 MB / 2.894 GB, free: 116.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/8.417, allocations: 0.9873 MB / 2.895 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001865/8.418, allocations: 256.7 kB / 2.895 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008667/8.419, allocations: 303.3 kB / 2.896 GB, free: 114.9 MB / 0.823 GB Notification: Performance of SimCode: time 1.363e-06/8.419, allocations: 0 / 2.896 GB, free: 114.9 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08768/8.507, allocations: 21.5 MB / 2.917 GB, free: 93.56 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/8.507, allocations: 216.7 kB / 2.917 GB, free: 93.28 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/12.43, allocations: 0 / 2.917 GB, free: 93.28 MB / 0.823 GB