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.RelativeAirMass.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.RelativeAirMass,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_RelativeAirMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.299/4.299, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.095e-05/2.105e-05, allocations: 1.875 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 98.74 MB / 0.6289 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.284/7.537, allocations: 2.185 GB / 2.814 GB, free: 150.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/7.537, allocations: 95.22 kB / 2.814 GB, free: 150.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2409/7.778, allocations: 59.93 MB / 2.872 GB, free: 100.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.254e-06/7.778, allocations: 0 / 2.872 GB, free: 100.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.683e-05/7.778, allocations: 23.94 kB / 2.872 GB, free: 100.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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002535/7.781, allocations: 1.08 MB / 2.873 GB, free: 99.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/7.781, allocations: 11.97 kB / 2.873 GB, free: 99.35 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/7.785, allocations: 322 kB / 2.874 GB, free: 99.04 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/7.786, allocations: 0.5435 MB / 2.874 GB, free: 98.55 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/7.786, allocations: 31.94 kB / 2.874 GB, free: 98.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/7.787, allocations: 47.98 kB / 2.874 GB, free: 98.48 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002581/7.789, allocations: 1.07 MB / 2.875 GB, free: 97.66 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/7.791, allocations: 0.7452 MB / 2.876 GB, free: 97.08 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/7.791, allocations: 0 / 2.876 GB, free: 97.08 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/7.791, allocations: 4 kB / 2.876 GB, free: 97.08 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/7.791, allocations: 20 kB / 2.876 GB, free: 97.06 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006499/7.798, allocations: 2.318 MB / 2.878 GB, free: 95.19 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/7.801, allocations: 0.8078 MB / 2.879 GB, free: 94.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/7.802, allocations: 275.4 kB / 2.879 GB, free: 94.49 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008632/7.803, allocations: 468 kB / 2.88 GB, free: 93.95 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009771/7.804, allocations: 459.6 kB / 2.88 GB, free: 93.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 2.986e-06/7.804, allocations: 0 / 2.88 GB, free: 93.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.008397/7.812, allocations: 1.093 MB / 2.881 GB, free: 92.67 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/7.812, allocations: 218.4 kB / 2.882 GB, free: 92.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008327/7.813, allocations: 461.3 kB / 2.882 GB, free: 91.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/7.813, allocations: 25.7 kB / 2.882 GB, free: 91.91 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/7.813, allocations: 344.4 kB / 2.882 GB, free: 91.57 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002468/7.814, allocations: 232.5 kB / 2.883 GB, free: 91.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/7.814, allocations: 0 / 2.883 GB, free: 91.34 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001111/7.814, allocations: 362.7 kB / 2.883 GB, free: 90.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/7.815, allocations: 237.5 kB / 2.883 GB, free: 90.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006535/7.815, allocations: 338.6 kB / 2.883 GB, free: 90.39 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006265/7.821, allocations: 0.6484 MB / 2.884 GB, free: 89.74 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/7.822, allocations: 0 / 2.884 GB, free: 89.74 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.008374/7.83, allocations: 1.172 MB / 2.885 GB, free: 88.56 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.391e-05/7.83, allocations: 59.41 kB / 2.885 GB, free: 88.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/7.83, allocations: 0 / 2.885 GB, free: 88.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009449/7.831, allocations: 84.83 kB / 2.885 GB, free: 88.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/7.833, allocations: 163.7 kB / 2.886 GB, free: 88.24 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00237/7.835, allocations: 1.465 MB / 2.887 GB, free: 86.65 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/7.836, allocations: 75.48 kB / 2.887 GB, free: 86.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/7.837, allocations: 35.97 kB / 2.887 GB, free: 86.54 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.0002862/7.837, allocations: 116.9 kB / 2.887 GB, free: 86.42 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008387/7.845, allocations: 1.101 MB / 2.888 GB, free: 85.31 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/7.846, allocations: 71.16 kB / 2.888 GB, free: 85.24 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009302/7.855, allocations: 1.347 MB / 2.89 GB, free: 83.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/7.855, allocations: 8 kB / 2.89 GB, free: 83.87 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/7.855, allocations: 0 / 2.89 GB, free: 83.87 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/7.855, allocations: 3.984 kB / 2.89 GB, free: 83.86 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/7.857, allocations: 0.771 MB / 2.89 GB, free: 83.05 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/7.857, allocations: 4 kB / 2.89 GB, free: 83.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/7.858, allocations: 155.8 kB / 2.891 GB, free: 82.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/7.859, allocations: 84.77 kB / 2.891 GB, free: 82.81 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/7.859, allocations: 15.98 kB / 2.891 GB, free: 82.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/7.861, allocations: 1.496 MB / 2.892 GB, free: 81.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/7.862, allocations: 3.953 kB / 2.892 GB, free: 81.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00851/7.87, allocations: 1.184 MB / 2.893 GB, free: 79.97 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006917/7.871, allocations: 291.9 kB / 2.894 GB, free: 79.67 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/7.871, allocations: 3.953 kB / 2.894 GB, free: 79.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/7.872, allocations: 63.92 kB / 2.894 GB, free: 79.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/7.872, allocations: 56.7 kB / 2.894 GB, free: 79.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/7.873, allocations: 39.97 kB / 2.894 GB, free: 79.51 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006172/7.873, allocations: 362.9 kB / 2.894 GB, free: 79.16 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/7.873, allocations: 0 / 2.894 GB, free: 79.16 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001539/7.875, allocations: 339 kB / 2.894 GB, free: 78.82 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 (81): * Single equations (assignments): 78 * 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.01107/7.886, allocations: 2.715 MB / 2.897 GB, free: 76.12 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002342/7.888, allocations: 0.8414 MB / 2.898 GB, free: 75.25 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/7.888, allocations: 0 / 2.898 GB, free: 75.25 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/7.89, allocations: 480.5 kB / 2.898 GB, free: 74.77 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/7.891, allocations: 159.9 kB / 2.898 GB, free: 74.61 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007066/7.899, allocations: 1.441 MB / 2.9 GB, free: 73.13 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007115/7.899, allocations: 0.9952 MB / 2.901 GB, free: 72.11 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00193/7.901, allocations: 260.7 kB / 2.901 GB, free: 71.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/7.902, allocations: 311.2 kB / 2.901 GB, free: 71.55 MB / 0.823 GB Notification: Performance of SimCode: time 1.172e-06/7.902, allocations: 0 / 2.901 GB, free: 71.55 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/8.01, allocations: 22.14 MB / 2.923 GB, free: 49.54 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003096/8.011, allocations: 224.9 kB / 2.923 GB, free: 49.24 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.014/12.03, allocations: 7.875 kB / 2.923 GB, free: 49.23 MB / 0.823 GB