Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01048/0.01049, allocations: 90.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.00124/0.00124, allocations: 172.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.214/2.214, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.4/2.4, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006384/0.0006385, allocations: 11.84 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2432, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8683/1.112, allocations: 124.9 MB / 0.85 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.000272/1.112, allocations: 131.3 kB / 0.8502 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.301e-05/1.112, allocations: 0 / 0.8502 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001162/1.112, allocations: 7.5 kB / 0.8502 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 4.437e-05/1.112, allocations: 9.234 kB / 0.8502 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004187/1.113, allocations: 70.19 kB / 0.8502 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 6.747e-05/1.113, allocations: 22.84 kB / 0.8503 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/1.113, allocations: 0.75 kB / 0.8503 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 4.041e-05/1.113, allocations: 12.75 kB / 0.8503 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 6.094e-05/1.113, allocations: 14.09 kB / 0.8503 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/1.113, allocations: 4.844 kB / 0.8503 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002709/1.113, allocations: 49.58 kB / 0.8503 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 3.655e-05/1.113, allocations: 8.812 kB / 0.8503 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002651/1.114, allocations: 28.23 kB / 0.8504 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001355/1.114, allocations: 28.89 kB / 0.8504 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/1.114, allocations: 0.9688 kB / 0.8504 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.543e-06/1.114, allocations: 0 / 0.8504 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.338e-06/1.114, allocations: 0 / 0.8504 GB, free: 21.45 MB / 0.6823 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.0004259/1.114, allocations: 335.5 kB / 0.8507 GB, free: 21.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/1.114, allocations: 10.09 kB / 0.8507 GB, free: 21.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/1.114, allocations: 38.31 kB / 0.8508 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/1.115, allocations: 22.23 kB / 0.8508 GB, free: 21.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1.115, allocations: 160.9 kB / 0.8509 GB, free: 20.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/1.115, allocations: 32.34 kB / 0.851 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/1.115, allocations: 1.125 kB / 0.851 GB, free: 20.82 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/1.115, allocations: 50.48 kB / 0.851 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/1.115, allocations: 0 / 0.851 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/1.115, allocations: 3.125 kB / 0.851 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/1.115, allocations: 8.703 kB / 0.851 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/1.115, allocations: 20.19 kB / 0.8511 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/1.116, allocations: 259.8 kB / 0.8513 GB, free: 20.52 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.099e-05/1.116, allocations: 22.64 kB / 0.8513 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/1.116, allocations: 0 / 0.8513 GB, free: 20.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/1.116, allocations: 35.61 kB / 0.8514 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.392e-06/1.116, allocations: 0 / 0.8514 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001524/1.116, allocations: 34.77 kB / 0.8514 GB, free: 20.41 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.116, allocations: 54.31 kB / 0.8514 GB, free: 20.35 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.42e-05/1.116, allocations: 104.8 kB / 0.8515 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/1.116, allocations: 29.83 kB / 0.8516 GB, free: 20.22 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/1.116, allocations: 97.67 kB / 0.8517 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/1.116, allocations: 3.906 kB / 0.8517 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/1.116, allocations: 0 / 0.8517 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.116, allocations: 312.2 kB / 0.852 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/1.116, allocations: 9.453 kB / 0.852 GB, free: 19.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/1.116, allocations: 25.44 kB / 0.852 GB, free: 19.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.618e-05/1.117, allocations: 11.91 kB / 0.852 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.117, allocations: 1.125 kB / 0.852 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000122/1.117, allocations: 54.56 kB / 0.8521 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.117, allocations: 8.828 kB / 0.8521 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.117, allocations: 1.281 kB / 0.8521 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/1.117, allocations: 1.688 kB / 0.8521 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.3e-05/1.117, allocations: 8.375 kB / 0.8521 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.117, allocations: 5.5 kB / 0.8521 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/1.117, allocations: 5.656 kB / 0.8521 GB, free: 19.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/1.117, allocations: 3.875 kB / 0.8521 GB, free: 19.74 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001007/1.117, allocations: 113.6 kB / 0.8522 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.283e-05/1.117, allocations: 5.719 kB / 0.8522 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.457e-05/1.117, allocations: 15.03 kB / 0.8522 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/1.117, allocations: 0.75 kB / 0.8522 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.117, allocations: 0 / 0.8522 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.117, allocations: 0.8438 kB / 0.8522 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/1.118, allocations: 343.9 kB / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/1.118, allocations: 0.5625 kB / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-05/1.118, allocations: 7.953 kB / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/1.118, allocations: 4.406 kB / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/1.118, allocations: 0 / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.118, allocations: 0.9688 kB / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.118, allocations: 0 / 0.8526 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.599e-05/1.118, allocations: 64.91 kB / 0.8526 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/1.118, allocations: 78.47 kB / 0.8527 GB, free: 19.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/1.118, allocations: 4.922 kB / 0.8527 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/1.118, allocations: 10.11 kB / 0.8527 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.314e-05/1.118, allocations: 0 / 0.8527 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/1.118, allocations: 3.688 kB / 0.8527 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.596e-05/1.118, allocations: 80.25 kB / 0.8528 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.8e-07/1.118, allocations: 0 / 0.8528 GB, free: 18.99 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002885/1.118, allocations: 17.06 kB / 0.8528 GB, free: 18.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0004654/1.119, allocations: 0.5928 MB / 0.8534 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.119, allocations: 15.86 kB / 0.8534 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.119, allocations: 4.781 kB / 0.8534 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/1.119, allocations: 4.844 kB / 0.8534 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/1.119, allocations: 8.609 kB / 0.8534 GB, free: 18.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/1.12, allocations: 152 kB / 0.8536 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/1.12, allocations: 0.6803 MB / 0.8542 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.955e-05/1.12, allocations: 9.969 kB / 0.8542 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/1.12, allocations: 11.83 kB / 0.8543 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/1.12, allocations: 0 / 0.8543 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/1.146, allocations: 1.091 MB / 0.8553 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004731/1.146, allocations: 221.8 kB / 0.8555 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.572, allocations: 3.938 kB / 0.8555 GB, free: 17.12 MB / 0.6823 GB