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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01075/0.01075, allocations: 107.2 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001162/0.001162, allocations: 181.9 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.973/1.973, allocations: 194.6 MB / 211.3 MB, free: 11.07 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.625/2.625, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008786/0.00088, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6757/0.6766, allocations: 98.72 MB / 0.6834 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005722/0.6824, allocations: 3.396 MB / 0.6867 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.2164/0.8989, allocations: 127.3 MB / 0.8111 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008469/0.8998, allocations: 15.94 kB / 0.8111 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003946/0.9002, allocations: 63.41 kB / 0.8111 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.9021, allocations: 418.8 kB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.9048, allocations: 0.5805 MB / 0.8121 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.9067, allocations: 0.7511 MB / 0.8128 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.9078, allocations: 434.3 kB / 0.8132 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008237/0.9086, allocations: 322.8 kB / 0.8136 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006731/0.9093, allocations: 306.4 kB / 0.8138 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.9095, allocations: 24 kB / 0.8139 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.9106, allocations: 275.7 kB / 0.8141 GB, free: 8.215 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002793/0.9109, allocations: 163.3 kB / 0.8143 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.9112, allocations: 177.2 kB / 0.8145 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.9132, allocations: 1.03 MB / 0.8155 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.9133, allocations: 3.938 kB / 0.8155 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.927e-06/0.9133, allocations: 0 / 0.8155 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.515e-05/0.9134, allocations: 4 kB / 0.8155 GB, free: 6.836 MB / 0.6355 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.003495/0.9169, allocations: 1.147 MB / 0.8166 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/0.9169, allocations: 8.031 kB / 0.8166 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004097/0.9174, allocations: 134.9 kB / 0.8167 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004072/0.9215, allocations: 362.4 kB / 0.8171 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.9233, allocations: 0.6447 MB / 0.8177 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.9235, allocations: 62 kB / 0.8178 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002464/0.9237, allocations: 76 kB / 0.8178 GB, free: 4.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003534/0.9273, allocations: 0.9621 MB / 0.8188 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/0.9274, allocations: 7.891 kB / 0.8188 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/0.9276, allocations: 36 kB / 0.8188 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.939e-05/0.9276, allocations: 20 kB / 0.8188 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/0.9327, allocations: 1.245 MB / 0.82 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00861/0.9414, allocations: 2.727 MB / 0.8227 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/0.946, allocations: 1.015 MB / 0.8237 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/0.9471, allocations: 470.1 kB / 0.8241 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001996/0.9491, allocations: 0.4922 MB / 0.8246 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=74): time 3.537e-06/0.9492, allocations: 3.938 kB / 0.8246 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=74): time 0.0071/0.9563, allocations: 1.231 MB / 0.8258 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.9565, allocations: 170.8 kB / 0.826 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.9576, allocations: 0.5146 MB / 0.8265 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000224/0.9579, allocations: 41.7 kB / 0.8265 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.9583, allocations: 344.3 kB / 0.8269 GB, free: 10.69 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004282/0.9588, allocations: 248.4 kB / 0.8271 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.9589, allocations: 12 kB / 0.8271 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002232/0.9591, allocations: 366.8 kB / 0.8275 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.9606, allocations: 289.8 kB / 0.8277 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/0.9622, allocations: 399.8 kB / 0.8281 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.9638, allocations: 378.5 kB / 0.8285 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.9638, allocations: 0 / 0.8285 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00456/0.9684, allocations: 0.9769 MB / 0.8294 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.414e-05/0.9685, allocations: 63.36 kB / 0.8295 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.9686, allocations: 0 / 0.8295 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.9696, allocations: 84.97 kB / 0.8296 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.9713, allocations: 167.8 kB / 0.8297 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003357/0.9747, allocations: 1.524 MB / 0.8312 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.9762, allocations: 103.2 kB / 0.8313 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001835/0.9765, allocations: 32.36 kB / 0.8314 GB, free: 5.852 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * 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.0007106/0.9772, allocations: 245.7 kB / 0.8316 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.9775, allocations: 83.08 kB / 0.8317 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005138/0.9826, allocations: 1.091 MB / 0.8327 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.9827, allocations: 8 kB / 0.8327 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.9827, allocations: 0 / 0.8327 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/0.9827, allocations: 3.984 kB / 0.8327 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/0.9899, allocations: 2.024 MB / 0.8347 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.99, allocations: 0 / 0.8347 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.9917, allocations: 159.8 kB / 0.8349 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009388/0.9926, allocations: 84.77 kB / 0.835 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/0.9928, allocations: 27.98 kB / 0.835 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003057/0.9959, allocations: 1.552 MB / 0.8365 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.996, allocations: 0 / 0.8365 GB, free: 364 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004521/1, allocations: 1 MB / 0.8375 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/1.001, allocations: 287.8 kB / 0.8378 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/1.002, allocations: 12 kB / 0.8378 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.003, allocations: 79.92 kB / 0.8378 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.003, allocations: 60.91 kB / 0.8379 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/1.003, allocations: 27.98 kB / 0.8379 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007791/1.004, allocations: 370.8 kB / 0.8383 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.8e-07/1.004, allocations: 0 / 0.8383 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001341/1.006, allocations: 303.3 kB / 0.8386 GB, free: 14.2 MB / 0.6667 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) * Number of clocked states: 0 () * 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.00661/1.012, allocations: 2.058 MB / 0.8406 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004125/1.016, allocations: 0.965 MB / 0.8415 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.016, allocations: 0 / 0.8415 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/1.019, allocations: 0.5314 MB / 0.842 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.02, allocations: 194.4 kB / 0.8422 GB, free: 10.56 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008547/1.029, allocations: 3.401 MB / 0.8455 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/1.03, allocations: 0.9951 MB / 0.8465 GB, free: 6.059 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001881/1.032, allocations: 272.9 kB / 0.8468 GB, free: 5.789 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009244/1.033, allocations: 327.3 kB / 0.8471 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of SimCode: time 9.71e-07/1.033, allocations: 0 / 0.8471 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07595/1.109, allocations: 18.77 MB / 0.8654 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004281/1.109, allocations: 312.2 kB / 0.8657 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.421/4.53, allocations: 0 / 0.8657 GB, free: 2.582 MB / 0.6823 GB