Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.125/2.125, allocations: 390.4 MB / 397.7 MB, free: 11.18 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.001127/0.001127, allocations: 181.3 kB / 490.8 MB, free: 1.906 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.479/1.479, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001001/0.001001, allocations: 93.53 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 9.839e-06/9.859e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2714, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.192/4.463, allocations: 2.175 GB / 3.387 GB, free: 135.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.464, allocations: 91.94 kB / 3.387 GB, free: 135.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.721/8.185, allocations: 1.019 GB / 4.406 GB, free: 212.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002435/8.185, allocations: 52.2 kB / 4.406 GB, free: 212.3 MB / 1.167 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.005309/8.19, allocations: 1.887 MB / 4.408 GB, free: 211.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/8.19, allocations: 8.297 kB / 4.408 GB, free: 211.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/8.193, allocations: 360.1 kB / 4.409 GB, free: 211.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004088/8.197, allocations: 1.622 MB / 4.41 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/8.197, allocations: 41.25 kB / 4.41 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002905/8.197, allocations: 68.81 kB / 4.41 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00174/8.199, allocations: 0.7961 MB / 4.411 GB, free: 211.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/8.201, allocations: 0.9951 MB / 4.412 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/8.201, allocations: 0 / 4.412 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/8.201, allocations: 0 / 4.412 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-05/8.201, allocations: 50.36 kB / 4.412 GB, free: 211.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007273/8.208, allocations: 5.678 MB / 4.418 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/8.209, allocations: 0.6412 MB / 4.418 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005409/8.21, allocations: 384.7 kB / 4.419 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005366/8.211, allocations: 0.606 MB / 4.419 GB, free: 207.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/8.211, allocations: 46.09 kB / 4.419 GB, free: 207.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.885e-06/8.211, allocations: 3.609 kB / 4.419 GB, free: 207.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002217/8.213, allocations: 0.8496 MB / 4.42 GB, free: 207.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/8.213, allocations: 59.62 kB / 4.42 GB, free: 207.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/8.214, allocations: 0.88 MB / 4.421 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.805e-05/8.214, allocations: 29.58 kB / 4.421 GB, free: 207.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/8.215, allocations: 477.6 kB / 4.421 GB, free: 207.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/8.215, allocations: 233.8 kB / 4.422 GB, free: 207.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/8.215, allocations: 1.531 kB / 4.422 GB, free: 207.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/8.215, allocations: 336 kB / 4.422 GB, free: 206.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/8.215, allocations: 240.5 kB / 4.422 GB, free: 206.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/8.216, allocations: 469.1 kB / 4.423 GB, free: 206.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005682/8.216, allocations: 329.3 kB / 4.423 GB, free: 206.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/8.216, allocations: 0 / 4.423 GB, free: 206.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001839/8.218, allocations: 0.8962 MB / 4.424 GB, free: 206.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002605/8.218, allocations: 1.067 MB / 4.425 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/8.218, allocations: 6.406 kB / 4.425 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/8.219, allocations: 90.88 kB / 4.425 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007893/8.22, allocations: 163.6 kB / 4.425 GB, free: 205.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/8.221, allocations: 1.812 MB / 4.427 GB, free: 203.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/8.222, allocations: 144.8 kB / 4.427 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/8.222, allocations: 29.75 kB / 4.427 GB, free: 203.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/8.222, allocations: 6.875 kB / 4.427 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/8.224, allocations: 0.6828 MB / 4.428 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/8.224, allocations: 4.844 kB / 4.428 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/8.224, allocations: 95.98 kB / 4.428 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/8.225, allocations: 161.3 kB / 4.428 GB, free: 203.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/8.227, allocations: 3.001 MB / 4.431 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/8.229, allocations: 131.8 kB / 4.431 GB, free: 201 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.373e-05/8.229, allocations: 38.27 kB / 4.431 GB, free: 201 MB / 1.167 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.0002321/8.229, allocations: 122.7 kB / 4.431 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/8.229, allocations: 136.6 kB / 4.431 GB, free: 200.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/8.231, allocations: 0.8646 MB / 4.432 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/8.231, allocations: 7.062 kB / 4.432 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/8.231, allocations: 0 / 4.432 GB, free: 200.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/8.232, allocations: 0.9889 MB / 4.433 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/8.236, allocations: 2.225 MB / 4.435 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/8.236, allocations: 3.5 kB / 4.435 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/8.237, allocations: 166.6 kB / 4.435 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/8.237, allocations: 64.23 kB / 4.436 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/8.238, allocations: 9.938 kB / 4.436 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007927/8.238, allocations: 1.754 MB / 4.437 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/8.238, allocations: 7.531 kB / 4.437 GB, free: 198.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001938/8.24, allocations: 1.441 MB / 4.439 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008571/8.241, allocations: 318.6 kB / 4.439 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003742/8.242, allocations: 7 kB / 4.439 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/8.243, allocations: 104.6 kB / 4.439 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/8.243, allocations: 56.61 kB / 4.439 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/8.243, allocations: 29.42 kB / 4.439 GB, free: 197.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001186/8.244, allocations: 0.6718 MB / 4.44 GB, free: 197.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003951/8.248, allocations: 0.925 MB / 4.441 GB, free: 197.4 MB / 1.167 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.004381/8.253, allocations: 2.253 MB / 4.443 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003187/8.256, allocations: 1.281 MB / 4.444 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/8.256, allocations: 5.594 kB / 4.444 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007248/8.257, allocations: 373 kB / 4.445 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003995/8.261, allocations: 0.7145 MB / 4.445 GB, free: 196.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004766/8.265, allocations: 2.095 MB / 4.447 GB, free: 196.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/8.267, allocations: 1.428 MB / 4.449 GB, free: 195.3 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/8.267, allocations: 1.875 kB / 4.449 GB, free: 195.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06456/8.331, allocations: 40.08 MB / 4.488 GB, free: 194.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches