Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.vol1.T|hex.vol2.T|hex.mas.port.T|hex.port_a1.m_flow|hex.port_a2.m_flow|hex.Q1_flow|hex.Q2_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") [: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.145/2.145, 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.001329/0.001329, allocations: 185.2 kB / 487 MB, free: 5.375 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.561/1.561, 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.001016/0.001016, allocations: 100.8 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.004e-05, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2905, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.639/4.93, allocations: 2.174 GB / 3.38 GB, free: 103.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/4.93, allocations: 92.61 kB / 3.38 GB, free: 103.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.895/8.825, allocations: 1.019 GB / 4.399 GB, free: 207 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002016/8.825, allocations: 58.59 kB / 4.399 GB, free: 207 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.005924/8.831, allocations: 1.88 MB / 4.401 GB, free: 206.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/8.831, allocations: 7.969 kB / 4.401 GB, free: 206.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002446/8.834, allocations: 361.4 kB / 4.401 GB, free: 206.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/8.838, allocations: 1.623 MB / 4.403 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.237e-05/8.838, allocations: 33.59 kB / 4.403 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/8.838, allocations: 69.69 kB / 4.403 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001638/8.84, allocations: 0.7989 MB / 4.404 GB, free: 206 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/8.842, allocations: 0.9904 MB / 4.405 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/8.842, allocations: 0 / 4.405 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/8.842, allocations: 7.391 kB / 4.405 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/8.842, allocations: 45.36 kB / 4.405 GB, free: 205.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008054/8.85, allocations: 5.702 MB / 4.41 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/8.851, allocations: 0.6419 MB / 4.411 GB, free: 203.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/8.851, allocations: 387.1 kB / 4.411 GB, free: 203 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006128/8.852, allocations: 0.6042 MB / 4.412 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/8.852, allocations: 42.28 kB / 4.412 GB, free: 202.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.577e-06/8.852, allocations: 0 / 4.412 GB, free: 202.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.00235/8.854, allocations: 0.8547 MB / 4.413 GB, free: 202.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/8.855, allocations: 58.81 kB / 4.413 GB, free: 202.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/8.856, allocations: 0.875 MB / 4.414 GB, free: 202 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/8.856, allocations: 34.33 kB / 4.414 GB, free: 202 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/8.856, allocations: 478.9 kB / 4.414 GB, free: 201.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002513/8.856, allocations: 235.3 kB / 4.414 GB, free: 201.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/8.856, allocations: 0 / 4.414 GB, free: 201.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/8.857, allocations: 339.8 kB / 4.415 GB, free: 201.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/8.857, allocations: 235.2 kB / 4.415 GB, free: 201.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004949/8.857, allocations: 469.7 kB / 4.415 GB, free: 201.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/8.858, allocations: 328.7 kB / 4.416 GB, free: 201.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/8.858, allocations: 0 / 4.416 GB, free: 201.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001673/8.86, allocations: 0.8992 MB / 4.417 GB, free: 201 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002799/8.86, allocations: 1.068 MB / 4.418 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/8.86, allocations: 0 / 4.418 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002879/8.86, allocations: 93.86 kB / 4.418 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008017/8.861, allocations: 165.2 kB / 4.418 GB, free: 199.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/8.862, allocations: 1.812 MB / 4.42 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/8.864, allocations: 141 kB / 4.42 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/8.864, allocations: 34.62 kB / 4.42 GB, free: 198.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/8.864, allocations: 3.875 kB / 4.42 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001272/8.865, allocations: 0.6878 MB / 4.421 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/8.865, allocations: 5.141 kB / 4.421 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/8.865, allocations: 99.2 kB / 4.421 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/8.866, allocations: 151.2 kB / 4.421 GB, free: 198.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/8.869, allocations: 3.008 MB / 4.424 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/8.87, allocations: 135.8 kB / 4.424 GB, free: 195.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/8.87, allocations: 34.03 kB / 4.424 GB, free: 195.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003028/8.871, allocations: 124.4 kB / 4.424 GB, free: 195.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003484/8.871, allocations: 135.8 kB / 4.424 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/8.873, allocations: 0.854 MB / 4.425 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/8.873, allocations: 6.812 kB / 4.425 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/8.873, allocations: 7.594 kB / 4.425 GB, free: 195.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/8.874, allocations: 0.99 MB / 4.426 GB, free: 194.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004905/8.879, allocations: 2.227 MB / 4.428 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/8.879, allocations: 3.906 kB / 4.428 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/8.88, allocations: 161.9 kB / 4.428 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001758/8.88, allocations: 65.52 kB / 4.428 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/8.88, allocations: 9.719 kB / 4.428 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008584/8.881, allocations: 1.751 MB / 4.43 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/8.881, allocations: 10.98 kB / 4.43 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002188/8.883, allocations: 1.439 MB / 4.432 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/8.884, allocations: 316.8 kB / 4.432 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/8.885, allocations: 9.781 kB / 4.432 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001514/8.886, allocations: 105.8 kB / 4.432 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/8.886, allocations: 47.31 kB / 4.432 GB, free: 192.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/8.886, allocations: 31.36 kB / 4.432 GB, free: 192.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001458/8.888, allocations: 0.6761 MB / 4.433 GB, free: 192.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004121/8.892, allocations: 0.9289 MB / 4.434 GB, free: 192 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.medium.Xi[1],hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003869/8.896, allocations: 2.249 MB / 4.436 GB, free: 191.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002988/8.899, allocations: 1.287 MB / 4.437 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/8.899, allocations: 0 / 4.437 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008109/8.9, allocations: 375.8 kB / 4.437 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/8.904, allocations: 0.7086 MB / 4.438 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/8.911, allocations: 2.11 MB / 4.44 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001953/8.913, allocations: 1.423 MB / 4.442 GB, free: 189.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.445e-06/8.913, allocations: 0 / 4.442 GB, free: 189.9 MB / 1.151 GB Notification: Performance of Templates: time 0.0739/8.987, allocations: 40.08 MB / 4.481 GB, free: 189 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches