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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.123/4.123, allocations: 433.2 MB / 440.7 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.842e-05, allocations: 8 kB / 0.5325 GB, free: 1.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.62/0.6201, allocations: 98.7 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.714/7.334, allocations: 2.17 GB / 2.799 GB, free: 204.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/7.334, allocations: 85.09 kB / 2.799 GB, free: 204.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1288/7.463, allocations: 39.85 MB / 2.838 GB, free: 171.9 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.483e-06/7.463, allocations: 0 / 2.838 GB, free: 171.9 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.478e-05/7.463, allocations: 4 kB / 2.838 GB, free: 171.9 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.0006527/7.464, allocations: 456.2 kB / 2.838 GB, free: 171.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/7.464, allocations: 8.031 kB / 2.838 GB, free: 171.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003326/7.464, allocations: 31.8 kB / 2.838 GB, free: 171.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/7.464, allocations: 204.4 kB / 2.839 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/7.464, allocations: 3.938 kB / 2.839 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/7.464, allocations: 8 kB / 2.839 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001938/7.465, allocations: 62.48 kB / 2.839 GB, free: 171.1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/7.465, allocations: 96.88 kB / 2.839 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/7.465, allocations: 4 kB / 2.839 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/7.465, allocations: 4 kB / 2.839 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/7.465, allocations: 3.938 kB / 2.839 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007812/7.466, allocations: 413.8 kB / 2.839 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/7.466, allocations: 73.31 kB / 2.839 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/7.466, allocations: 26.05 kB / 2.839 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/7.466, allocations: 0 / 2.839 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/7.466, allocations: 38.5 kB / 2.839 GB, free: 170.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.674e-06/7.466, allocations: 0 / 2.839 GB, free: 170.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002522/7.466, allocations: 85.53 kB / 2.839 GB, free: 170.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/7.466, allocations: 51.41 kB / 2.84 GB, free: 170.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/7.467, allocations: 128.3 kB / 2.84 GB, free: 170.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/7.467, allocations: 29.7 kB / 2.84 GB, free: 170.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/7.467, allocations: 115.8 kB / 2.84 GB, free: 170.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/7.467, allocations: 26.83 kB / 2.84 GB, free: 170.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/7.467, allocations: 0 / 2.84 GB, free: 170.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/7.467, allocations: 322.4 kB / 2.84 GB, free: 169.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.348e-05/7.467, allocations: 20.44 kB / 2.84 GB, free: 169.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.225e-05/7.467, allocations: 21.38 kB / 2.84 GB, free: 169.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/7.467, allocations: 20.33 kB / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/7.467, allocations: 0 / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000179/7.467, allocations: 85.78 kB / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/7.467, allocations: 8 kB / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/7.467, allocations: 0 / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/7.467, allocations: 0 / 2.84 GB, free: 169.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/7.467, allocations: 19.98 kB / 2.84 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/7.467, allocations: 4 kB / 2.84 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/7.468, allocations: 15.94 kB / 2.84 GB, free: 169.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/7.468, allocations: 0 / 2.84 GB, free: 169.6 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 () * 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 6.448e-05/7.468, allocations: 108 kB / 2.84 GB, free: 169.5 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001737/7.468, allocations: 78.72 kB / 2.84 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/7.468, allocations: 11.81 kB / 2.84 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/7.468, allocations: 90.97 kB / 2.841 GB, free: 169.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/7.468, allocations: 11.94 kB / 2.841 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/7.468, allocations: 4 kB / 2.841 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/7.468, allocations: 0 / 2.841 GB, free: 169.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002288/7.469, allocations: 186.6 kB / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/7.469, allocations: 3.984 kB / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/7.469, allocations: 23.92 kB / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/7.469, allocations: 0 / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/7.469, allocations: 0 / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/7.469, allocations: 11.94 kB / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/7.469, allocations: 0 / 2.841 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/7.469, allocations: 177.3 kB / 2.841 GB, free: 168.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.191e-05/7.469, allocations: 92.2 kB / 2.841 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/7.469, allocations: 3.984 kB / 2.841 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/7.469, allocations: 8 kB / 2.841 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/7.469, allocations: 7.984 kB / 2.841 GB, free: 168.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/7.469, allocations: 0 / 2.841 GB, free: 168.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 8.636e-05/7.469, allocations: 118.5 kB / 2.841 GB, free: 168.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.41e-07/7.469, allocations: 0 / 2.841 GB, free: 168.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004567/7.47, allocations: 55.47 kB / 2.841 GB, free: 168.7 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 () * 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.001131/7.471, allocations: 1.25 MB / 2.842 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001976/7.471, allocations: 54.97 kB / 2.843 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/7.471, allocations: 0 / 2.843 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/7.471, allocations: 29.19 kB / 2.843 GB, free: 167.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/7.472, allocations: 29.53 kB / 2.843 GB, free: 167.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007109/7.473, allocations: 197.5 kB / 2.843 GB, free: 167.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001626/7.473, allocations: 0.7119 MB / 2.843 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001173/7.473, allocations: 16.41 kB / 2.843 GB, free: 166.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.656e-05/7.473, allocations: 32.38 kB / 2.844 GB, free: 166.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.964e-06/7.473, allocations: 0 / 2.844 GB, free: 166.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/7.522, allocations: 6.587 MB / 2.85 GB, free: 159.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/7.523, allocations: 156.5 kB / 2.85 GB, free: 159.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/10.17, allocations: 0 / 2.85 GB, free: 159.6 MB / 0.823 GB