Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.116/4.116, allocations: 433.2 MB / 440.7 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.364e-05/2.378e-05, allocations: 3.812 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.228, allocations: 98.74 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.856/7.084, allocations: 2.184 GB / 2.813 GB, free: 151.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/7.084, allocations: 91.23 kB / 2.813 GB, free: 151.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2046/7.289, allocations: 55.38 MB / 2.868 GB, free: 105.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.304e-06/7.289, allocations: 0 / 2.868 GB, free: 105.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.683e-05/7.289, allocations: 20 kB / 2.868 GB, free: 105.1 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002453/7.292, allocations: 1.09 MB / 2.869 GB, free: 104 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/7.292, allocations: 8.031 kB / 2.869 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/7.295, allocations: 298.5 kB / 2.869 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/7.297, allocations: 0.5398 MB / 2.869 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.803e-05/7.297, allocations: 27.95 kB / 2.869 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/7.297, allocations: 47.88 kB / 2.87 GB, free: 103.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002415/7.299, allocations: 1.052 MB / 2.871 GB, free: 102.3 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/7.301, allocations: 0.7364 MB / 2.871 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/7.301, allocations: 0 / 2.871 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/7.301, allocations: 7.984 kB / 2.871 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.992e-05/7.301, allocations: 20 kB / 2.871 GB, free: 101.7 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006258/7.308, allocations: 2.295 MB / 2.874 GB, free: 99.85 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002441/7.31, allocations: 0.8004 MB / 2.874 GB, free: 99.29 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008358/7.311, allocations: 283.3 kB / 2.875 GB, free: 99.11 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/7.312, allocations: 473.2 kB / 2.875 GB, free: 98.56 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001344/7.314, allocations: 435.8 kB / 2.875 GB, free: 98.23 MB / 0.823 GB Notification: Performance of pre-optimization done (n=73): time 5.381e-06/7.314, allocations: 0 / 2.875 GB, free: 98.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=73): time 0.01096/7.325, allocations: 1.088 MB / 2.877 GB, free: 97.34 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.631e-05/7.325, allocations: 218.3 kB / 2.877 GB, free: 97.08 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/7.326, allocations: 454.3 kB / 2.877 GB, free: 96.74 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/7.326, allocations: 27.58 kB / 2.877 GB, free: 96.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/7.327, allocations: 342.5 kB / 2.877 GB, free: 96.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/7.327, allocations: 231.1 kB / 2.878 GB, free: 96.25 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/7.327, allocations: 0 / 2.878 GB, free: 96.25 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001534/7.327, allocations: 368.2 kB / 2.878 GB, free: 95.91 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/7.328, allocations: 229.5 kB / 2.878 GB, free: 95.76 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008941/7.329, allocations: 318.7 kB / 2.879 GB, free: 95.42 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008294/7.337, allocations: 0.6444 MB / 2.879 GB, free: 94.78 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/7.337, allocations: 0 / 2.879 GB, free: 94.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.009046/7.346, allocations: 1.148 MB / 2.88 GB, free: 93.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/7.346, allocations: 63.39 kB / 2.88 GB, free: 93.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/7.347, allocations: 0 / 2.88 GB, free: 93.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009495/7.347, allocations: 80.84 kB / 2.88 GB, free: 93.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/7.349, allocations: 159.8 kB / 2.881 GB, free: 93.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/7.351, allocations: 1.446 MB / 2.882 GB, free: 91.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/7.353, allocations: 75.5 kB / 2.882 GB, free: 91.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/7.353, allocations: 35.97 kB / 2.882 GB, free: 91.62 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.0002623/7.353, allocations: 112.9 kB / 2.882 GB, free: 91.51 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008196/7.361, allocations: 1.082 MB / 2.883 GB, free: 90.42 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/7.362, allocations: 75.11 kB / 2.883 GB, free: 90.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009012/7.371, allocations: 1.343 MB / 2.885 GB, free: 88.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/7.371, allocations: 12 kB / 2.885 GB, free: 88.97 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/7.371, allocations: 0 / 2.885 GB, free: 88.97 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/7.371, allocations: 3.984 kB / 2.885 GB, free: 88.97 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/7.381, allocations: 2.132 MB / 2.887 GB, free: 86.79 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/7.381, allocations: 3.938 kB / 2.887 GB, free: 86.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/7.382, allocations: 155.8 kB / 2.887 GB, free: 86.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/7.383, allocations: 96.69 kB / 2.887 GB, free: 86.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/7.383, allocations: 15.98 kB / 2.887 GB, free: 86.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/7.386, allocations: 1.473 MB / 2.888 GB, free: 84.93 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/7.386, allocations: 0 / 2.888 GB, free: 84.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008342/7.394, allocations: 1.24 MB / 2.89 GB, free: 83.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/7.395, allocations: 283.9 kB / 2.89 GB, free: 83.37 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/7.395, allocations: 3.984 kB / 2.89 GB, free: 83.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/7.396, allocations: 59.94 kB / 2.89 GB, free: 83.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/7.397, allocations: 64.62 kB / 2.89 GB, free: 83.24 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/7.397, allocations: 39.98 kB / 2.89 GB, free: 83.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006146/7.397, allocations: 366.9 kB / 2.89 GB, free: 82.85 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.81e-07/7.397, allocations: 0 / 2.89 GB, free: 82.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001589/7.399, allocations: 339 kB / 2.891 GB, free: 82.52 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.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * 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.01085/7.41, allocations: 2.78 MB / 2.894 GB, free: 79.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002119/7.412, allocations: 0.818 MB / 2.894 GB, free: 78.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/7.412, allocations: 4.125 kB / 2.894 GB, free: 78.89 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/7.413, allocations: 472.6 kB / 2.895 GB, free: 78.43 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/7.415, allocations: 168.3 kB / 2.895 GB, free: 78.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006034/7.421, allocations: 1.435 MB / 2.896 GB, free: 76.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/7.421, allocations: 0.9992 MB / 2.897 GB, free: 75.76 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001766/7.423, allocations: 252.7 kB / 2.898 GB, free: 75.51 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007976/7.424, allocations: 315.3 kB / 2.898 GB, free: 75.21 MB / 0.823 GB Notification: Performance of SimCode: time 1.062e-06/7.424, allocations: 4 kB / 2.898 GB, free: 75.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.154/7.578, allocations: 21.83 MB / 2.919 GB, free: 53.49 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/7.578, allocations: 214.2 kB / 2.919 GB, free: 53.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.999/11.58, allocations: 0 / 2.919 GB, free: 53.2 MB / 0.823 GB