Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.01084/0.01084, allocations: 106.8 kB / 15.06 MB, free: 6.027 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.001147/0.001147, allocations: 181.1 kB / 15.95 MB, free: 5.953 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.964/1.964, allocations: 194.5 MB / 211.2 MB, free: 11.29 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.343/2.343, allocations: 236.1 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006836/0.0006839, allocations: 12 kB / 0.587 GB, free: 2.102 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7687/0.7694, allocations: 98.7 MB / 0.6834 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.2323/1.002, allocations: 125.2 MB / 0.8057 GB, free: 0.8711 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003272/1.002, allocations: 119.8 kB / 0.8058 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.785e-05/1.002, allocations: 0 / 0.8058 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001199/1.002, allocations: 15.86 kB / 0.8058 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/1.002, allocations: 7.922 kB / 0.8058 GB, free: 0.7305 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000791/1.003, allocations: 143.6 kB / 0.806 GB, free: 0.5898 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.663e-05/1.003, allocations: 15.97 kB / 0.806 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/1.003, allocations: 0 / 0.806 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.279e-05/1.003, allocations: 11.94 kB / 0.806 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/1.003, allocations: 15.97 kB / 0.806 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/1.004, allocations: 0 / 0.806 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/1.004, allocations: 107.8 kB / 0.8061 GB, free: 452 kB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/1.004, allocations: 4 kB / 0.8061 GB, free: 448 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/1.004, allocations: 29.7 kB / 0.8062 GB, free: 412 kB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/1.004, allocations: 45.5 kB / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/1.004, allocations: 0 / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/1.004, allocations: 0 / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/1.004, allocations: 0 / 0.8062 GB, free: 368 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005324/1.005, allocations: 343.3 kB / 0.8065 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/1.005, allocations: 8.031 kB / 0.8065 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.885e-05/1.005, allocations: 34.56 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004177/1.005, allocations: 27.97 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/1.006, allocations: 159.1 kB / 0.8067 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.099e-05/1.006, allocations: 25.7 kB / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/1.006, allocations: 4 kB / 0.8068 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/1.006, allocations: 57.56 kB / 0.8068 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.006, allocations: 4 kB / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/1.006, allocations: 0 / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/1.006, allocations: 0 / 0.8068 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/1.006, allocations: 19.98 kB / 0.8069 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/1.007, allocations: 256.8 kB / 0.8071 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/1.007, allocations: 38.5 kB / 0.8071 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.029e-05/1.007, allocations: 0 / 0.8071 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/1.007, allocations: 34.62 kB / 0.8072 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.007, allocations: 0 / 0.8072 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000328/1.007, allocations: 53.69 kB / 0.8072 GB, free: 15.13 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.007, allocations: 51.41 kB / 0.8073 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.007, allocations: 109.8 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/1.007, allocations: 25.7 kB / 0.8074 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/1.007, allocations: 87.98 kB / 0.8075 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/1.007, allocations: 7.891 kB / 0.8075 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/1.007, allocations: 4 kB / 0.8075 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001569/1.008, allocations: 323 kB / 0.8078 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.94e-05/1.008, allocations: 7.938 kB / 0.8078 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.229e-05/1.008, allocations: 17.72 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/1.008, allocations: 7.984 kB / 0.8078 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.008, allocations: 3.938 kB / 0.8078 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001383/1.008, allocations: 61.58 kB / 0.8079 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.008, allocations: 8 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/1.008, allocations: 0 / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.008, allocations: 4.031 kB / 0.8079 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/1.008, allocations: 8 kB / 0.8079 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.008, allocations: 0 / 0.8079 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/1.008, allocations: 3.938 kB / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/1.008, allocations: 0 / 0.8079 GB, free: 14.36 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.008, allocations: 113.8 kB / 0.808 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/1.008, allocations: 3.953 kB / 0.808 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/1.008, allocations: 11.12 kB / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.008, allocations: 0 / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.008, allocations: 4 kB / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/1.008, allocations: 0 / 0.808 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/1.009, allocations: 371.4 kB / 0.8084 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.009, allocations: 0 / 0.8084 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.926e-05/1.009, allocations: 4 kB / 0.8084 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.009, allocations: 0 / 0.8084 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/1.009, allocations: 0 / 0.8084 GB, free: 13.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/1.009, allocations: 8.047 kB / 0.8084 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.009, allocations: 4 kB / 0.8084 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/1.009, allocations: 87.59 kB / 0.8085 GB, free: 13.67 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/1.009, allocations: 77.11 kB / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/1.009, allocations: 0 / 0.8086 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.009, allocations: 8.031 kB / 0.8086 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/1.009, allocations: 4 kB / 0.8086 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/1.01, allocations: 0 / 0.8086 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.531e-05/1.01, allocations: 83.27 kB / 0.8087 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.01, allocations: 0 / 0.8087 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002612/1.01, allocations: 8 kB / 0.8087 GB, free: 13.48 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005775/1.01, allocations: 0.6993 MB / 0.8094 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001274/1.011, allocations: 20.45 kB / 0.8094 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.011, allocations: 0 / 0.8094 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.991e-05/1.011, allocations: 7.938 kB / 0.8094 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/1.011, allocations: 8.219 kB / 0.8094 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/1.011, allocations: 163 kB / 0.8095 GB, free: 12.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/1.012, allocations: 0.6809 MB / 0.8102 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001084/1.012, allocations: 12.08 kB / 0.8102 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/1.012, allocations: 7.438 kB / 0.8102 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.292e-06/1.012, allocations: 0 / 0.8102 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/1.036, allocations: 1.187 MB / 0.8114 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003287/1.037, allocations: 188.5 kB / 0.8116 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/3.486, allocations: 4 kB / 0.8116 GB, free: 10.46 MB / 0.6355 GB