Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fouPor.Q1_flow|fouPor.Q2_flow|fouPor.vol1.T|fouPor.vol2.T|sou2.T|sou1.T_in|sin.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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.093/2.093, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001471/0.001471, allocations: 175.7 kB / 490.8 MB, free: 1.977 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.537/1.537, allocations: 221.3 MB / 0.7863 GB, free: 13.73 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.001146/0.001146, allocations: 89.42 kB / 0.9264 GB, free: 14.25 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.27e-05/1.273e-05, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2861, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.36, allocations: 419.8 MB / 1.622 GB, free: 12.04 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/1.36, allocations: 91.83 kB / 1.622 GB, free: 12 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.449/2.809, allocations: 444.3 MB / 2.055 GB, free: 147.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001548/2.809, allocations: 27.98 kB / 2.056 GB, free: 147.1 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.003044/2.812, allocations: 1.25 MB / 2.057 GB, free: 145.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.812, allocations: 8.031 kB / 2.057 GB, free: 145.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007016/2.813, allocations: 146.4 kB / 2.057 GB, free: 145.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02884/2.842, allocations: 13.02 MB / 2.07 GB, free: 132.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/2.842, allocations: 20 kB / 2.07 GB, free: 132.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/2.842, allocations: 44 kB / 2.07 GB, free: 132.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001111/2.843, allocations: 455.9 kB / 2.07 GB, free: 132 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/2.844, allocations: 0.6306 MB / 2.071 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/2.844, allocations: 0 / 2.071 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.49e-05/2.845, allocations: 4 kB / 2.071 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/2.845, allocations: 23.94 kB / 2.071 GB, free: 131.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/2.849, allocations: 3.537 MB / 2.074 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/2.849, allocations: 197.8 kB / 2.074 GB, free: 127.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/2.849, allocations: 144.8 kB / 2.075 GB, free: 127.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/2.85, allocations: 0.6649 MB / 2.075 GB, free: 126.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/2.85, allocations: 35.09 kB / 2.075 GB, free: 126.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 1.773e-06/2.85, allocations: 0 / 2.075 GB, free: 126.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.0007997/2.851, allocations: 356.9 kB / 2.076 GB, free: 126 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/2.851, allocations: 63.39 kB / 2.076 GB, free: 125.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007767/2.851, allocations: 0.6454 MB / 2.076 GB, free: 125.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/2.851, allocations: 29.7 kB / 2.076 GB, free: 125.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/2.852, allocations: 378.9 kB / 2.077 GB, free: 124.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/2.852, allocations: 98.56 kB / 2.077 GB, free: 124.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/2.852, allocations: 0 / 2.077 GB, free: 124.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.089e-05/2.852, allocations: 329.9 kB / 2.077 GB, free: 124.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/2.852, allocations: 117 kB / 2.077 GB, free: 124.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/2.852, allocations: 325.7 kB / 2.077 GB, free: 123.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/2.853, allocations: 187.7 kB / 2.078 GB, free: 123.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/2.853, allocations: 8 kB / 2.078 GB, free: 123.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007982/2.853, allocations: 492.6 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/2.853, allocations: 4 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/2.853, allocations: 4 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/2.853, allocations: 8 kB / 2.078 GB, free: 123.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/2.854, allocations: 123.8 kB / 2.078 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/2.854, allocations: 19.95 kB / 2.078 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007081/2.855, allocations: 83.42 kB / 2.078 GB, free: 123 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/2.855, allocations: 27.94 kB / 2.078 GB, free: 123 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001025/2.855, allocations: 116.8 kB / 2.078 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/2.855, allocations: 90.95 kB / 2.079 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/2.856, allocations: 436.8 kB / 2.079 GB, free: 122.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/2.856, allocations: 7.984 kB / 2.079 GB, free: 122.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/2.856, allocations: 0 / 2.079 GB, free: 122.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000501/2.856, allocations: 408.7 kB / 2.079 GB, free: 121.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/2.858, allocations: 1.229 MB / 2.081 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.858, allocations: 4 kB / 2.081 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/2.858, allocations: 79.89 kB / 2.081 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/2.858, allocations: 8.156 kB / 2.081 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/2.858, allocations: 7.984 kB / 2.081 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/2.858, allocations: 7.906 kB / 2.081 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/2.858, allocations: 0 / 2.081 GB, free: 120.5 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008943/2.859, allocations: 0.7555 MB / 2.081 GB, free: 119.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003634/2.86, allocations: 231.8 kB / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/2.86, allocations: 4 kB / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/2.86, allocations: 51.92 kB / 2.082 GB, free: 119.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/2.86, allocations: 23.97 kB / 2.082 GB, free: 119.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/2.86, allocations: 15.98 kB / 2.082 GB, free: 119.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005412/2.861, allocations: 0.4952 MB / 2.082 GB, free: 118.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001239/2.862, allocations: 363.2 kB / 2.083 GB, free: 118.5 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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/2.863, allocations: 0.5704 MB / 2.083 GB, free: 117.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005309/2.864, allocations: 331.9 kB / 2.083 GB, free: 117.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/2.864, allocations: 5.375 kB / 2.083 GB, free: 117.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/2.864, allocations: 159.8 kB / 2.084 GB, free: 117.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/2.866, allocations: 462.4 kB / 2.084 GB, free: 117 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/2.868, allocations: 1.18 MB / 2.085 GB, free: 115.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/2.869, allocations: 1.144 MB / 2.086 GB, free: 114.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.8e-07/2.869, allocations: 0 / 2.086 GB, free: 114.6 MB / 1.151 GB Notification: Performance of Templates: time 0.02435/2.893, allocations: 17.03 MB / 2.103 GB, free: 97.72 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches