Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 2.044/2.044, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001175/0.001175, allocations: 181.3 kB / 490.8 MB, free: 1.949 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.593/1.593, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.3 kB / 0.9264 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.887e-06/8.907e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2882, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.425/3.713, allocations: 1.711 GB / 2.923 GB, free: 132.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/3.713, allocations: 83.64 kB / 2.923 GB, free: 132.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.07424/3.788, allocations: 39.8 MB / 2.962 GB, free: 99.39 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.391e-05/3.788, allocations: 4 kB / 2.962 GB, free: 99.38 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.0005537/3.788, allocations: 448.9 kB / 2.962 GB, free: 98.91 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/3.788, allocations: 16.02 kB / 2.962 GB, free: 98.89 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/3.789, allocations: 35.34 kB / 2.962 GB, free: 98.86 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/3.789, allocations: 208.1 kB / 2.962 GB, free: 98.63 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/3.789, allocations: 4 kB / 2.962 GB, free: 98.63 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/3.789, allocations: 8 kB / 2.962 GB, free: 98.62 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001418/3.789, allocations: 61.23 kB / 2.962 GB, free: 98.58 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/3.789, allocations: 95.05 kB / 2.962 GB, free: 98.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/3.789, allocations: 3.984 kB / 2.962 GB, free: 98.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/3.789, allocations: 0 / 2.962 GB, free: 98.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/3.789, allocations: 7.906 kB / 2.962 GB, free: 98.49 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006377/3.79, allocations: 411.7 kB / 2.963 GB, free: 98.11 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/3.79, allocations: 75.84 kB / 2.963 GB, free: 98.05 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.588e-05/3.79, allocations: 27.73 kB / 2.963 GB, free: 98.02 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/3.79, allocations: 0 / 2.963 GB, free: 98.02 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/3.79, allocations: 38.06 kB / 2.963 GB, free: 97.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/3.79, allocations: 0 / 2.963 GB, free: 97.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=7): time 0.0002187/3.79, allocations: 79.41 kB / 2.963 GB, free: 97.91 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/3.79, allocations: 55.41 kB / 2.963 GB, free: 97.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/3.79, allocations: 130 kB / 2.963 GB, free: 97.72 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/3.79, allocations: 25.7 kB / 2.963 GB, free: 97.69 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.629e-05/3.79, allocations: 122.8 kB / 2.963 GB, free: 97.57 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/3.791, allocations: 15.66 kB / 2.963 GB, free: 97.56 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/3.791, allocations: 0 / 2.963 GB, free: 97.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.587e-05/3.791, allocations: 325.2 kB / 2.964 GB, free: 97.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.919e-05/3.791, allocations: 19.31 kB / 2.964 GB, free: 97.23 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.658e-05/3.791, allocations: 15.12 kB / 2.964 GB, free: 97.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.674e-05/3.791, allocations: 22.5 kB / 2.964 GB, free: 97.21 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/3.791, allocations: 0 / 2.964 GB, free: 97.21 MB / 1.151 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000136/3.791, allocations: 87.09 kB / 2.964 GB, free: 97.13 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/3.791, allocations: 11.94 kB / 2.964 GB, free: 97.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/3.791, allocations: 7.922 kB / 2.964 GB, free: 97.11 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/3.791, allocations: 0 / 2.964 GB, free: 97.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/3.791, allocations: 23.98 kB / 2.964 GB, free: 97.09 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/3.791, allocations: 3.906 kB / 2.964 GB, free: 97.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/3.791, allocations: 16 kB / 2.964 GB, free: 97.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/3.791, allocations: 0 / 2.964 GB, free: 97.07 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 5.688e-05/3.791, allocations: 104.9 kB / 2.964 GB, free: 96.96 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/3.791, allocations: 15.81 kB / 2.964 GB, free: 96.95 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/3.792, allocations: 99.95 kB / 2.964 GB, free: 96.86 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/3.792, allocations: 0 / 2.964 GB, free: 96.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/3.792, allocations: 0 / 2.964 GB, free: 96.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/3.792, allocations: 0 / 2.964 GB, free: 96.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/3.792, allocations: 195.6 kB / 2.964 GB, free: 96.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/3.792, allocations: 4 kB / 2.964 GB, free: 96.65 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/3.792, allocations: 19.98 kB / 2.964 GB, free: 96.63 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/3.792, allocations: 0 / 2.964 GB, free: 96.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/3.792, allocations: 0 / 2.964 GB, free: 96.63 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/3.792, allocations: 0 / 2.964 GB, free: 96.63 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/3.792, allocations: 0 / 2.964 GB, free: 96.63 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001487/3.792, allocations: 184.7 kB / 2.964 GB, free: 96.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/3.792, allocations: 89 kB / 2.965 GB, free: 96.35 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/3.792, allocations: 0 / 2.965 GB, free: 96.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/3.792, allocations: 8 kB / 2.965 GB, free: 96.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/3.792, allocations: 7.969 kB / 2.965 GB, free: 96.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/3.792, allocations: 4 kB / 2.965 GB, free: 96.33 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.153e-05/3.792, allocations: 111.5 kB / 2.965 GB, free: 96.23 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003413/3.793, allocations: 61.77 kB / 2.965 GB, free: 96.19 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.000754/3.794, allocations: 0.6557 MB / 2.965 GB, free: 95.54 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001413/3.794, allocations: 42.44 kB / 2.965 GB, free: 95.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/3.794, allocations: 3.938 kB / 2.965 GB, free: 95.51 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/3.794, allocations: 26.69 kB / 2.965 GB, free: 95.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/3.794, allocations: 27.42 kB / 2.966 GB, free: 95.47 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/3.794, allocations: 150.1 kB / 2.966 GB, free: 95.32 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/3.795, allocations: 0.727 MB / 2.966 GB, free: 94.56 MB / 1.151 GB Notification: Performance of SimCode: time 3.61e-07/3.795, allocations: 4 kB / 2.966 GB, free: 94.56 MB / 1.151 GB Notification: Performance of Templates: time 0.007655/3.802, allocations: 4.607 MB / 2.971 GB, free: 89.97 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_MassExchange.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.MassExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches