Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") translateModel(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet") [: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.524/1.524, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001119/0.001119, allocations: 187.8 kB / 366.3 MB, free: 1.941 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.544/1.544, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0008836/0.0008836, allocations: 90.89 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.925e-06, allocations: 0 / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8415, allocations: 116.3 MB / 0.9725 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.055/1.897, allocations: 390.2 MB / 1.354 GB, free: 97.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004389/1.897, allocations: 84.27 kB / 1.354 GB, free: 97.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.112/5.009, allocations: 0.9354 GB / 2.289 GB, free: 14.66 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001516/5.009, allocations: 51.97 kB / 2.289 GB, free: 14.61 MB / 0.948 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.003675/5.013, allocations: 1.884 MB / 2.291 GB, free: 12.66 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/5.013, allocations: 8.031 kB / 2.291 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/5.016, allocations: 0.665 MB / 2.292 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003791/5.02, allocations: 1.494 MB / 2.293 GB, free: 10.43 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.179e-05/5.02, allocations: 36 kB / 2.293 GB, free: 10.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/5.02, allocations: 68 kB / 2.293 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001693/5.022, allocations: 0.8631 MB / 2.294 GB, free: 9.469 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/5.024, allocations: 1.051 MB / 2.295 GB, free: 8.348 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/5.024, allocations: 7.844 kB / 2.295 GB, free: 8.34 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/5.024, allocations: 4 kB / 2.295 GB, free: 8.336 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/5.024, allocations: 24 kB / 2.295 GB, free: 8.312 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008413/5.032, allocations: 6.479 MB / 2.301 GB, free: 1.375 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/5.034, allocations: 0.8651 MB / 2.302 GB, free: 0.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006297/5.034, allocations: 0.5015 MB / 2.303 GB, free: 0 / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5048/5.539, allocations: 2.258 MB / 2.305 GB, free: 197.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/5.54, allocations: 0.6501 MB / 2.306 GB, free: 197.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=100): time 5.721e-06/5.54, allocations: 3.281 kB / 2.306 GB, free: 197.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=100): time 0.003478/5.544, allocations: 1.367 MB / 2.307 GB, free: 197.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/5.544, allocations: 150.4 kB / 2.307 GB, free: 197.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/5.545, allocations: 0.8897 MB / 2.308 GB, free: 197 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/5.545, allocations: 29.27 kB / 2.308 GB, free: 197 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/5.545, allocations: 451.6 kB / 2.308 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/5.546, allocations: 321.4 kB / 2.309 GB, free: 196.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/5.546, allocations: 3.344 kB / 2.309 GB, free: 196.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.234e-05/5.546, allocations: 341.6 kB / 2.309 GB, free: 196.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005294/5.546, allocations: 409.8 kB / 2.309 GB, free: 196.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006413/5.547, allocations: 0.6572 MB / 2.31 GB, free: 196.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/5.549, allocations: 0.734 MB / 2.311 GB, free: 196.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/5.549, allocations: 0 / 2.311 GB, free: 196.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003094/5.552, allocations: 1.478 MB / 2.312 GB, free: 196 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002909/5.552, allocations: 1.614 MB / 2.314 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/5.552, allocations: 3.875 kB / 2.314 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/5.553, allocations: 9.906 kB / 2.314 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/5.554, allocations: 293.6 kB / 2.314 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/5.554, allocations: 14.48 kB / 2.314 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/5.556, allocations: 226.8 kB / 2.314 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/5.556, allocations: 55.89 kB / 2.314 GB, free: 194.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-06/5.556, allocations: 3.938 kB / 2.314 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002872/5.559, allocations: 1.289 MB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/5.559, allocations: 3.906 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/5.559, allocations: 7.719 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/5.56, allocations: 290.2 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/5.56, allocations: 13.48 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/5.561, allocations: 215 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/5.562, allocations: 57.23 kB / 2.316 GB, free: 194.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (111): * Single equations (assignments): 108 * 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.0003086/5.562, allocations: 242.4 kB / 2.316 GB, free: 194 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002156/5.562, allocations: 152.2 kB / 2.317 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/5.566, allocations: 2.123 MB / 2.319 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.947e-05/5.566, allocations: 17.31 kB / 2.319 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/5.566, allocations: 0 / 2.319 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/5.566, allocations: 6.188 kB / 2.319 GB, free: 193.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/5.572, allocations: 3.216 MB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/5.572, allocations: 3.5 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/5.573, allocations: 244.4 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-05/5.573, allocations: 10.5 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.431e-05/5.574, allocations: 37.12 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/5.574, allocations: 6.875 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/5.574, allocations: 3.438 kB / 2.322 GB, free: 193.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004268/5.578, allocations: 2.671 MB / 2.325 GB, free: 193.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/5.579, allocations: 404.8 kB / 2.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/5.579, allocations: 11.66 kB / 2.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/5.58, allocations: 171.3 kB / 2.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/5.58, allocations: 69.06 kB / 2.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/5.58, allocations: 62.25 kB / 2.325 GB, free: 192.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008649/5.581, allocations: 0.6781 MB / 2.326 GB, free: 192.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002411/5.584, allocations: 0.8786 MB / 2.327 GB, free: 192.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.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 (104): * Single equations (assignments): 82 * 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.001615/5.585, allocations: 0.9722 MB / 2.328 GB, free: 192.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002415/5.588, allocations: 1.93 MB / 2.33 GB, free: 192.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/5.588, allocations: 0 / 2.33 GB, free: 192.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008413/5.589, allocations: 0.8134 MB / 2.331 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/5.591, allocations: 0.5204 MB / 2.331 GB, free: 192.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/5.596, allocations: 2.505 MB / 2.333 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/5.597, allocations: 1.492 MB / 2.335 GB, free: 190.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/5.597, allocations: 0 / 2.335 GB, free: 190.9 MB / 0.948 GB Notification: Performance of Templates: time 0.06653/5.663, allocations: 37.41 MB / 2.371 GB, free: 190.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)