Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.183/4.183, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.423e-05, allocations: 2.219 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 98.73 MB / 0.6347 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.628/7.871, allocations: 2.188 GB / 2.822 GB, free: 113.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/7.872, allocations: 93.88 kB / 2.823 GB, free: 113.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3223/8.194, allocations: 80.44 MB / 2.901 GB, free: 43.77 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.025e-06/8.194, allocations: 0 / 2.901 GB, free: 43.77 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001316/8.194, allocations: 31.88 kB / 2.901 GB, free: 43.74 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004408/8.199, allocations: 1.321 MB / 2.902 GB, free: 42.35 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/8.199, allocations: 8.031 kB / 2.902 GB, free: 42.34 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006252/8.2, allocations: 177.5 kB / 2.903 GB, free: 42.16 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0036/8.203, allocations: 349.9 kB / 2.903 GB, free: 41.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002202/8.205, allocations: 0.6821 MB / 2.904 GB, free: 41.09 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/8.206, allocations: 128 kB / 2.904 GB, free: 40.96 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004621/8.206, allocations: 116 kB / 2.904 GB, free: 40.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/8.21, allocations: 1.212 MB / 2.905 GB, free: 39.58 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/8.21, allocations: 0 / 2.905 GB, free: 39.58 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002262/8.21, allocations: 52 kB / 2.905 GB, free: 39.53 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.858e-05/8.21, allocations: 32 kB / 2.905 GB, free: 39.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004217/8.215, allocations: 1.391 MB / 2.906 GB, free: 38.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01115/8.226, allocations: 3.419 MB / 2.91 GB, free: 34.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/8.229, allocations: 0.9398 MB / 2.911 GB, free: 33.64 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/8.23, allocations: 379.1 kB / 2.911 GB, free: 33.27 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/8.231, allocations: 482.2 kB / 2.912 GB, free: 32.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/8.233, allocations: 0.5685 MB / 2.912 GB, free: 32.12 MB / 0.823 GB Notification: Performance of pre-optimization done (n=93): time 4.869e-06/8.233, allocations: 4 kB / 2.912 GB, free: 32.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=93): time 0.003853/8.236, allocations: 0.9422 MB / 2.913 GB, free: 31.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/8.237, allocations: 218.4 kB / 2.913 GB, free: 30.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001548/8.238, allocations: 0.6444 MB / 2.914 GB, free: 30.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003797/8.239, allocations: 41.7 kB / 2.914 GB, free: 30.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005076/8.239, allocations: 484.1 kB / 2.914 GB, free: 29.72 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005338/8.24, allocations: 307.5 kB / 2.915 GB, free: 29.42 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/8.24, allocations: 16 kB / 2.915 GB, free: 29.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002108/8.24, allocations: 394.7 kB / 2.915 GB, free: 29.01 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/8.241, allocations: 330 kB / 2.915 GB, free: 28.68 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/8.242, allocations: 447.7 kB / 2.916 GB, free: 28.22 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/8.244, allocations: 444.2 kB / 2.916 GB, free: 27.77 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/8.244, allocations: 0 / 2.916 GB, free: 27.77 MB / 0.823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004025/8.248, allocations: 1.114 MB / 2.917 GB, free: 26.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/8.248, allocations: 55.41 kB / 2.917 GB, free: 26.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/8.248, allocations: 4 kB / 2.917 GB, free: 26.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/8.249, allocations: 84.8 kB / 2.917 GB, free: 26.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/8.251, allocations: 207.7 kB / 2.918 GB, free: 26.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/8.254, allocations: 1.532 MB / 2.919 GB, free: 24.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/8.256, allocations: 111.1 kB / 2.919 GB, free: 24.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003128/8.256, allocations: 47.95 kB / 2.919 GB, free: 24.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 101 * 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.0003762/8.257, allocations: 149.8 kB / 2.919 GB, free: 24.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/8.257, allocations: 90.88 kB / 2.919 GB, free: 24.21 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/8.262, allocations: 1.312 MB / 2.921 GB, free: 22.88 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/8.262, allocations: 15.98 kB / 2.921 GB, free: 22.86 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/8.262, allocations: 0 / 2.921 GB, free: 22.86 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.12e-05/8.262, allocations: 3.984 kB / 2.921 GB, free: 22.86 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/8.27, allocations: 2.47 MB / 2.923 GB, free: 20.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/8.27, allocations: 4 kB / 2.923 GB, free: 20.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/8.272, allocations: 187.7 kB / 2.923 GB, free: 20.14 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009147/8.273, allocations: 88.77 kB / 2.923 GB, free: 20.05 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/8.273, allocations: 27.98 kB / 2.923 GB, free: 20.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002578/8.276, allocations: 1.548 MB / 2.925 GB, free: 18.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/8.276, allocations: 7.969 kB / 2.925 GB, free: 18.33 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/8.28, allocations: 1.101 MB / 2.926 GB, free: 17.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/8.281, allocations: 363.3 kB / 2.926 GB, free: 16.83 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003691/8.282, allocations: 20 kB / 2.926 GB, free: 16.81 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/8.283, allocations: 83.92 kB / 2.927 GB, free: 16.73 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003038/8.284, allocations: 80.83 kB / 2.927 GB, free: 16.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/8.284, allocations: 39.97 kB / 2.927 GB, free: 16.61 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001136/8.285, allocations: 0.5343 MB / 2.927 GB, free: 16.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.71e-07/8.285, allocations: 0 / 2.927 GB, free: 16.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002267/8.287, allocations: 450.7 kB / 2.928 GB, free: 15.64 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 (103): * Single equations (assignments): 100 * 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.006579/8.294, allocations: 2.608 MB / 2.93 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003405/8.298, allocations: 1.065 MB / 2.931 GB, free: 12.03 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/8.298, allocations: 12.06 kB / 2.931 GB, free: 12.02 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/8.3, allocations: 0.5744 MB / 2.932 GB, free: 11.44 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/8.302, allocations: 197.4 kB / 2.932 GB, free: 11.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008604/8.31, allocations: 1.93 MB / 2.934 GB, free: 9.266 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/8.311, allocations: 1.129 MB / 2.935 GB, free: 8.113 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002283/8.314, allocations: 286.5 kB / 2.935 GB, free: 7.828 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/8.315, allocations: 471.2 kB / 2.936 GB, free: 7.371 MB / 0.823 GB Notification: Performance of SimCode: time 1.493e-06/8.315, allocations: 0 / 2.936 GB, free: 7.371 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7337/9.049, allocations: 34.59 MB / 2.969 GB, free: 253.3 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/9.049, allocations: 254.1 kB / 2.97 GB, free: 253 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/13.3, allocations: 0 / 2.97 GB, free: 253 MB / 0.823 GB