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/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.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.224/4.224, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.738e-05, allocations: 3.406 kB / 0.5325 GB, free: 12.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2246, allocations: 98.73 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.437/7.662, allocations: 2.187 GB / 2.816 GB, free: 147.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003871/7.662, allocations: 81.66 kB / 2.816 GB, free: 147.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.3317/7.994, allocations: 79.57 MB / 2.894 GB, free: 79.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.216e-06/7.994, allocations: 0 / 2.894 GB, free: 79.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001109/7.994, allocations: 35.88 kB / 2.894 GB, free: 79.16 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.003811/7.998, allocations: 1.332 MB / 2.895 GB, free: 77.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/7.998, allocations: 8.031 kB / 2.895 GB, free: 77.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003549/8.001, allocations: 337.9 kB / 2.895 GB, free: 77.43 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/8.004, allocations: 0.6938 MB / 2.896 GB, free: 76.69 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/8.004, allocations: 84.03 kB / 2.896 GB, free: 76.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/8.004, allocations: 68 kB / 2.896 GB, free: 76.53 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003581/8.008, allocations: 1.324 MB / 2.898 GB, free: 75.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/8.011, allocations: 1.051 MB / 2.899 GB, free: 74.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.047e-05/8.011, allocations: 0 / 2.899 GB, free: 74.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/8.011, allocations: 7.938 kB / 2.899 GB, free: 74.09 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.972e-05/8.011, allocations: 28 kB / 2.899 GB, free: 74.06 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009991/8.021, allocations: 3.204 MB / 2.902 GB, free: 70.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/8.023, allocations: 0.8857 MB / 2.903 GB, free: 69.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000911/8.024, allocations: 347.1 kB / 2.903 GB, free: 69.56 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009989/8.025, allocations: 478.2 kB / 2.903 GB, free: 69 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001506/8.027, allocations: 0.5474 MB / 2.904 GB, free: 68.43 MB / 0.823 GB Notification: Performance of pre-optimization done (n=93): time 4.479e-06/8.027, allocations: 0 / 2.904 GB, free: 68.43 MB / 0.823 GB Notification: Performance of matching and sorting (n=93): time 0.009351/8.036, allocations: 1.266 MB / 2.905 GB, free: 67.16 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.183e-05/8.037, allocations: 218.3 kB / 2.905 GB, free: 66.89 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/8.038, allocations: 0.5581 MB / 2.906 GB, free: 66.33 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003862/8.038, allocations: 33.69 kB / 2.906 GB, free: 66.29 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/8.039, allocations: 487.9 kB / 2.906 GB, free: 65.81 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005272/8.039, allocations: 291.6 kB / 2.907 GB, free: 65.52 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/8.039, allocations: 0 / 2.907 GB, free: 65.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001953/8.04, allocations: 386.7 kB / 2.907 GB, free: 65.13 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/8.04, allocations: 310.6 kB / 2.907 GB, free: 64.83 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008979/8.041, allocations: 424.3 kB / 2.908 GB, free: 64.38 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006917/8.048, allocations: 0.7438 MB / 2.908 GB, free: 63.64 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/8.048, allocations: 3.984 kB / 2.908 GB, free: 63.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.009604/8.058, allocations: 1.391 MB / 2.91 GB, free: 62.24 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/8.058, allocations: 59.39 kB / 2.91 GB, free: 62.17 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/8.058, allocations: 0 / 2.91 GB, free: 62.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009916/8.059, allocations: 84.84 kB / 2.91 GB, free: 62.08 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/8.061, allocations: 203.7 kB / 2.91 GB, free: 61.88 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/8.064, allocations: 1.469 MB / 2.912 GB, free: 60.29 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/8.066, allocations: 91.23 kB / 2.912 GB, free: 60.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002965/8.066, allocations: 43.97 kB / 2.912 GB, free: 60.16 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.0003829/8.067, allocations: 112.9 kB / 2.912 GB, free: 60.04 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009241/8.076, allocations: 1.273 MB / 2.913 GB, free: 58.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005429/8.076, allocations: 90.92 kB / 2.913 GB, free: 58.66 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01056/8.087, allocations: 1.616 MB / 2.915 GB, free: 57.03 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/8.087, allocations: 12 kB / 2.915 GB, free: 57.02 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/8.087, allocations: 0 / 2.915 GB, free: 57.02 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/8.087, allocations: 7.969 kB / 2.915 GB, free: 57.01 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/8.101, allocations: 2.639 MB / 2.917 GB, free: 54.32 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/8.101, allocations: 3.984 kB / 2.917 GB, free: 54.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00191/8.103, allocations: 195.8 kB / 2.918 GB, free: 54.12 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008822/8.104, allocations: 84.72 kB / 2.918 GB, free: 54.04 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/8.104, allocations: 19.97 kB / 2.918 GB, free: 54.02 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002367/8.107, allocations: 1.488 MB / 2.919 GB, free: 52.41 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/8.107, allocations: 0 / 2.919 GB, free: 52.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009307/8.116, allocations: 1.438 MB / 2.92 GB, free: 50.95 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/8.117, allocations: 343.5 kB / 2.921 GB, free: 50.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/8.118, allocations: 4 kB / 2.921 GB, free: 50.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/8.119, allocations: 71.92 kB / 2.921 GB, free: 50.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/8.12, allocations: 73.14 kB / 2.921 GB, free: 50.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000172/8.12, allocations: 39.97 kB / 2.921 GB, free: 50.41 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009328/8.121, allocations: 467.1 kB / 2.921 GB, free: 49.96 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.21e-07/8.121, allocations: 4 kB / 2.921 GB, free: 49.96 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002323/8.123, allocations: 418.6 kB / 2.922 GB, free: 49.55 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.01214/8.135, allocations: 2.971 MB / 2.925 GB, free: 46.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002846/8.138, allocations: 1.022 MB / 2.926 GB, free: 45.54 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/8.138, allocations: 4 kB / 2.926 GB, free: 45.54 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/8.14, allocations: 0.5496 MB / 2.926 GB, free: 44.98 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/8.142, allocations: 168.6 kB / 2.926 GB, free: 44.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007928/8.15, allocations: 1.842 MB / 2.928 GB, free: 42.93 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/8.151, allocations: 1.121 MB / 2.929 GB, free: 41.78 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002167/8.153, allocations: 294.2 kB / 2.93 GB, free: 41.49 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/8.154, allocations: 463.2 kB / 2.93 GB, free: 41.04 MB / 0.823 GB Notification: Performance of SimCode: time 1.373e-06/8.154, allocations: 0 / 2.93 GB, free: 41.04 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1057/8.26, allocations: 26.57 MB / 2.956 GB, free: 14.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/8.26, allocations: 213.1 kB / 2.956 GB, free: 14.31 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.071/12.33, allocations: 0 / 2.956 GB, free: 14.31 MB / 0.823 GB