Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.201/1.201, allocations: 249.4 MB / 256.7 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009608/0.0009608, allocations: 181.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.045/1.045, allocations: 205.1 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007843/0.0007845, allocations: 94.73 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.202e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.027, allocations: 400 MB / 1.275 GB, free: 328.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.027, allocations: 92.58 kB / 1.275 GB, free: 328.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.9885/2.016, allocations: 421.9 MB / 1.687 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.639e-05/2.016, allocations: 31.02 kB / 1.687 GB, free: 197.4 MB / 0.8698 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.001839/2.018, allocations: 1.26 MB / 1.689 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/2.018, allocations: 7.875 kB / 1.689 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/2.018, allocations: 136.7 kB / 1.689 GB, free: 196.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02384/2.042, allocations: 12.4 MB / 1.701 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/2.042, allocations: 22.62 kB / 1.701 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.629e-05/2.042, allocations: 45.12 kB / 1.701 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007772/2.043, allocations: 456.4 kB / 1.701 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008353/2.044, allocations: 0.6227 MB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/2.044, allocations: 11.36 kB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/2.044, allocations: 0 / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/2.044, allocations: 19.28 kB / 1.702 GB, free: 196 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003148/2.047, allocations: 3.533 MB / 1.705 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/2.048, allocations: 202.4 kB / 1.706 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/2.048, allocations: 152.5 kB / 1.706 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003715/2.048, allocations: 0.6604 MB / 1.706 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/2.048, allocations: 37.34 kB / 1.706 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/2.048, allocations: 0 / 1.706 GB, free: 193.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.0006539/2.049, allocations: 354 kB / 1.707 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/2.049, allocations: 55.25 kB / 1.707 GB, free: 193.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006407/2.05, allocations: 0.6378 MB / 1.707 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/2.05, allocations: 32.8 kB / 1.707 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/2.05, allocations: 377.7 kB / 1.708 GB, free: 192.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/2.05, allocations: 108.6 kB / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.584e-05/2.05, allocations: 0 / 1.708 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.103e-05/2.05, allocations: 321.5 kB / 1.708 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/2.05, allocations: 121.7 kB / 1.708 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/2.05, allocations: 334.7 kB / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003336/2.051, allocations: 196.4 kB / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/2.051, allocations: 0 / 1.709 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006897/2.051, allocations: 497.6 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/2.051, allocations: 6.906 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/2.051, allocations: 5.844 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/2.051, allocations: 7.719 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/2.052, allocations: 125.7 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/2.052, allocations: 10.81 kB / 1.709 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000562/2.052, allocations: 80 kB / 1.71 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/2.052, allocations: 33.22 kB / 1.71 GB, free: 192.2 MB / 0.8698 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 8.76e-05/2.053, allocations: 120.5 kB / 1.71 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.909e-05/2.053, allocations: 86.5 kB / 1.71 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007155/2.053, allocations: 442.1 kB / 1.71 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/2.053, allocations: 3.531 kB / 1.71 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/2.053, allocations: 0 / 1.71 GB, free: 192 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004752/2.054, allocations: 403.5 kB / 1.711 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/2.055, allocations: 1.211 MB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/2.055, allocations: 3.938 kB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003401/2.056, allocations: 86.39 kB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/2.056, allocations: 7.844 kB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/2.056, allocations: 0 / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/2.056, allocations: 7.625 kB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.056, allocations: 10.69 kB / 1.712 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007867/2.056, allocations: 0.7578 MB / 1.713 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/2.057, allocations: 228.8 kB / 1.713 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/2.057, allocations: 0 / 1.713 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/2.057, allocations: 55.5 kB / 1.713 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/2.057, allocations: 18.11 kB / 1.713 GB, free: 191 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/2.057, allocations: 20.48 kB / 1.713 GB, free: 191 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000436/2.058, allocations: 499.8 kB / 1.713 GB, free: 190.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009216/2.059, allocations: 371 kB / 1.714 GB, free: 190.9 MB / 0.8698 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.0008122/2.06, allocations: 0.5518 MB / 1.714 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000429/2.06, allocations: 341.1 kB / 1.715 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.06, allocations: 3.469 kB / 1.715 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/2.06, allocations: 163.9 kB / 1.715 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/2.062, allocations: 472.6 kB / 1.715 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/2.064, allocations: 1.166 MB / 1.716 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/2.065, allocations: 1.142 MB / 1.717 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of SimCode: time 3.21e-07/2.065, allocations: 0 / 1.717 GB, free: 189.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.02602/2.091, allocations: 17.06 MB / 1.734 GB, free: 189.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches