Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.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.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01752/0.01752, allocations: 107.1 kB / 15.05 MB, free: 5.934 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.002132/0.002132, allocations: 187.7 kB / 15.95 MB, free: 5.898 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 2.175/2.175, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.252/2.252, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005486/0.0005487, allocations: 16 kB / 0.587 GB, free: 2.039 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.7322, allocations: 98.71 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.401/8.133, allocations: 2.161 GB / 2.844 GB, free: 226.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/8.133, allocations: 97.64 kB / 2.844 GB, free: 226.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.129/8.262, allocations: 40.55 MB / 2.884 GB, free: 199.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.563e-06/8.262, allocations: 0 / 2.884 GB, free: 199.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.224e-05/8.262, allocations: 0 / 2.884 GB, free: 199.2 MB / 0.823 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.0007368/8.263, allocations: 482.5 kB / 2.884 GB, free: 198.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/8.263, allocations: 12.02 kB / 2.884 GB, free: 198.7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.844e-05/8.263, allocations: 38.38 kB / 2.884 GB, free: 198.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/8.263, allocations: 39.66 kB / 2.884 GB, free: 198.6 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/8.264, allocations: 205.8 kB / 2.885 GB, free: 198.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/8.264, allocations: 8 kB / 2.885 GB, free: 198.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/8.264, allocations: 8 kB / 2.885 GB, free: 198.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/8.264, allocations: 124 kB / 2.885 GB, free: 198.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/8.264, allocations: 0 / 2.885 GB, free: 198.3 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/8.264, allocations: 3.938 kB / 2.885 GB, free: 198.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/8.264, allocations: 7.938 kB / 2.885 GB, free: 198.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/8.265, allocations: 103.2 kB / 2.885 GB, free: 198.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000844/8.265, allocations: 461 kB / 2.885 GB, free: 197.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/8.266, allocations: 109 kB / 2.885 GB, free: 197.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/8.266, allocations: 4 kB / 2.885 GB, free: 197.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/8.266, allocations: 30.56 kB / 2.885 GB, free: 197.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/8.266, allocations: 0 / 2.885 GB, free: 197.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0006619/8.267, allocations: 163.6 kB / 2.886 GB, free: 197.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/8.267, allocations: 55.28 kB / 2.886 GB, free: 197.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/8.267, allocations: 160.6 kB / 2.886 GB, free: 197.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/8.267, allocations: 25.7 kB / 2.886 GB, free: 197.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/8.267, allocations: 117 kB / 2.886 GB, free: 197.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/8.267, allocations: 22.97 kB / 2.886 GB, free: 197.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-06/8.267, allocations: 3.938 kB / 2.886 GB, free: 197.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.795e-05/8.267, allocations: 328 kB / 2.886 GB, free: 196.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/8.267, allocations: 41.78 kB / 2.886 GB, free: 196.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/8.267, allocations: 36.94 kB / 2.886 GB, free: 196.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001871/8.268, allocations: 45.78 kB / 2.886 GB, free: 196.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/8.268, allocations: 0 / 2.886 GB, free: 196.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004296/8.268, allocations: 126.9 kB / 2.886 GB, free: 196.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/8.268, allocations: 4 kB / 2.886 GB, free: 196.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/8.268, allocations: 0 / 2.886 GB, free: 196.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/8.268, allocations: 4 kB / 2.886 GB, free: 196.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/8.268, allocations: 19.98 kB / 2.886 GB, free: 196.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/8.268, allocations: 3.953 kB / 2.886 GB, free: 196.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/8.269, allocations: 19.83 kB / 2.886 GB, free: 196.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/8.269, allocations: 7.25 kB / 2.887 GB, free: 196.5 MB / 0.823 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.0001052/8.269, allocations: 122.9 kB / 2.887 GB, free: 196.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/8.269, allocations: 11.91 kB / 2.887 GB, free: 196.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004942/8.269, allocations: 142.1 kB / 2.887 GB, free: 196.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/8.269, allocations: 0 / 2.887 GB, free: 196.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/8.269, allocations: 0 / 2.887 GB, free: 196.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/8.269, allocations: 3.953 kB / 2.887 GB, free: 196.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/8.27, allocations: 221.8 kB / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/8.27, allocations: 4 kB / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/8.27, allocations: 19.92 kB / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/8.27, allocations: 4 kB / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/8.27, allocations: 0 / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/8.27, allocations: 0 / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/8.27, allocations: 0 / 2.887 GB, free: 196 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/8.27, allocations: 220.5 kB / 2.887 GB, free: 195.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/8.27, allocations: 92.05 kB / 2.887 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/8.27, allocations: 3.938 kB / 2.887 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/8.271, allocations: 15.36 kB / 2.887 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/8.271, allocations: 3.984 kB / 2.887 GB, free: 195.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/8.271, allocations: 8 kB / 2.887 GB, free: 195.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001299/8.271, allocations: 136.1 kB / 2.887 GB, free: 195.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.102e-06/8.271, allocations: 0 / 2.887 GB, free: 195.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004746/8.271, allocations: 64.55 kB / 2.888 GB, free: 195.5 MB / 0.823 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.001331/8.273, allocations: 1.211 MB / 2.889 GB, free: 194.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004429/8.273, allocations: 92.69 kB / 2.889 GB, free: 194.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/8.273, allocations: 0 / 2.889 GB, free: 194.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/8.273, allocations: 41.59 kB / 2.889 GB, free: 194.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/8.274, allocations: 34.22 kB / 2.889 GB, free: 194.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/8.276, allocations: 0.8527 MB / 2.89 GB, free: 193.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/8.276, allocations: 0.7199 MB / 2.89 GB, free: 192.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001243/8.276, allocations: 8.891 kB / 2.89 GB, free: 192.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/8.276, allocations: 36.36 kB / 2.89 GB, free: 192.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.212e-06/8.276, allocations: 0 / 2.89 GB, free: 192.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/8.316, allocations: 11.87 MB / 2.902 GB, free: 180.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/8.316, allocations: 203.2 kB / 2.902 GB, free: 180.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.189/11.51, allocations: 7.516 kB / 2.902 GB, free: 180.6 MB / 0.823 GB