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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.048/4.048, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.593e-05, allocations: 4.391 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 98.73 MB / 0.6347 GB, free: 1.938 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.446/7.682, allocations: 2.185 GB / 2.82 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/7.682, allocations: 91.84 kB / 2.82 GB, free: 113.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.233/7.915, allocations: 60.75 MB / 2.88 GB, free: 62.07 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.755e-06/7.915, allocations: 0 / 2.88 GB, free: 62.07 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.251e-05/7.915, allocations: 27.94 kB / 2.88 GB, free: 62.04 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.002402/7.918, allocations: 1.077 MB / 2.881 GB, free: 60.96 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/7.918, allocations: 8.031 kB / 2.881 GB, free: 60.96 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002394/7.918, allocations: 128 kB / 2.881 GB, free: 60.87 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/7.922, allocations: 320.3 kB / 2.881 GB, free: 60.56 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/7.923, allocations: 0.544 MB / 2.882 GB, free: 60.08 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/7.923, allocations: 62.14 kB / 2.882 GB, free: 60.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/7.923, allocations: 75.75 kB / 2.882 GB, free: 59.99 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/7.926, allocations: 0.8586 MB / 2.883 GB, free: 59.36 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/7.926, allocations: 0 / 2.883 GB, free: 59.36 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/7.926, allocations: 36.5 kB / 2.883 GB, free: 59.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/7.926, allocations: 16 kB / 2.883 GB, free: 59.33 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/7.928, allocations: 1.118 MB / 2.884 GB, free: 58.46 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006638/7.935, allocations: 2.478 MB / 2.886 GB, free: 56.48 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/7.938, allocations: 0.8434 MB / 2.887 GB, free: 55.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/7.939, allocations: 294.2 kB / 2.887 GB, free: 55.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008799/7.94, allocations: 474.3 kB / 2.888 GB, free: 55.11 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/7.941, allocations: 478.1 kB / 2.888 GB, free: 54.62 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 3.617e-06/7.941, allocations: 0 / 2.888 GB, free: 54.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.002821/7.944, allocations: 0.7552 MB / 2.889 GB, free: 53.86 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/7.944, allocations: 222.4 kB / 2.889 GB, free: 53.59 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009195/7.945, allocations: 0.5086 MB / 2.89 GB, free: 53.08 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/7.945, allocations: 41.7 kB / 2.89 GB, free: 53.03 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/7.945, allocations: 344.5 kB / 2.89 GB, free: 52.69 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/7.946, allocations: 236.5 kB / 2.89 GB, free: 52.45 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/7.946, allocations: 12 kB / 2.89 GB, free: 52.44 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001098/7.946, allocations: 366.8 kB / 2.891 GB, free: 52.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/7.946, allocations: 253.5 kB / 2.891 GB, free: 51.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007563/7.947, allocations: 348.2 kB / 2.891 GB, free: 51.46 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007654/7.948, allocations: 345.4 kB / 2.891 GB, free: 51.11 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/7.948, allocations: 0 / 2.891 GB, free: 51.11 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002793/7.951, allocations: 0.8863 MB / 2.892 GB, free: 50.2 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.694e-05/7.951, allocations: 55.41 kB / 2.892 GB, free: 50.13 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.228e-06/7.951, allocations: 0 / 2.892 GB, free: 50.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009731/7.952, allocations: 92.78 kB / 2.892 GB, free: 50.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/7.953, allocations: 159.8 kB / 2.893 GB, free: 49.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/7.956, allocations: 1.533 MB / 2.894 GB, free: 48.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/7.958, allocations: 95.38 kB / 2.894 GB, free: 48.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/7.958, allocations: 31.98 kB / 2.894 GB, free: 48.09 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.0002948/7.958, allocations: 140.9 kB / 2.894 GB, free: 47.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/7.958, allocations: 71.16 kB / 2.894 GB, free: 47.87 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/7.962, allocations: 1.046 MB / 2.895 GB, free: 46.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/7.962, allocations: 8 kB / 2.895 GB, free: 46.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/7.962, allocations: 0 / 2.895 GB, free: 46.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/7.962, allocations: 3.984 kB / 2.895 GB, free: 46.79 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/7.964, allocations: 0.8721 MB / 2.896 GB, free: 45.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/7.964, allocations: 4 kB / 2.896 GB, free: 45.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/7.966, allocations: 155.8 kB / 2.896 GB, free: 45.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008978/7.967, allocations: 84.77 kB / 2.897 GB, free: 45.63 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/7.967, allocations: 23.98 kB / 2.897 GB, free: 45.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002312/7.969, allocations: 1.556 MB / 2.898 GB, free: 43.91 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/7.969, allocations: 3.984 kB / 2.898 GB, free: 43.91 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/7.972, allocations: 0.8515 MB / 2.899 GB, free: 43.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000643/7.973, allocations: 295.8 kB / 2.899 GB, free: 42.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/7.973, allocations: 16 kB / 2.899 GB, free: 42.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/7.974, allocations: 87.94 kB / 2.899 GB, free: 42.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/7.974, allocations: 56.7 kB / 2.899 GB, free: 42.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/7.974, allocations: 27.98 kB / 2.899 GB, free: 42.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0007193/7.975, allocations: 425.5 kB / 2.9 GB, free: 42.14 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.4e-07/7.975, allocations: 0 / 2.9 GB, free: 42.14 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001581/7.977, allocations: 363.1 kB / 2.9 GB, free: 41.78 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.00537/7.982, allocations: 2.348 MB / 2.902 GB, free: 39.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002378/7.985, allocations: 0.8843 MB / 2.903 GB, free: 38.61 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/7.985, allocations: 0 / 2.903 GB, free: 38.61 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/7.986, allocations: 0.4951 MB / 2.904 GB, free: 38.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/7.987, allocations: 171 kB / 2.904 GB, free: 37.94 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005873/7.993, allocations: 1.517 MB / 2.905 GB, free: 36.38 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/7.994, allocations: 0.9913 MB / 2.906 GB, free: 35.36 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001858/7.996, allocations: 268.9 kB / 2.907 GB, free: 35.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/7.996, allocations: 307.3 kB / 2.907 GB, free: 34.79 MB / 0.823 GB Notification: Performance of SimCode: time 1.413e-06/7.996, allocations: 0 / 2.907 GB, free: 34.79 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09293/8.089, allocations: 29.85 MB / 2.936 GB, free: 5.199 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/8.09, allocations: 263.3 kB / 2.936 GB, free: 4.867 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.26/12.35, allocations: 0 / 2.936 GB, free: 4.867 MB / 0.823 GB