Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [: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.104/2.104, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001136/0.001136, allocations: 173.3 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.442/1.442, allocations: 221.3 MB / 0.7819 GB, free: 1.457 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.001051/0.001051, allocations: 103.2 kB / 0.9213 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.256e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8405/1.132, allocations: 150.9 MB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.132, allocations: 82.12 kB / 1.353 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02505/1.158, allocations: 7.329 MB / 1.36 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.654e-05/1.158, allocations: 8 kB / 1.36 GB, free: 15.58 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009637/1.159, allocations: 0.56 MB / 1.36 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.159, allocations: 9.688 kB / 1.36 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002988/1.159, allocations: 33.5 kB / 1.36 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/1.159, allocations: 300.8 kB / 1.361 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.159, allocations: 4 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/1.16, allocations: 8 kB / 1.361 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002062/1.16, allocations: 90.81 kB / 1.361 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/1.16, allocations: 165.9 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/1.16, allocations: 0.75 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/1.16, allocations: 4.516 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/1.16, allocations: 4 kB / 1.361 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/1.161, allocations: 0.9202 MB / 1.362 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005166/1.162, allocations: 184.6 kB / 1.362 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.517e-05/1.162, allocations: 50.94 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/1.162, allocations: 0.6094 kB / 1.362 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/1.162, allocations: 43.16 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/1.162, allocations: 3.938 kB / 1.362 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0004363/1.162, allocations: 142.7 kB / 1.362 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.162, allocations: 81.02 kB / 1.362 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/1.162, allocations: 221.5 kB / 1.363 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/1.162, allocations: 29.64 kB / 1.363 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/1.163, allocations: 128.2 kB / 1.363 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/1.163, allocations: 59.11 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.006e-05/1.163, allocations: 0 / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.605e-05/1.163, allocations: 337.6 kB / 1.363 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.746e-05/1.163, allocations: 44.25 kB / 1.363 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.538e-05/1.163, allocations: 84.11 kB / 1.363 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/1.163, allocations: 50.53 kB / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.163, allocations: 0 / 1.363 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003522/1.163, allocations: 178.5 kB / 1.363 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/1.163, allocations: 4.516 kB / 1.363 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/1.163, allocations: 4 kB / 1.363 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/1.163, allocations: 4.719 kB / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/1.164, allocations: 77.2 kB / 1.364 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/1.164, allocations: 8.641 kB / 1.364 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002558/1.164, allocations: 53.22 kB / 1.364 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.164, allocations: 8.562 kB / 1.364 GB, free: 12.16 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 6.496e-05/1.164, allocations: 107.7 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/1.164, allocations: 23.72 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/1.165, allocations: 195.9 kB / 1.364 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.165, allocations: 4.516 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.165, allocations: 0 / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.165, allocations: 1.031 kB / 1.364 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/1.165, allocations: 258.5 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.165, allocations: 4.703 kB / 1.364 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/1.165, allocations: 69.02 kB / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/1.165, allocations: 8 kB / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/1.165, allocations: 3.875 kB / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.165, allocations: 0 / 1.364 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.165, allocations: 4.75 kB / 1.364 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003532/1.166, allocations: 339.9 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/1.166, allocations: 102.5 kB / 1.365 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/1.166, allocations: 8.562 kB / 1.365 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/1.166, allocations: 37.09 kB / 1.365 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.525e-05/1.166, allocations: 22.64 kB / 1.365 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/1.166, allocations: 4.516 kB / 1.365 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001169/1.166, allocations: 173.8 kB / 1.365 GB, free: 11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000331/1.167, allocations: 52.41 kB / 1.365 GB, free: 10.95 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002063/1.167, allocations: 121.3 kB / 1.365 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002501/1.167, allocations: 127.1 kB / 1.365 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/1.167, allocations: 0 / 1.365 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.167, allocations: 67.69 kB / 1.365 GB, free: 10.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/1.168, allocations: 60.02 kB / 1.365 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006064/1.168, allocations: 301 kB / 1.366 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003138/1.169, allocations: 0.7899 MB / 1.366 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/1.169, allocations: 0 / 1.366 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of Templates: time 0.006372/1.175, allocations: 3.446 MB / 1.37 GB, free: 6.457 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches