Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.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.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") [: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.548/1.548, 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.001011/0.001012, allocations: 177.4 kB / 366.3 MB, free: 2.012 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.462/1.462, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.000994/0.0009936, allocations: 86.27 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.117e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7984, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.882, allocations: 390.4 MB / 1.354 GB, free: 97.57 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/1.883, allocations: 92.27 kB / 1.354 GB, free: 97.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.644/7.527, allocations: 1.508 GB / 2.862 GB, free: 130.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001564/7.527, allocations: 55.61 kB / 2.862 GB, free: 130.7 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003462/7.53, allocations: 1.898 MB / 2.864 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/7.53, allocations: 7.875 kB / 2.864 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/7.534, allocations: 0.6628 MB / 2.865 GB, free: 129.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003652/7.537, allocations: 1.504 MB / 2.866 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/7.537, allocations: 31.34 kB / 2.866 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/7.538, allocations: 69.12 kB / 2.866 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/7.539, allocations: 0.834 MB / 2.867 GB, free: 129.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/7.541, allocations: 1.072 MB / 2.868 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/7.541, allocations: 0 / 2.868 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/7.541, allocations: 3.875 kB / 2.868 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/7.541, allocations: 23.47 kB / 2.868 GB, free: 129.1 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007699/7.548, allocations: 6.706 MB / 2.875 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/7.55, allocations: 0.8583 MB / 2.875 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006088/7.55, allocations: 0.5027 MB / 2.876 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001487/7.552, allocations: 2.257 MB / 2.878 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/7.553, allocations: 0.6311 MB / 2.879 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=97): time 4.699e-06/7.553, allocations: 0 / 2.879 GB, free: 122.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=97): time 0.00352/7.556, allocations: 1.307 MB / 2.88 GB, free: 122.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/7.556, allocations: 144.4 kB / 2.88 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/7.558, allocations: 0.9088 MB / 2.881 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/7.558, allocations: 29.61 kB / 2.881 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/7.558, allocations: 463 kB / 2.882 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002884/7.559, allocations: 312.2 kB / 2.882 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/7.559, allocations: 0 / 2.882 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001029/7.559, allocations: 348.5 kB / 2.882 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006046/7.559, allocations: 408.1 kB / 2.883 GB, free: 121.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/7.56, allocations: 0.7121 MB / 2.883 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/7.562, allocations: 0.6932 MB / 2.884 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/7.562, allocations: 3.906 kB / 2.884 GB, free: 120.8 MB / 0.9792 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.00308/7.565, allocations: 1.465 MB / 2.885 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006091/7.566, allocations: 2.144 MB / 2.887 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/7.566, allocations: 3.906 kB / 2.887 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.678e-05/7.566, allocations: 11.72 kB / 2.887 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/7.567, allocations: 309.4 kB / 2.888 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/7.567, allocations: 15.11 kB / 2.888 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/7.569, allocations: 231.3 kB / 2.888 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/7.569, allocations: 61.38 kB / 2.888 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/7.569, allocations: 3.938 kB / 2.888 GB, free: 118.4 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002752/7.572, allocations: 1.268 MB / 2.889 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/7.572, allocations: 6.062 kB / 2.889 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/7.572, allocations: 11.62 kB / 2.889 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/7.573, allocations: 307.8 kB / 2.89 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/7.573, allocations: 11.66 kB / 2.89 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/7.575, allocations: 224.9 kB / 2.89 GB, free: 118.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/7.575, allocations: 63.09 kB / 2.89 GB, free: 118.3 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * 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.0003475/7.575, allocations: 240.2 kB / 2.89 GB, free: 118.1 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002452/7.576, allocations: 156.3 kB / 2.89 GB, free: 118 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/7.58, allocations: 2.044 MB / 2.892 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/7.58, allocations: 18.75 kB / 2.892 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/7.58, allocations: 3.219 kB / 2.892 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/7.58, allocations: 11.73 kB / 2.892 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/7.586, allocations: 3.126 MB / 2.895 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/7.586, allocations: 7.156 kB / 2.895 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/7.587, allocations: 240.1 kB / 2.896 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/7.587, allocations: 7.875 kB / 2.896 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/7.587, allocations: 28.84 kB / 2.896 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/7.587, allocations: 7.812 kB / 2.896 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/7.587, allocations: 7.219 kB / 2.896 GB, free: 117.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00412/7.591, allocations: 2.6 MB / 2.898 GB, free: 117 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009035/7.592, allocations: 396.1 kB / 2.899 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002472/7.592, allocations: 10.94 kB / 2.899 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/7.594, allocations: 167.1 kB / 2.899 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/7.594, allocations: 65.66 kB / 2.899 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/7.594, allocations: 58.25 kB / 2.899 GB, free: 116.8 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.0008831/7.595, allocations: 0.6872 MB / 2.9 GB, free: 116.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002654/7.598, allocations: 0.8797 MB / 2.9 GB, free: 116.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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.001736/7.599, allocations: 0.9902 MB / 2.901 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002687/7.602, allocations: 1.935 MB / 2.903 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/7.602, allocations: 3.906 kB / 2.903 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/7.603, allocations: 0.8014 MB / 2.904 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002519/7.605, allocations: 0.5154 MB / 2.905 GB, free: 115.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/7.61, allocations: 2.702 MB / 2.907 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/7.613, allocations: 1.493 MB / 2.909 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of SimCode: time 7.52e-07/7.613, allocations: 1.719 kB / 2.909 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.06651/7.679, allocations: 37.46 MB / 2.945 GB, free: 99.24 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)