Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.01061/0.01062, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.001232/0.001232, allocations: 170.1 kB / 15.92 MB, free: 5.996 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.257/2.257, 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.379/2.379, allocations: 252.8 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004725/0.0004726, allocations: 13.78 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2459, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.08412/0.3301, allocations: 34.82 MB / 0.7621 GB, free: 7.238 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.3571, allocations: 8.847 MB / 0.7707 GB, free: 14.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.3595, allocations: 43.69 kB / 0.7707 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003885/0.3634, allocations: 0.6063 MB / 0.7713 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.011/0.3745, allocations: 1.788 MB / 0.7731 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008192/0.3827, allocations: 1.275 MB / 0.7743 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006832/0.3896, allocations: 1.952 MB / 0.7762 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.3921, allocations: 0.7457 MB / 0.777 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003823/0.3959, allocations: 0.8835 MB / 0.7778 GB, free: 7.059 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002099/0.3981, allocations: 0.5365 MB / 0.7783 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003628/0.3985, allocations: 40 kB / 0.7784 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003936/0.4024, allocations: 0.5461 MB / 0.7789 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006945/0.4032, allocations: 187.2 kB / 0.7791 GB, free: 5.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0008075/0.404, allocations: 257.1 kB / 0.7793 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003989/0.408, allocations: 1.344 MB / 0.7807 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4081, allocations: 0 / 0.7807 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4081, allocations: 0 / 0.7807 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.156e-05/0.4082, allocations: 0 / 0.7807 GB, free: 4.145 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.004222/0.4124, allocations: 1.301 MB / 0.7819 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.4125, allocations: 8.031 kB / 0.7819 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01259/0.4251, allocations: 114.5 kB / 0.782 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008669/0.426, allocations: 138.5 kB / 0.7822 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.437, allocations: 0.9707 MB / 0.7831 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.4372, allocations: 58 kB / 0.7832 GB, free: 1.453 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.4374, allocations: 68 kB / 0.7832 GB, free: 1.387 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.4403, allocations: 0.7983 MB / 0.784 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.4404, allocations: 0 / 0.784 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001416/0.4406, allocations: 32 kB / 0.7841 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.4406, allocations: 16 kB / 0.7841 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.4433, allocations: 0.5867 MB / 0.7846 GB, free: 15.92 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00877/0.4521, allocations: 3.563 MB / 0.7881 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.4534, allocations: 269.9 kB / 0.7884 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008782/0.4543, allocations: 0.657 MB / 0.789 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.4544, allocations: 42.55 kB / 0.7891 GB, free: 11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=31): time 3.947e-06/0.4544, allocations: 0 / 0.7891 GB, free: 11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31): time 0.002752/0.4572, allocations: 0.5437 MB / 0.7896 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.4573, allocations: 59.34 kB / 0.7897 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.4599, allocations: 0.9605 MB / 0.7906 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.941e-05/0.46, allocations: 37.7 kB / 0.7906 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008084/0.4609, allocations: 499.5 kB / 0.7911 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.4611, allocations: 122.4 kB / 0.7912 GB, free: 8.742 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4612, allocations: 8 kB / 0.7912 GB, free: 8.734 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4614, allocations: 322 kB / 0.7915 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008733/0.4623, allocations: 169 kB / 0.7917 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.4634, allocations: 359 kB / 0.792 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.4645, allocations: 231.8 kB / 0.7923 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.4645, allocations: 0 / 0.7923 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002663/0.4672, allocations: 0.6328 MB / 0.7929 GB, free: 6.957 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.4673, allocations: 8 kB / 0.7929 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.4673, allocations: 4.438 kB / 0.7929 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.58e-05/0.4674, allocations: 19.94 kB / 0.7929 GB, free: 6.926 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.4686, allocations: 131.7 kB / 0.793 GB, free: 6.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.4687, allocations: 8 kB / 0.793 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.4707, allocations: 127 kB / 0.7932 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4709, allocations: 24 kB / 0.7932 GB, free: 6.641 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0008023/0.4717, allocations: 277.7 kB / 0.7934 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.472, allocations: 94.88 kB / 0.7935 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002192/0.4742, allocations: 0.5 MB / 0.794 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.4742, allocations: 7.984 kB / 0.794 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4743, allocations: 0 / 0.794 GB, free: 5.754 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001716/0.476, allocations: 472.9 kB / 0.7945 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005937/0.482, allocations: 1.377 MB / 0.7958 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.482, allocations: 4 kB / 0.7958 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/0.483, allocations: 83.94 kB / 0.7959 GB, free: 3.727 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.4831, allocations: 8 kB / 0.7959 GB, free: 3.719 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/0.4832, allocations: 16.11 kB / 0.7959 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.265e-06/0.4832, allocations: 0 / 0.7959 GB, free: 3.703 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.4832, allocations: 4 kB / 0.7959 GB, free: 3.699 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003259/0.4865, allocations: 0.8439 MB / 0.7968 GB, free: 2.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.4873, allocations: 255.7 kB / 0.797 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/0.4876, allocations: 12 kB / 0.797 GB, free: 2.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/0.4892, allocations: 59.84 kB / 0.7971 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4893, allocations: 27.92 kB / 0.7971 GB, free: 2.434 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.4894, allocations: 15.97 kB / 0.7971 GB, free: 2.418 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002056/0.4915, allocations: 0.6704 MB / 0.7978 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.775e-06/0.4915, allocations: 4 kB / 0.7978 GB, free: 1.734 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002172/0.4937, allocations: 343.3 kB / 0.7981 GB, free: 1.398 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004949/0.4987, allocations: 2.019 MB / 0.8001 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002009/0.5007, allocations: 436.1 kB / 0.8005 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/0.5008, allocations: 0 / 0.8005 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.5017, allocations: 196.6 kB / 0.8007 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/0.5083, allocations: 0.5994 MB / 0.8013 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/0.5175, allocations: 5.94 MB / 0.8071 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.5188, allocations: 1.056 MB / 0.8081 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001793/0.5206, allocations: 196.3 kB / 0.8083 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001012/0.5217, allocations: 367.3 kB / 0.8086 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of SimCode: time 3.717e-06/0.5217, allocations: 4 kB / 0.8086 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09353/0.6152, allocations: 28.88 MB / 0.8368 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003257/0.6156, allocations: 235.4 kB / 0.8371 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.6/4.216, allocations: 3.938 kB / 0.8371 GB, free: 9.613 MB / 0.6667 GB