Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|masExc.TSur|masExc.mWat_flow|masExc.Gc|masExc.XInf|masExc.humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.082/2.082, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 188.3 kB / 487 MB, free: 5.359 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.3 MB / 0.7819 GB, free: 1.395 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 96.56 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.596e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3071, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.483/3.79, allocations: 1.71 GB / 2.916 GB, free: 122.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/3.791, allocations: 81.02 kB / 2.916 GB, free: 122.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.07539/3.866, allocations: 39.8 MB / 2.954 GB, free: 89.35 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.503e-05/3.866, allocations: 0 / 2.954 GB, free: 89.35 MB / 1.151 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.0005181/3.867, allocations: 446.2 kB / 2.955 GB, free: 88.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/3.867, allocations: 13.34 kB / 2.955 GB, free: 88.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/3.867, allocations: 39.77 kB / 2.955 GB, free: 88.82 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/3.867, allocations: 209.5 kB / 2.955 GB, free: 88.58 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/3.867, allocations: 4 kB / 2.955 GB, free: 88.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/3.867, allocations: 8 kB / 2.955 GB, free: 88.57 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001475/3.867, allocations: 59.98 kB / 2.955 GB, free: 88.51 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/3.868, allocations: 87.42 kB / 2.955 GB, free: 88.42 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/3.868, allocations: 0 / 2.955 GB, free: 88.42 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/3.868, allocations: 7.906 kB / 2.955 GB, free: 88.41 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/3.868, allocations: 4 kB / 2.955 GB, free: 88.41 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/3.868, allocations: 421.1 kB / 2.956 GB, free: 87.96 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/3.868, allocations: 74.56 kB / 2.956 GB, free: 87.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/3.869, allocations: 24.92 kB / 2.956 GB, free: 87.85 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/3.869, allocations: 0 / 2.956 GB, free: 87.85 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/3.869, allocations: 30.56 kB / 2.956 GB, free: 87.81 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/3.869, allocations: 8 kB / 2.956 GB, free: 87.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=7): time 0.00021/3.869, allocations: 85.72 kB / 2.956 GB, free: 87.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/3.869, allocations: 51.41 kB / 2.956 GB, free: 87.65 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/3.869, allocations: 129.8 kB / 2.956 GB, free: 87.51 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/3.869, allocations: 29.7 kB / 2.956 GB, free: 87.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/3.869, allocations: 111.8 kB / 2.956 GB, free: 87.36 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/3.869, allocations: 23.66 kB / 2.956 GB, free: 87.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-06/3.869, allocations: 0 / 2.956 GB, free: 87.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.886e-05/3.869, allocations: 322.8 kB / 2.957 GB, free: 87.02 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/3.869, allocations: 20 kB / 2.957 GB, free: 87 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/3.869, allocations: 24.06 kB / 2.957 GB, free: 86.97 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.157e-05/3.869, allocations: 16 kB / 2.957 GB, free: 86.96 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/3.869, allocations: 0 / 2.957 GB, free: 86.96 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/3.869, allocations: 81.59 kB / 2.957 GB, free: 86.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/3.869, allocations: 8 kB / 2.957 GB, free: 86.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/3.869, allocations: 3.938 kB / 2.957 GB, free: 86.86 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/3.869, allocations: 7.891 kB / 2.957 GB, free: 86.85 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/3.87, allocations: 23.98 kB / 2.957 GB, free: 86.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/3.87, allocations: 0 / 2.957 GB, free: 86.83 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/3.87, allocations: 8 kB / 2.957 GB, free: 86.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/3.87, allocations: 4 kB / 2.957 GB, free: 86.82 MB / 1.151 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 4.898e-05/3.87, allocations: 112.9 kB / 2.957 GB, free: 86.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/3.87, allocations: 15.81 kB / 2.957 GB, free: 86.68 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/3.87, allocations: 102.1 kB / 2.957 GB, free: 86.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/3.87, allocations: 0 / 2.957 GB, free: 86.58 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/3.87, allocations: 0 / 2.957 GB, free: 86.58 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/3.87, allocations: 4 kB / 2.957 GB, free: 86.57 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001521/3.87, allocations: 186.1 kB / 2.957 GB, free: 86.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/3.87, allocations: 4 kB / 2.957 GB, free: 86.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/3.87, allocations: 23.98 kB / 2.957 GB, free: 86.33 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/3.87, allocations: 3.938 kB / 2.957 GB, free: 86.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/3.87, allocations: 0 / 2.957 GB, free: 86.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/3.87, allocations: 4 kB / 2.957 GB, free: 86.32 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/3.87, allocations: 0 / 2.957 GB, free: 86.32 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001342/3.87, allocations: 171.4 kB / 2.957 GB, free: 86.14 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/3.87, allocations: 93 kB / 2.957 GB, free: 86.03 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/3.871, allocations: 0 / 2.957 GB, free: 86.03 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/3.871, allocations: 15.94 kB / 2.957 GB, free: 86.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/3.871, allocations: 7.984 kB / 2.957 GB, free: 86 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/3.871, allocations: 0 / 2.957 GB, free: 86 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.604e-05/3.871, allocations: 113.3 kB / 2.958 GB, free: 85.89 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003228/3.871, allocations: 55.83 kB / 2.958 GB, free: 85.84 MB / 1.151 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.0007035/3.872, allocations: 0.6569 MB / 2.958 GB, free: 85.18 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001326/3.872, allocations: 55.97 kB / 2.958 GB, free: 85.13 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/3.872, allocations: 0 / 2.958 GB, free: 85.13 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.336e-05/3.872, allocations: 27.94 kB / 2.958 GB, free: 85.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/3.872, allocations: 27.92 kB / 2.958 GB, free: 85.07 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/3.873, allocations: 159.4 kB / 2.959 GB, free: 84.89 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/3.873, allocations: 0.727 MB / 2.959 GB, free: 84.14 MB / 1.151 GB Notification: Performance of SimCode: time 2.1e-07/3.873, allocations: 0 / 2.959 GB, free: 84.14 MB / 1.151 GB Notification: Performance of Templates: time 0.007641/3.881, allocations: 4.6 MB / 2.964 GB, free: 79.55 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches