Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01501/0.01501, allocations: 89.25 kB / 15.04 MB, free: 5.977 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.001806/0.001806, allocations: 171.7 kB / 15.92 MB, free: 5.938 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.261/2.261, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.387/2.387, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004651/0.0004653, allocations: 11.5 kB / 0.6243 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2399, allocations: 106.2 MB / 0.728 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.8905/1.131, allocations: 125.3 MB / 0.8504 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.000384/1.131, allocations: 123.9 kB / 0.8505 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/1.131, allocations: 0 / 0.8505 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/1.131, allocations: 7.625 kB / 0.8505 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 5.549e-05/1.131, allocations: 5.719 kB / 0.8505 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/1.132, allocations: 150.5 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/1.132, allocations: 15.52 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/1.132, allocations: 5.578 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 5.071e-05/1.133, allocations: 13.09 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/1.133, allocations: 7.016 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/1.133, allocations: 1.094 kB / 0.8507 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006149/1.133, allocations: 111.2 kB / 0.8508 GB, free: 5.41 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 4.255e-05/1.133, allocations: 10.41 kB / 0.8508 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002831/1.134, allocations: 28.14 kB / 0.8508 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/1.134, allocations: 47.19 kB / 0.8509 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/1.134, allocations: 0.9688 kB / 0.8509 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.425e-06/1.134, allocations: 0 / 0.8509 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.15e-06/1.134, allocations: 0 / 0.8509 GB, free: 21.38 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.0005337/1.135, allocations: 336.8 kB / 0.8512 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.905e-05/1.135, allocations: 10.22 kB / 0.8512 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.751e-05/1.135, allocations: 31.5 kB / 0.8512 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005731/1.135, allocations: 36.89 kB / 0.8513 GB, free: 20.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/1.135, allocations: 165.4 kB / 0.8514 GB, free: 20.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/1.136, allocations: 27.67 kB / 0.8515 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/1.136, allocations: 0.9688 kB / 0.8515 GB, free: 20.75 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/1.136, allocations: 47.03 kB / 0.8515 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/1.136, allocations: 1 kB / 0.8515 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/1.136, allocations: 0 / 0.8515 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.167e-05/1.136, allocations: 9.859 kB / 0.8515 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/1.136, allocations: 30.34 kB / 0.8515 GB, free: 20.71 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/1.137, allocations: 251.7 kB / 0.8518 GB, free: 20.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.532e-05/1.137, allocations: 26.77 kB / 0.8518 GB, free: 20.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.025e-05/1.137, allocations: 2.688 kB / 0.8518 GB, free: 20.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.137, allocations: 39.95 kB / 0.8519 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/1.137, allocations: 0 / 0.8519 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0004554/1.137, allocations: 56.86 kB / 0.8519 GB, free: 20.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/1.138, allocations: 54.28 kB / 0.852 GB, free: 20.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/1.138, allocations: 102.3 kB / 0.8521 GB, free: 20.18 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/1.138, allocations: 25.7 kB / 0.8521 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.86e-05/1.138, allocations: 91.73 kB / 0.8522 GB, free: 20.06 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/1.138, allocations: 9.281 kB / 0.8522 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/1.138, allocations: 4.125 kB / 0.8522 GB, free: 20.05 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001717/1.138, allocations: 318.9 kB / 0.8525 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/1.138, allocations: 8.312 kB / 0.8525 GB, free: 19.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/1.138, allocations: 20.53 kB / 0.8525 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.537e-05/1.138, allocations: 9.969 kB / 0.8525 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.138, allocations: 0 / 0.8525 GB, free: 19.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001925/1.138, allocations: 58.03 kB / 0.8526 GB, free: 19.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.138, allocations: 9.688 kB / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.139, allocations: 5.203 kB / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.139, allocations: 0 / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/1.139, allocations: 8.906 kB / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.139, allocations: 1.062 kB / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.942e-05/1.139, allocations: 0.9062 kB / 0.8526 GB, free: 19.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/1.139, allocations: 1.062 kB / 0.8526 GB, free: 19.68 MB / 0.6823 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.0001291/1.139, allocations: 112.2 kB / 0.8527 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.005e-05/1.139, allocations: 7.812 kB / 0.8527 GB, free: 19.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/1.139, allocations: 12.05 kB / 0.8527 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/1.139, allocations: 5.234 kB / 0.8527 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.139, allocations: 2.062 kB / 0.8527 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/1.139, allocations: 0 / 0.8527 GB, free: 19.55 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006084/1.14, allocations: 369.1 kB / 0.8531 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.14, allocations: 0 / 0.8531 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.305e-05/1.14, allocations: 12.8 kB / 0.8531 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/1.14, allocations: 0.9688 kB / 0.8531 GB, free: 19.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/1.14, allocations: 5.062 kB / 0.8531 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.942e-05/1.14, allocations: 1.156 kB / 0.8531 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.14, allocations: 0.7188 kB / 0.8531 GB, free: 19.15 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/1.14, allocations: 85.72 kB / 0.8532 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/1.14, allocations: 80.72 kB / 0.8533 GB, free: 18.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/1.14, allocations: 13 kB / 0.8533 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.14, allocations: 3.5 kB / 0.8533 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.245e-05/1.141, allocations: 0.6875 kB / 0.8533 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/1.141, allocations: 1.125 kB / 0.8533 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.868e-05/1.141, allocations: 82.17 kB / 0.8534 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/1.141, allocations: 0 / 0.8534 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004645/1.141, allocations: 9.562 kB / 0.8534 GB, free: 18.89 MB / 0.6823 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.0007458/1.142, allocations: 0.6989 MB / 0.8541 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001473/1.142, allocations: 18.3 kB / 0.8541 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.142, allocations: 7 kB / 0.8541 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.604e-05/1.142, allocations: 5 kB / 0.8541 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/1.142, allocations: 17.03 kB / 0.8541 GB, free: 18.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/1.143, allocations: 158.2 kB / 0.8543 GB, free: 18.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/1.144, allocations: 0.6825 MB / 0.8549 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001348/1.144, allocations: 9.953 kB / 0.8549 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/1.144, allocations: 9.406 kB / 0.8549 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/1.144, allocations: 0 / 0.8549 GB, free: 17.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/1.17, allocations: 1.196 MB / 0.8561 GB, free: 17.13 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/1.17, allocations: 189.5 kB / 0.8563 GB, free: 16.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.545, allocations: 0 / 0.8563 GB, free: 16.89 MB / 0.6823 GB