Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|TSur.y|hex.sta_b2.X.1.|humRatPre.X_w",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") [: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.114/2.114, 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.001529/0.00153, allocations: 168.5 kB / 487 MB, free: 5.371 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.54/1.54, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.0009199/0.0009197, allocations: 88.39 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.147e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3039, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.766/5.07, allocations: 2.21 GB / 3.415 GB, free: 58.78 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/5.07, allocations: 101.4 kB / 3.415 GB, free: 58.73 MB / 1.151 GB Notification: Performance of FrontEnd: time 5.873/10.94, allocations: 1.699 GB / 5.114 GB, free: 114.5 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002569/10.94, allocations: 74.73 kB / 5.115 GB, free: 114.5 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.009587/10.95, allocations: 2.965 MB / 5.117 GB, free: 111.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/10.95, allocations: 8.031 kB / 5.117 GB, free: 111.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00643/10.96, allocations: 0.8745 MB / 5.118 GB, free: 110.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009315/10.97, allocations: 2.893 MB / 5.121 GB, free: 107.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/10.97, allocations: 56 kB / 5.121 GB, free: 107.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004509/10.97, allocations: 115.9 kB / 5.121 GB, free: 107.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003269/10.97, allocations: 1.749 MB / 5.123 GB, free: 105.8 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003176/10.98, allocations: 1.995 MB / 5.125 GB, free: 103.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/10.98, allocations: 3.984 kB / 5.125 GB, free: 103.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/10.98, allocations: 7.5 kB / 5.125 GB, free: 103.7 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-05/10.98, allocations: 79.52 kB / 5.125 GB, free: 103.6 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0172/10.99, allocations: 10.08 MB / 5.135 GB, free: 93.15 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/11, allocations: 0.8395 MB / 5.136 GB, free: 92.31 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/11, allocations: 0.6391 MB / 5.136 GB, free: 91.66 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004505/11, allocations: 2.473 MB / 5.139 GB, free: 89.02 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/11, allocations: 47.47 kB / 5.139 GB, free: 88.96 MB / 1.182 GB Notification: Performance of pre-optimization done (n=104): time 3.877e-06/11, allocations: 4 kB / 5.139 GB, free: 88.96 MB / 1.182 GB Notification: Performance of matching and sorting (n=106): time 0.009528/11.01, allocations: 3.227 MB / 5.142 GB, free: 85.68 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/11.01, allocations: 60.41 kB / 5.142 GB, free: 85.61 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003046/11.01, allocations: 1.445 MB / 5.143 GB, free: 84.13 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002117/11.01, allocations: 25.7 kB / 5.143 GB, free: 84.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005992/11.01, allocations: 0.8122 MB / 5.144 GB, free: 83.28 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004743/11.01, allocations: 362.6 kB / 5.145 GB, free: 82.92 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/11.01, allocations: 0 / 5.145 GB, free: 82.92 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001074/11.01, allocations: 353.9 kB / 5.145 GB, free: 82.57 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007086/11.02, allocations: 487.8 kB / 5.145 GB, free: 82.09 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009264/11.02, allocations: 1.017 MB / 5.146 GB, free: 80.82 MB / 1.182 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02011/11.04, allocations: 3.374 MB / 5.15 GB, free: 77.43 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/11.04, allocations: 4 kB / 5.15 GB, free: 77.43 MB / 1.182 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005336/11.04, allocations: 1.855 MB / 5.151 GB, free: 75.57 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001386/11.04, allocations: 5.866 MB / 5.157 GB, free: 69.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.955e-05/11.04, allocations: 16 kB / 5.157 GB, free: 69.28 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001614/11.05, allocations: 370 kB / 5.158 GB, free: 68.92 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/11.05, allocations: 311.5 kB / 5.158 GB, free: 68.61 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001126/11.05, allocations: 1.046 MB / 5.159 GB, free: 67.54 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/11.05, allocations: 143.5 kB / 5.159 GB, free: 67.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/11.05, allocations: 87.95 kB / 5.159 GB, free: 67.31 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/11.05, allocations: 4 kB / 5.159 GB, free: 67.31 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003707/11.05, allocations: 1.579 MB / 5.161 GB, free: 65.73 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/11.05, allocations: 12 kB / 5.161 GB, free: 65.72 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/11.06, allocations: 381.9 kB / 5.161 GB, free: 65.35 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/11.06, allocations: 303.5 kB / 5.161 GB, free: 65.05 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009784/11.06, allocations: 1.05 MB / 5.162 GB, free: 63.98 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/11.06, allocations: 119.6 kB / 5.162 GB, free: 63.86 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/11.06, allocations: 79.95 kB / 5.163 GB, free: 63.78 MB / 1.182 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004177/11.06, allocations: 145.7 kB / 5.163 GB, free: 63.63 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006216/11.06, allocations: 221.3 kB / 5.163 GB, free: 63.41 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003945/11.07, allocations: 1.509 MB / 5.164 GB, free: 61.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/11.07, allocations: 19.98 kB / 5.164 GB, free: 61.88 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/11.07, allocations: 0 / 5.164 GB, free: 61.88 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002393/11.07, allocations: 1.161 MB / 5.165 GB, free: 60.7 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007569/11.08, allocations: 3.543 MB / 5.169 GB, free: 57.04 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/11.08, allocations: 16 kB / 5.169 GB, free: 57.02 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/11.08, allocations: 183.8 kB / 5.169 GB, free: 56.84 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/11.08, allocations: 326.2 kB / 5.169 GB, free: 56.52 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.323e-05/11.08, allocations: 19.98 kB / 5.169 GB, free: 56.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009022/11.08, allocations: 0.9914 MB / 5.17 GB, free: 55.49 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/11.08, allocations: 11.94 kB / 5.17 GB, free: 55.48 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003182/11.08, allocations: 2.631 MB / 5.173 GB, free: 52.54 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/11.08, allocations: 422.2 kB / 5.173 GB, free: 52.11 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006818/11.08, allocations: 8 kB / 5.173 GB, free: 52.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/11.09, allocations: 83.83 kB / 5.174 GB, free: 52.02 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/11.09, allocations: 68.61 kB / 5.174 GB, free: 51.95 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/11.09, allocations: 51.91 kB / 5.174 GB, free: 51.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002077/11.09, allocations: 1.081 MB / 5.175 GB, free: 50.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005675/11.09, allocations: 1.269 MB / 5.176 GB, free: 49.53 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.medium.Xi[1],fan.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.006372/11.1, allocations: 3.894 MB / 5.18 GB, free: 45.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003931/11.11, allocations: 2.051 MB / 5.182 GB, free: 43.65 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/11.11, allocations: 0 / 5.182 GB, free: 43.65 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0009545/11.11, allocations: 0.5499 MB / 5.182 GB, free: 43.1 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/11.11, allocations: 1.055 MB / 5.183 GB, free: 42.07 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/11.12, allocations: 4.013 MB / 5.187 GB, free: 37.94 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002171/11.12, allocations: 1.911 MB / 5.189 GB, free: 36 MB / 1.182 GB Notification: Performance of SimCode: time 2.204e-06/11.12, allocations: 4 kB / 5.189 GB, free: 36 MB / 1.182 GB Notification: Performance of Templates: time 0.1194/11.24, allocations: 66.68 MB / 5.254 GB, free: 1.816 MB / 1.214 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches