Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.093/4.093, allocations: 433.2 MB / 440.7 MB, free: 4.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.878e-05, allocations: 1.75 kB / 0.5325 GB, free: 12.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2146, allocations: 98.73 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.818/7.033, allocations: 2.184 GB / 2.813 GB, free: 151 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/7.033, allocations: 84.45 kB / 2.813 GB, free: 151 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2027/7.236, allocations: 54.36 MB / 2.866 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.365e-06/7.236, allocations: 0 / 2.866 GB, free: 106 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.238e-05/7.236, allocations: 27.98 kB / 2.866 GB, free: 106 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.002822/7.239, allocations: 1.091 MB / 2.867 GB, free: 104.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/7.239, allocations: 8.031 kB / 2.867 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/7.243, allocations: 366.2 kB / 2.868 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/7.244, allocations: 0.5476 MB / 2.868 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.541e-05/7.244, allocations: 27.95 kB / 2.868 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/7.245, allocations: 51.94 kB / 2.868 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002775/7.247, allocations: 1.075 MB / 2.869 GB, free: 103.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/7.249, allocations: 0.7758 MB / 2.87 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/7.249, allocations: 0 / 2.87 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/7.25, allocations: 4 kB / 2.87 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/7.25, allocations: 20 kB / 2.87 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006427/7.256, allocations: 2.582 MB / 2.873 GB, free: 100.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001939/7.258, allocations: 0.8362 MB / 2.874 GB, free: 99.78 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/7.259, allocations: 277.9 kB / 2.874 GB, free: 99.61 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00088/7.26, allocations: 465.5 kB / 2.874 GB, free: 99.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009398/7.261, allocations: 452.1 kB / 2.875 GB, free: 98.72 MB / 0.823 GB Notification: Performance of pre-optimization done (n=74): time 3.607e-06/7.261, allocations: 0 / 2.875 GB, free: 98.72 MB / 0.823 GB Notification: Performance of matching and sorting (n=74): time 0.00844/7.269, allocations: 1.088 MB / 2.876 GB, free: 97.84 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.409e-05/7.269, allocations: 216 kB / 2.876 GB, free: 97.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008992/7.27, allocations: 459.3 kB / 2.876 GB, free: 97.24 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000259/7.27, allocations: 29.7 kB / 2.876 GB, free: 97.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/7.271, allocations: 354.8 kB / 2.877 GB, free: 96.93 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/7.271, allocations: 238.6 kB / 2.877 GB, free: 96.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/7.271, allocations: 0 / 2.877 GB, free: 96.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001323/7.271, allocations: 369.4 kB / 2.877 GB, free: 96.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006248/7.272, allocations: 233.3 kB / 2.878 GB, free: 96.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006693/7.273, allocations: 341.3 kB / 2.878 GB, free: 95.85 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006401/7.279, allocations: 0.6446 MB / 2.879 GB, free: 95.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.209e-05/7.279, allocations: 4 kB / 2.879 GB, free: 95.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.008472/7.288, allocations: 1.164 MB / 2.88 GB, free: 94.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/7.288, allocations: 68.77 kB / 2.88 GB, free: 93.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.288, allocations: 0 / 2.88 GB, free: 93.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009534/7.289, allocations: 80.92 kB / 2.88 GB, free: 93.87 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/7.29, allocations: 167.8 kB / 2.88 GB, free: 93.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/7.293, allocations: 1.461 MB / 2.881 GB, free: 92.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/7.294, allocations: 71.55 kB / 2.881 GB, free: 92.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/7.294, allocations: 35.98 kB / 2.882 GB, free: 92.01 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (81): * Single equations (assignments): 78 * 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.000278/7.295, allocations: 121.5 kB / 2.882 GB, free: 91.89 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008329/7.303, allocations: 1.089 MB / 2.883 GB, free: 90.79 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/7.303, allocations: 67.25 kB / 2.883 GB, free: 90.72 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/7.314, allocations: 1.324 MB / 2.884 GB, free: 89.38 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/7.314, allocations: 8 kB / 2.884 GB, free: 89.37 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.314, allocations: 3.953 kB / 2.884 GB, free: 89.37 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/7.314, allocations: 7.969 kB / 2.884 GB, free: 89.36 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/7.324, allocations: 2.19 MB / 2.886 GB, free: 87.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/7.324, allocations: 3.938 kB / 2.886 GB, free: 87.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/7.326, allocations: 155.8 kB / 2.886 GB, free: 86.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008244/7.327, allocations: 84.77 kB / 2.886 GB, free: 86.87 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.83e-05/7.327, allocations: 19.98 kB / 2.886 GB, free: 86.85 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/7.329, allocations: 1.465 MB / 2.888 GB, free: 85.26 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/7.329, allocations: 64 / 2.888 GB, free: 85.26 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008267/7.337, allocations: 1.259 MB / 2.889 GB, free: 83.98 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/7.338, allocations: 279.9 kB / 2.889 GB, free: 83.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/7.338, allocations: 4 kB / 2.889 GB, free: 83.69 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/7.339, allocations: 59.94 kB / 2.889 GB, free: 83.63 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001943/7.339, allocations: 68.64 kB / 2.89 GB, free: 83.56 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/7.34, allocations: 35.98 kB / 2.89 GB, free: 83.52 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006181/7.34, allocations: 366.9 kB / 2.89 GB, free: 83.17 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/7.34, allocations: 0 / 2.89 GB, free: 83.17 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001456/7.342, allocations: 335.1 kB / 2.89 GB, free: 82.84 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 (82): * Single equations (assignments): 79 * 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.01083/7.352, allocations: 2.772 MB / 2.893 GB, free: 80.09 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002141/7.355, allocations: 0.8338 MB / 2.894 GB, free: 79.22 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/7.355, allocations: 4 kB / 2.894 GB, free: 79.21 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001127/7.356, allocations: 468.5 kB / 2.894 GB, free: 78.75 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/7.357, allocations: 165.8 kB / 2.894 GB, free: 78.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/7.363, allocations: 1.435 MB / 2.896 GB, free: 77.11 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/7.364, allocations: 0.9994 MB / 2.897 GB, free: 76.08 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001752/7.366, allocations: 264.7 kB / 2.897 GB, free: 75.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/7.366, allocations: 323.3 kB / 2.897 GB, free: 75.5 MB / 0.823 GB Notification: Performance of SimCode: time 9.91e-07/7.366, allocations: 0 / 2.897 GB, free: 75.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0843/7.451, allocations: 22.3 MB / 2.919 GB, free: 53.33 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/7.451, allocations: 187.9 kB / 2.919 GB, free: 53.14 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.744/11.2, allocations: 7.938 kB / 2.919 GB, free: 53.14 MB / 0.823 GB