Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.546/1.546, allocations: 289.8 MB / 297.1 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 177.3 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.596/1.596, allocations: 205.1 MB / 0.6256 GB, free: 7.461 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 100.6 kB / 0.7396 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.053e-05/1.063e-05, allocations: 4 kB / 0.859 GB, free: 13.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8217/0.8217, allocations: 116.3 MB / 0.9726 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2116/1.033, allocations: 140.6 MB / 1.11 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/1.034, allocations: 76.56 kB / 1.11 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0233/1.057, allocations: 7.221 MB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.92e-05/1.057, allocations: 4 kB / 1.117 GB, free: 2.668 MB / 0.7136 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.001022/1.058, allocations: 0.5642 MB / 1.118 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.058, allocations: 8.031 kB / 1.118 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002586/1.058, allocations: 39.61 kB / 1.118 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005178/1.059, allocations: 298.2 kB / 1.118 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.059, allocations: 4 kB / 1.118 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/1.059, allocations: 8 kB / 1.118 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002299/1.059, allocations: 95.06 kB / 1.118 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.06, allocations: 160.4 kB / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.06, allocations: 0 / 1.118 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.06, allocations: 3.906 kB / 1.118 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/1.06, allocations: 7.984 kB / 1.118 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/1.061, allocations: 0.9193 MB / 1.119 GB, free: 416 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005374/1.061, allocations: 173.3 kB / 1.119 GB, free: 224 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/1.061, allocations: 58.48 kB / 1.119 GB, free: 160 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/1.061, allocations: 4.312 kB / 1.119 GB, free: 156 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/1.062, allocations: 40 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/1.062, allocations: 0 / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0005005/1.062, allocations: 142.7 kB / 1.119 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.062, allocations: 81.11 kB / 1.12 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/1.062, allocations: 219.3 kB / 1.12 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.062, allocations: 25.7 kB / 1.12 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.563e-05/1.062, allocations: 136.2 kB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/1.063, allocations: 51.2 kB / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/1.063, allocations: 0 / 1.12 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.063, allocations: 342.7 kB / 1.12 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.525e-05/1.063, allocations: 40 kB / 1.12 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.063, allocations: 86 kB / 1.12 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/1.063, allocations: 53.23 kB / 1.12 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.063, allocations: 0 / 1.12 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003898/1.063, allocations: 178.8 kB / 1.121 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/1.063, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/1.063, allocations: 4.156 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.064, allocations: 4 kB / 1.121 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.064, allocations: 79.89 kB / 1.121 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.064, allocations: 7.984 kB / 1.121 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002535/1.064, allocations: 56.78 kB / 1.121 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/1.064, allocations: 8 kB / 1.121 GB, free: 14.55 MB / 0.7292 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 0.0001007/1.064, allocations: 109.6 kB / 1.121 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/1.064, allocations: 23.72 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/1.065, allocations: 189.1 kB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/1.065, allocations: 4 kB / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/1.065, allocations: 0 / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.065, allocations: 0 / 1.121 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/1.065, allocations: 264.1 kB / 1.121 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/1.065, allocations: 4 kB / 1.121 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/1.066, allocations: 68.98 kB / 1.121 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.066, allocations: 8 kB / 1.121 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/1.066, allocations: 0 / 1.121 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.066, allocations: 0 / 1.121 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.066, allocations: 4 kB / 1.121 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000463/1.066, allocations: 346.3 kB / 1.122 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/1.066, allocations: 104.7 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/1.066, allocations: 9.031 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/1.067, allocations: 39.95 kB / 1.122 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/1.067, allocations: 11.98 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/1.067, allocations: 8 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001563/1.067, allocations: 171.1 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003379/1.067, allocations: 56.09 kB / 1.122 GB, free: 13.08 MB / 0.7292 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.0002321/1.067, allocations: 119.1 kB / 1.122 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002676/1.068, allocations: 123.9 kB / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.068, allocations: 0 / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/1.068, allocations: 77.17 kB / 1.122 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/1.068, allocations: 59.41 kB / 1.122 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006845/1.069, allocations: 298.3 kB / 1.123 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.069, allocations: 0.7902 MB / 1.124 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of SimCode: time 2.71e-07/1.069, allocations: 0 / 1.124 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of Templates: time 0.007853/1.077, allocations: 3.434 MB / 1.127 GB, free: 8.262 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)