Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.Examples.ZenithAngle,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.098/4.098, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.412e-05, allocations: 2.219 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 98.73 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.703/6.924, allocations: 2.184 GB / 2.813 GB, free: 150.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/6.924, allocations: 86.58 kB / 2.813 GB, free: 150.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2231/7.147, allocations: 59.57 MB / 2.871 GB, free: 100.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.024e-06/7.147, allocations: 0 / 2.871 GB, free: 100.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.49e-05/7.147, allocations: 24 kB / 2.872 GB, free: 100.5 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002466/7.15, allocations: 1.061 MB / 2.873 GB, free: 99.48 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/7.15, allocations: 8.031 kB / 2.873 GB, free: 99.47 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/7.153, allocations: 309.9 kB / 2.873 GB, free: 99.17 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/7.155, allocations: 0.5434 MB / 2.873 GB, free: 98.68 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/7.155, allocations: 27.95 kB / 2.873 GB, free: 98.66 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/7.155, allocations: 47.94 kB / 2.873 GB, free: 98.61 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002487/7.157, allocations: 1.045 MB / 2.874 GB, free: 97.81 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/7.159, allocations: 0.728 MB / 2.875 GB, free: 97.25 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/7.159, allocations: 0 / 2.875 GB, free: 97.25 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/7.159, allocations: 4 kB / 2.875 GB, free: 97.24 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/7.159, allocations: 16 kB / 2.875 GB, free: 97.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006448/7.166, allocations: 2.297 MB / 2.877 GB, free: 95.37 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/7.168, allocations: 0.7183 MB / 2.878 GB, free: 94.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006181/7.168, allocations: 268.1 kB / 2.878 GB, free: 94.75 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009098/7.169, allocations: 475.5 kB / 2.879 GB, free: 94.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000994/7.17, allocations: 433.3 kB / 2.879 GB, free: 93.87 MB / 0.823 GB Notification: Performance of pre-optimization done (n=70): time 3.406e-06/7.17, allocations: 0 / 2.879 GB, free: 93.87 MB / 0.823 GB Notification: Performance of matching and sorting (n=70): time 0.008469/7.179, allocations: 1.075 MB / 2.88 GB, free: 93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/7.179, allocations: 219.2 kB / 2.881 GB, free: 92.74 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008625/7.18, allocations: 450.2 kB / 2.881 GB, free: 92.41 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002231/7.18, allocations: 33.64 kB / 2.881 GB, free: 92.37 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/7.18, allocations: 335.1 kB / 2.881 GB, free: 92.12 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/7.181, allocations: 218.6 kB / 2.882 GB, free: 91.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.808e-05/7.181, allocations: 4 kB / 2.882 GB, free: 91.92 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001166/7.181, allocations: 374.7 kB / 2.882 GB, free: 91.55 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/7.181, allocations: 225.5 kB / 2.882 GB, free: 91.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/7.182, allocations: 326.6 kB / 2.882 GB, free: 90.98 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006447/7.189, allocations: 0.6406 MB / 2.883 GB, free: 90.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/7.189, allocations: 4 kB / 2.883 GB, free: 90.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008417/7.197, allocations: 1.148 MB / 2.884 GB, free: 89.18 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.064e-05/7.197, allocations: 55.41 kB / 2.884 GB, free: 89.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/7.197, allocations: 0 / 2.884 GB, free: 89.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009494/7.198, allocations: 88.77 kB / 2.884 GB, free: 89.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001401/7.2, allocations: 151.8 kB / 2.884 GB, free: 88.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/7.202, allocations: 1.465 MB / 2.886 GB, free: 87.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/7.203, allocations: 75.55 kB / 2.886 GB, free: 87.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/7.204, allocations: 27.98 kB / 2.886 GB, free: 87.18 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.0002713/7.204, allocations: 116.9 kB / 2.886 GB, free: 87.05 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008514/7.212, allocations: 1.08 MB / 2.887 GB, free: 85.97 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/7.213, allocations: 67.2 kB / 2.887 GB, free: 85.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009341/7.222, allocations: 1.315 MB / 2.888 GB, free: 84.57 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/7.222, allocations: 8 kB / 2.888 GB, free: 84.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/7.222, allocations: 7.984 kB / 2.889 GB, free: 84.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/7.222, allocations: 3.984 kB / 2.889 GB, free: 84.55 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/7.224, allocations: 0.7476 MB / 2.889 GB, free: 83.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/7.224, allocations: 0 / 2.889 GB, free: 83.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/7.225, allocations: 151.7 kB / 2.889 GB, free: 83.62 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/7.226, allocations: 88.75 kB / 2.889 GB, free: 83.53 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001819/7.226, allocations: 19.92 kB / 2.889 GB, free: 83.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002262/7.229, allocations: 1.488 MB / 2.891 GB, free: 81.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/7.229, allocations: 0 / 2.891 GB, free: 81.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008377/7.237, allocations: 1.168 MB / 2.892 GB, free: 80.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/7.238, allocations: 287.9 kB / 2.892 GB, free: 80.41 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/7.238, allocations: 0 / 2.892 GB, free: 80.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/7.239, allocations: 63.92 kB / 2.892 GB, free: 80.35 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/7.239, allocations: 60.66 kB / 2.892 GB, free: 80.29 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/7.239, allocations: 31.98 kB / 2.893 GB, free: 80.26 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006339/7.24, allocations: 366.9 kB / 2.893 GB, free: 79.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/7.24, allocations: 0 / 2.893 GB, free: 79.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001556/7.242, allocations: 335 kB / 2.893 GB, free: 79.57 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 (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.01092/7.253, allocations: 2.701 MB / 2.896 GB, free: 76.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002105/7.255, allocations: 0.818 MB / 2.897 GB, free: 76.04 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/7.255, allocations: 0 / 2.897 GB, free: 76.04 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/7.256, allocations: 460.7 kB / 2.897 GB, free: 75.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/7.257, allocations: 151.7 kB / 2.897 GB, free: 75.43 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006002/7.263, allocations: 1.419 MB / 2.899 GB, free: 73.97 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/7.264, allocations: 0.9951 MB / 2.9 GB, free: 72.95 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001786/7.266, allocations: 256.7 kB / 2.9 GB, free: 72.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/7.267, allocations: 315.3 kB / 2.9 GB, free: 72.39 MB / 0.823 GB Notification: Performance of SimCode: time 1.303e-06/7.267, allocations: 0 / 2.9 GB, free: 72.39 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/7.412, allocations: 21.75 MB / 2.921 GB, free: 50.78 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/7.413, allocations: 193.5 kB / 2.922 GB, free: 50.58 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.775/11.19, allocations: 0 / 2.922 GB, free: 50.58 MB / 0.823 GB