Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.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.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector") [: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.534/1.534, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001074/0.001074, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.623/1.623, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0009648/0.0009646, allocations: 76.08 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.958e-06/9.968e-06, allocations: 4 kB / 0.859 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7742, allocations: 116.3 MB / 0.9726 GB, free: 76.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.961, allocations: 140.7 MB / 1.11 GB, free: 9.816 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.9614, allocations: 85.06 kB / 1.11 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009895/0.9713, allocations: 2.66 MB / 1.113 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.9714, allocations: 0 / 1.113 GB, free: 7.113 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007934/0.9722, allocations: 438.1 kB / 1.113 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.288e-05/0.9722, allocations: 8.031 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.666e-05/0.9724, allocations: 19.81 kB / 1.113 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.9726, allocations: 179 kB / 1.113 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.9727, allocations: 4 kB / 1.113 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.9727, allocations: 8 kB / 1.113 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000236/0.9729, allocations: 55.98 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.9732, allocations: 84.14 kB / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.9732, allocations: 0 / 1.113 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.9732, allocations: 5.406 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.9732, allocations: 2 kB / 1.113 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.9741, allocations: 368.8 kB / 1.114 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.9745, allocations: 82.52 kB / 1.114 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.289e-05/0.9745, allocations: 36.86 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005117/0.9751, allocations: 0.5506 MB / 1.114 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9751, allocations: 42.55 kB / 1.114 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.615e-06/0.9751, allocations: 4 kB / 1.114 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003367/0.9755, allocations: 81.72 kB / 1.115 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.9755, allocations: 52.62 kB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.9756, allocations: 112.2 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.9757, allocations: 25.7 kB / 1.115 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.9757, allocations: 108.1 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.9758, allocations: 31.55 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-06/0.9758, allocations: 4 kB / 1.115 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.9759, allocations: 322.8 kB / 1.115 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.037e-05/0.976, allocations: 16 kB / 1.115 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.976, allocations: 20 kB / 1.115 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.9761, allocations: 28.67 kB / 1.115 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9761, allocations: 0 / 1.115 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001513/0.9763, allocations: 87.47 kB / 1.115 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.9763, allocations: 4 kB / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.9763, allocations: 0 / 1.115 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9763, allocations: 4 kB / 1.115 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.9765, allocations: 35.92 kB / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.9765, allocations: 0 / 1.115 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.9767, allocations: 27.88 kB / 1.115 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.9767, allocations: 4 kB / 1.115 GB, free: 3.988 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.486e-05/0.9768, allocations: 101 kB / 1.115 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.9768, allocations: 7.906 kB / 1.115 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.9771, allocations: 104.5 kB / 1.116 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.9771, allocations: 4 kB / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.9771, allocations: 0 / 1.116 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.9771, allocations: 3.984 kB / 1.116 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.9773, allocations: 183.5 kB / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9773, allocations: 0 / 1.116 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.9775, allocations: 35.98 kB / 1.116 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9775, allocations: 3.906 kB / 1.116 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.9775, allocations: 4.547 kB / 1.116 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9775, allocations: 4 kB / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9775, allocations: 0 / 1.116 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002103/0.9777, allocations: 180 kB / 1.116 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.9779, allocations: 97 kB / 1.116 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.9779, allocations: 1.844 kB / 1.116 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001395/0.9781, allocations: 15.98 kB / 1.116 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.9781, allocations: 11.89 kB / 1.116 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.9781, allocations: 4 kB / 1.116 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.239e-05/0.9782, allocations: 99.27 kB / 1.116 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002535/0.9785, allocations: 27.88 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0002001/0.9787, allocations: 111.2 kB / 1.116 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.9788, allocations: 53.41 kB / 1.116 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.9788, allocations: 0 / 1.116 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.292e-05/0.9789, allocations: 39.92 kB / 1.116 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.9792, allocations: 24.45 kB / 1.116 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.9796, allocations: 123.9 kB / 1.117 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.9799, allocations: 0.7168 MB / 1.117 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.9799, allocations: 3.938 kB / 1.117 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.003854/0.9838, allocations: 1.275 MB / 1.119 GB, free: 0.6992 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryWetSelector.pipe 2>&1)