Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange",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.01024/0.01024, allocations: 89.02 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.001175/0.001175, allocations: 176.4 kB / 15.93 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.107/2.107, 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.486/2.486, allocations: 252.8 MB / 0.511 GB, free: 8.336 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006533/0.0006535, allocations: 15.12 kB / 0.6243 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2413, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.8576/1.099, allocations: 125.9 MB / 0.851 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.001636/1.101, allocations: 0.8496 MB / 0.8519 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001391/1.101, allocations: 1.312 kB / 0.8519 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.0002733/1.101, allocations: 33.27 kB / 0.8519 GB, free: 5.441 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.0006717/1.102, allocations: 151.4 kB / 0.852 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/1.102, allocations: 91.88 kB / 0.8521 GB, free: 5.438 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.000753/1.103, allocations: 230.7 kB / 0.8523 GB, free: 5.434 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/1.103, allocations: 45.47 kB / 0.8524 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 9.223e-05/1.103, allocations: 33.45 kB / 0.8524 GB, free: 5.426 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/1.103, allocations: 49.77 kB / 0.8525 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/1.103, allocations: 3.031 kB / 0.8525 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/1.104, allocations: 203.5 kB / 0.8527 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/1.104, allocations: 22.58 kB / 0.8527 GB, free: 5.422 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/1.105, allocations: 47.36 kB / 0.8527 GB, free: 21.39 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/1.105, allocations: 159.6 kB / 0.8529 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.105, allocations: 0 / 0.8529 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.224e-06/1.105, allocations: 0.875 kB / 0.8529 GB, free: 21.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.151e-06/1.105, allocations: 0 / 0.8529 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000806/1.106, allocations: 440.5 kB / 0.8533 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.106, allocations: 9.281 kB / 0.8533 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.492e-05/1.106, allocations: 43.75 kB / 0.8533 GB, free: 20.94 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004014/1.106, allocations: 38.98 kB / 0.8534 GB, free: 20.93 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/1.107, allocations: 207.1 kB / 0.8536 GB, free: 20.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/1.107, allocations: 11.81 kB / 0.8536 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/1.107, allocations: 13.34 kB / 0.8536 GB, free: 20.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/1.107, allocations: 119.6 kB / 0.8537 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/1.107, allocations: 2.906 kB / 0.8537 GB, free: 20.69 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.107, allocations: 8.828 kB / 0.8537 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/1.107, allocations: 3 kB / 0.8537 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/1.108, allocations: 102.2 kB / 0.8538 GB, free: 20.68 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009508/1.109, allocations: 460.7 kB / 0.8543 GB, free: 20.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/1.109, allocations: 88.8 kB / 0.8544 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.045e-05/1.109, allocations: 4.094 kB / 0.8544 GB, free: 20.37 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/1.109, allocations: 35.62 kB / 0.8544 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/1.109, allocations: 0.75 kB / 0.8544 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007537/1.11, allocations: 162.6 kB / 0.8546 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/1.11, allocations: 60.86 kB / 0.8546 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/1.11, allocations: 177.6 kB / 0.8548 GB, free: 20.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/1.11, allocations: 26.27 kB / 0.8548 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/1.11, allocations: 113.8 kB / 0.8549 GB, free: 19.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.833e-05/1.11, allocations: 18.44 kB / 0.8549 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/1.111, allocations: 6.172 kB / 0.8549 GB, free: 19.98 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.111, allocations: 323.8 kB / 0.8552 GB, free: 19.67 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.111, allocations: 43.92 kB / 0.8553 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/1.111, allocations: 36.84 kB / 0.8553 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/1.111, allocations: 38.39 kB / 0.8554 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.111, allocations: 0 / 0.8554 GB, free: 19.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004891/1.112, allocations: 132 kB / 0.8555 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/1.112, allocations: 5.156 kB / 0.8555 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.112, allocations: 1 kB / 0.8555 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.112, allocations: 0 / 0.8555 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/1.112, allocations: 26.34 kB / 0.8555 GB, free: 19.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.112, allocations: 5.047 kB / 0.8555 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/1.112, allocations: 14.83 kB / 0.8555 GB, free: 19.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.112, allocations: 2 kB / 0.8555 GB, free: 19.61 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 8 * 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.0001378/1.113, allocations: 122.8 kB / 0.8557 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/1.113, allocations: 17.09 kB / 0.8557 GB, free: 19.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/1.113, allocations: 134.8 kB / 0.8558 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.113, allocations: 1.875 kB / 0.8558 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.113, allocations: 0 / 0.8558 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.113, allocations: 3.953 kB / 0.8558 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/1.114, allocations: 221.4 kB / 0.856 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.114, allocations: 1.312 kB / 0.856 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/1.114, allocations: 22.91 kB / 0.856 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.114, allocations: 0 / 0.856 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.114, allocations: 7.922 kB / 0.856 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.114, allocations: 0 / 0.856 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/1.114, allocations: 5.297 kB / 0.856 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/1.114, allocations: 226.3 kB / 0.8563 GB, free: 19.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.563e-05/1.114, allocations: 96.38 kB / 0.8564 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/1.115, allocations: 0 / 0.8564 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/1.115, allocations: 15.56 kB / 0.8564 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/1.115, allocations: 2.656 kB / 0.8564 GB, free: 19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/1.115, allocations: 0.6562 kB / 0.8564 GB, free: 19 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001703/1.115, allocations: 146.3 kB / 0.8565 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.62e-07/1.115, allocations: 0 / 0.8565 GB, free: 18.92 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003756/1.115, allocations: 22.19 kB / 0.8565 GB, free: 18.92 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 (7): * Single equations (assignments): 7 * 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.0009017/1.116, allocations: 0.7603 MB / 0.8573 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004412/1.117, allocations: 92.36 kB / 0.8574 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.117, allocations: 0 / 0.8574 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001937/1.117, allocations: 46.73 kB / 0.8574 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00051/1.118, allocations: 32.38 kB / 0.8574 GB, free: 18.24 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/1.12, allocations: 0.8571 MB / 0.8583 GB, free: 17.81 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/1.12, allocations: 0.709 MB / 0.859 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000138/1.12, allocations: 13.41 kB / 0.859 GB, free: 17.11 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/1.12, allocations: 35.61 kB / 0.859 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/1.12, allocations: 0 / 0.859 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/1.144, allocations: 2.858 MB / 0.8618 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003982/1.145, allocations: 207.6 kB / 0.862 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.483, allocations: 0 / 0.862 GB, free: 16.58 MB / 0.6823 GB