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.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.088/4.088, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.311e-05/2.323e-05, allocations: 2.438 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2504, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.233/7.483, allocations: 2.184 GB / 2.813 GB, free: 151.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004515/7.484, allocations: 103.4 kB / 2.813 GB, free: 151.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2128/7.696, allocations: 54.69 MB / 2.867 GB, free: 106.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.294e-06/7.696, allocations: 0 / 2.867 GB, free: 106.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.004e-05/7.697, allocations: 20 kB / 2.867 GB, free: 106.3 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002168/7.699, allocations: 1.053 MB / 2.868 GB, free: 105.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/7.699, allocations: 12.03 kB / 2.868 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003074/7.702, allocations: 306.2 kB / 2.868 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/7.703, allocations: 0.5354 MB / 2.869 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.684e-05/7.703, allocations: 27.95 kB / 2.869 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/7.703, allocations: 43.94 kB / 2.869 GB, free: 104.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002317/7.706, allocations: 1.037 MB / 2.87 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/7.708, allocations: 0.7229 MB / 2.87 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/7.708, allocations: 0 / 2.87 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/7.708, allocations: 0 / 2.87 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/7.708, allocations: 20 kB / 2.87 GB, free: 103 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/7.714, allocations: 2.248 MB / 2.873 GB, free: 101.2 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/7.716, allocations: 0.7766 MB / 2.873 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005564/7.716, allocations: 257 kB / 2.874 GB, free: 100.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008934/7.717, allocations: 480 kB / 2.874 GB, free: 99.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009015/7.718, allocations: 418.8 kB / 2.874 GB, free: 99.58 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 3.546e-06/7.718, allocations: 0 / 2.874 GB, free: 99.58 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.008106/7.726, allocations: 1.055 MB / 2.875 GB, free: 98.72 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/7.726, allocations: 222.1 kB / 2.876 GB, free: 98.45 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008001/7.727, allocations: 452.4 kB / 2.876 GB, free: 98.12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/7.727, allocations: 29.7 kB / 2.876 GB, free: 98.08 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003001/7.727, allocations: 334.4 kB / 2.876 GB, free: 97.83 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/7.728, allocations: 218.2 kB / 2.877 GB, free: 97.64 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-05/7.728, allocations: 4 kB / 2.877 GB, free: 97.64 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001161/7.728, allocations: 362.3 kB / 2.877 GB, free: 97.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005453/7.728, allocations: 221 kB / 2.877 GB, free: 97.17 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/7.729, allocations: 320.5 kB / 2.877 GB, free: 96.91 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006148/7.735, allocations: 0.625 MB / 2.878 GB, free: 96.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/7.735, allocations: 7.953 kB / 2.878 GB, free: 96.28 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008982/7.744, allocations: 1.133 MB / 2.879 GB, free: 95.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/7.744, allocations: 60.34 kB / 2.879 GB, free: 95.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/7.745, allocations: 0 / 2.879 GB, free: 95.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009496/7.745, allocations: 84.83 kB / 2.879 GB, free: 94.98 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/7.747, allocations: 151.8 kB / 2.88 GB, free: 94.83 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/7.749, allocations: 1.445 MB / 2.881 GB, free: 93.26 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/7.751, allocations: 71.58 kB / 2.881 GB, free: 93.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/7.751, allocations: 27.98 kB / 2.881 GB, free: 93.16 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 (74): * Single equations (assignments): 71 * 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.0002541/7.751, allocations: 124.8 kB / 2.881 GB, free: 93.03 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007922/7.759, allocations: 1.057 MB / 2.882 GB, free: 91.97 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/7.759, allocations: 67.16 kB / 2.882 GB, free: 91.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/7.774, allocations: 1.304 MB / 2.883 GB, free: 90.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/7.774, allocations: 8 kB / 2.884 GB, free: 90.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/7.774, allocations: 0 / 2.884 GB, free: 90.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.171e-05/7.774, allocations: 7.984 kB / 2.884 GB, free: 90.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/7.789, allocations: 2.074 MB / 2.886 GB, free: 88.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/7.789, allocations: 0 / 2.886 GB, free: 88.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002116/7.792, allocations: 151.8 kB / 2.886 GB, free: 88.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/7.793, allocations: 88.72 kB / 2.886 GB, free: 88.21 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/7.793, allocations: 15.98 kB / 2.886 GB, free: 88.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003278/7.796, allocations: 1.473 MB / 2.887 GB, free: 86.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/7.796, allocations: 0 / 2.887 GB, free: 86.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/7.809, allocations: 1.224 MB / 2.888 GB, free: 85.35 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/7.81, allocations: 279.9 kB / 2.889 GB, free: 85.06 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/7.81, allocations: 8.062 kB / 2.889 GB, free: 85.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/7.812, allocations: 59.88 kB / 2.889 GB, free: 84.99 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/7.812, allocations: 60.7 kB / 2.889 GB, free: 84.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/7.813, allocations: 35.97 kB / 2.889 GB, free: 84.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009019/7.814, allocations: 354.9 kB / 2.889 GB, free: 84.55 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.82e-07/7.814, allocations: 4 kB / 2.889 GB, free: 84.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002301/7.816, allocations: 323.1 kB / 2.889 GB, free: 84.23 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 (77): * Single equations (assignments): 74 * 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.01653/7.833, allocations: 2.759 MB / 2.892 GB, free: 81.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003097/7.836, allocations: 0.8025 MB / 2.893 GB, free: 80.66 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/7.836, allocations: 0 / 2.893 GB, free: 80.66 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/7.838, allocations: 448.6 kB / 2.893 GB, free: 80.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/7.84, allocations: 161.1 kB / 2.894 GB, free: 80.06 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009441/7.849, allocations: 1.404 MB / 2.895 GB, free: 78.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008764/7.85, allocations: 0.9834 MB / 2.896 GB, free: 77.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003096/7.853, allocations: 248.6 kB / 2.896 GB, free: 77.36 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/7.855, allocations: 303.3 kB / 2.896 GB, free: 77.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.595e-06/7.855, allocations: 0 / 2.896 GB, free: 77.07 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/7.959, allocations: 21.37 MB / 2.917 GB, free: 55.82 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/7.959, allocations: 208 kB / 2.917 GB, free: 55.53 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.766/11.73, allocations: 2.5 kB / 2.917 GB, free: 55.53 MB / 0.823 GB