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.01163/0.01166, allocations: 107.1 kB / 15.06 MB, free: 5.555 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.001312/0.001312, allocations: 182.2 kB / 15.95 MB, free: 5.52 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.01/2.01, allocations: 194.6 MB / 211.3 MB, free: 11.06 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.308/2.308, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005136, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7295/0.7301, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange): time 0.2274/0.9575, allocations: 125.9 MB / 0.8063 GB, free: 240 kB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00181/0.9594, allocations: 0.8497 MB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.9596, allocations: 4 kB / 0.8072 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.9599, allocations: 43.73 kB / 0.8072 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006348/0.9605, allocations: 139.6 kB / 0.8074 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.9609, allocations: 91.75 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007734/0.9617, allocations: 227.6 kB / 0.8077 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.9618, allocations: 45.27 kB / 0.8077 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 8.132e-05/0.9619, allocations: 35.8 kB / 0.8077 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.284e-05/0.962, allocations: 51.7 kB / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.9621, allocations: 0 / 0.8078 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006029/0.9627, allocations: 207.7 kB / 0.808 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.9628, allocations: 15.92 kB / 0.808 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.543e-05/0.9628, allocations: 45.64 kB / 0.808 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003851/0.9632, allocations: 153.2 kB / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.9632, allocations: 0 / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9632, allocations: 0 / 0.8082 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.9632, allocations: 3.938 kB / 0.8082 GB, free: 14.33 MB / 0.6355 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.0007555/0.964, allocations: 442.8 kB / 0.8086 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.9641, allocations: 15.97 kB / 0.8086 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.672e-05/0.9641, allocations: 38.55 kB / 0.8087 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.9645, allocations: 47.78 kB / 0.8087 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.9648, allocations: 206.8 kB / 0.8089 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.9648, allocations: 11.95 kB / 0.8089 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.9649, allocations: 12 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003916/0.9653, allocations: 117.6 kB / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.9653, allocations: 0 / 0.809 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.9653, allocations: 4 kB / 0.809 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.9654, allocations: 11.98 kB / 0.8091 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.9658, allocations: 103.9 kB / 0.8092 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.9668, allocations: 448.3 kB / 0.8096 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.9671, allocations: 98.53 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.9672, allocations: 3.953 kB / 0.8097 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.9672, allocations: 38.5 kB / 0.8097 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.9672, allocations: 0 / 0.8097 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007112/0.968, allocations: 161.8 kB / 0.8099 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.968, allocations: 51.41 kB / 0.8099 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.9683, allocations: 179.1 kB / 0.8101 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.9683, allocations: 29.7 kB / 0.8101 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/0.9684, allocations: 116 kB / 0.8102 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.9684, allocations: 19.86 kB / 0.8102 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.9685, allocations: 4 kB / 0.8103 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.9686, allocations: 322.8 kB / 0.8106 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.9688, allocations: 43.95 kB / 0.8106 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001848/0.969, allocations: 40.05 kB / 0.8106 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.9692, allocations: 39.92 kB / 0.8107 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9692, allocations: 4 kB / 0.8107 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004763/0.9697, allocations: 129.5 kB / 0.8108 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.9697, allocations: 7.953 kB / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.9698, allocations: 0 / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9698, allocations: 0 / 0.8108 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.97, allocations: 23.98 kB / 0.8108 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.97, allocations: 0 / 0.8108 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000165/0.9702, allocations: 23.78 kB / 0.8109 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.9702, allocations: 4 kB / 0.8109 GB, free: 11.37 MB / 0.6355 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.0001254/0.9704, allocations: 125.8 kB / 0.811 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.9704, allocations: 11.91 kB / 0.811 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.9709, allocations: 131 kB / 0.8111 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.971, allocations: 3.984 kB / 0.8111 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.971, allocations: 3.938 kB / 0.8111 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.971, allocations: 0 / 0.8111 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.9713, allocations: 225.6 kB / 0.8113 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9713, allocations: 0 / 0.8113 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.9715, allocations: 23.98 kB / 0.8114 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9715, allocations: 0 / 0.8114 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.9716, allocations: 3.984 kB / 0.8114 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.9716, allocations: 7.891 kB / 0.8114 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9716, allocations: 0 / 0.8114 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.9721, allocations: 215.3 kB / 0.8116 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.9722, allocations: 96.94 kB / 0.8117 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/0.9722, allocations: 0 / 0.8117 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.9724, allocations: 11.98 kB / 0.8117 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.9725, allocations: 11.95 kB / 0.8117 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.9725, allocations: 0 / 0.8117 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001576/0.9727, allocations: 135.2 kB / 0.8118 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.5e-07/0.9727, allocations: 0 / 0.8118 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003279/0.973, allocations: 27.91 kB / 0.8119 GB, free: 10.26 MB / 0.6355 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.0008384/0.9739, allocations: 0.7599 MB / 0.8126 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004286/0.9743, allocations: 83.95 kB / 0.8127 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.9743, allocations: 0 / 0.8127 GB, free: 9.391 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.9745, allocations: 44.55 kB / 0.8127 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004825/0.975, allocations: 43.91 kB / 0.8128 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.9771, allocations: 0.85 MB / 0.8136 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.9775, allocations: 0.7159 MB / 0.8143 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.9776, allocations: 16.88 kB / 0.8143 GB, free: 7.656 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.9777, allocations: 35.42 kB / 0.8143 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.9777, allocations: 0 / 0.8143 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02875/1.006, allocations: 2.865 MB / 0.8171 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.007, allocations: 193.9 kB / 0.8173 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.79, allocations: 2.812 kB / 0.8173 GB, free: 4.652 MB / 0.6355 GB