Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 184 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4386/0.4386, allocations: 90.86 MB / 99.08 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.167/1.167, allocations: 221.4 MB / 342.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009436/0.0009435, allocations: 88.34 kB / 415.5 MB, free: 9.898 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.452e-06, allocations: 0 / 493.9 MB, free: 11.62 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3302, allocations: 72.3 MB / 0.5529 GB, free: 44.83 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.8971, allocations: 353.2 MB / 0.8978 GB, free: 4.656 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/0.8974, allocations: 87.92 kB / 0.8979 GB, free: 4.613 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.254/6.151, allocations: 1.537 GB / 2.434 GB, free: 77.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001525/6.152, allocations: 55.09 kB / 2.434 GB, free: 77.28 MB / 0.6198 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.003395/6.155, allocations: 1.868 MB / 2.436 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/6.155, allocations: 11.81 kB / 2.436 GB, free: 76.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003297/6.158, allocations: 0.6679 MB / 2.437 GB, free: 76.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/6.162, allocations: 1.465 MB / 2.438 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/6.162, allocations: 33.19 kB / 2.438 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/6.162, allocations: 73.98 kB / 2.438 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001567/6.164, allocations: 0.8316 MB / 2.439 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/6.165, allocations: 1.058 MB / 2.44 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/6.165, allocations: 10.47 kB / 2.44 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/6.166, allocations: 3.688 kB / 2.44 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/6.166, allocations: 23.81 kB / 2.44 GB, free: 75.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008021/6.174, allocations: 6.689 MB / 2.447 GB, free: 71.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/6.175, allocations: 0.848 MB / 2.448 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006182/6.176, allocations: 0.498 MB / 2.448 GB, free: 71.63 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001387/6.177, allocations: 2.261 MB / 2.45 GB, free: 69.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007825/6.178, allocations: 0.6407 MB / 2.451 GB, free: 68.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=97): time 3.977e-06/6.178, allocations: 0 / 2.451 GB, free: 68.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=97): time 0.003385/6.181, allocations: 1.297 MB / 2.452 GB, free: 68.82 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/6.181, allocations: 150.1 kB / 2.452 GB, free: 68.67 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/6.183, allocations: 0.897 MB / 2.453 GB, free: 68.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/6.183, allocations: 31.61 kB / 2.453 GB, free: 68.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/6.183, allocations: 458.8 kB / 2.454 GB, free: 68.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/6.183, allocations: 312.8 kB / 2.454 GB, free: 68.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.139e-05/6.183, allocations: 3.281 kB / 2.454 GB, free: 68.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.05e-05/6.183, allocations: 350.1 kB / 2.454 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005596/6.184, allocations: 412.5 kB / 2.455 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/6.185, allocations: 0.6764 MB / 2.455 GB, free: 67.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/6.187, allocations: 0.6936 MB / 2.456 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/6.187, allocations: 3.688 kB / 2.456 GB, free: 67.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003164/6.19, allocations: 1.455 MB / 2.458 GB, free: 67.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003747/6.19, allocations: 2.15 MB / 2.46 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/6.19, allocations: 3.781 kB / 2.46 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/6.19, allocations: 11.41 kB / 2.46 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/6.192, allocations: 307.4 kB / 2.46 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/6.192, allocations: 11.78 kB / 2.46 GB, free: 65.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/6.193, allocations: 224.1 kB / 2.46 GB, free: 65.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/6.194, allocations: 62.98 kB / 2.46 GB, free: 65.06 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/6.194, allocations: 3.719 kB / 2.46 GB, free: 65.06 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002838/6.196, allocations: 1.269 MB / 2.462 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/6.196, allocations: 9.062 kB / 2.462 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/6.196, allocations: 9.594 kB / 2.462 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/6.198, allocations: 305.3 kB / 2.462 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/6.198, allocations: 12.81 kB / 2.462 GB, free: 65.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/6.2, allocations: 224.8 kB / 2.462 GB, free: 65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/6.2, allocations: 59.88 kB / 2.462 GB, free: 65 MB / 0.6198 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.0003319/6.2, allocations: 242.3 kB / 2.462 GB, free: 64.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002509/6.2, allocations: 156.8 kB / 2.462 GB, free: 64.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004312/6.205, allocations: 2.035 MB / 2.464 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/6.205, allocations: 16.42 kB / 2.464 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/6.205, allocations: 3.906 kB / 2.464 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/6.205, allocations: 7.594 kB / 2.464 GB, free: 64.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005782/6.211, allocations: 3.117 MB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/6.211, allocations: 3.719 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/6.212, allocations: 249.3 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/6.212, allocations: 3.344 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-05/6.212, allocations: 36.7 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/6.212, allocations: 7.781 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/6.212, allocations: 3.906 kB / 2.468 GB, free: 64.23 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004261/6.216, allocations: 2.59 MB / 2.47 GB, free: 63.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000876/6.217, allocations: 405 kB / 2.471 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/6.217, allocations: 13.81 kB / 2.471 GB, free: 63.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/6.219, allocations: 163.5 kB / 2.471 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/6.219, allocations: 68.7 kB / 2.471 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/6.219, allocations: 58.09 kB / 2.471 GB, free: 63.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001013/6.22, allocations: 0.6768 MB / 2.472 GB, free: 63.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002924/6.223, allocations: 0.8743 MB / 2.473 GB, free: 63.39 MB / 0.6198 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.001782/6.225, allocations: 0.9856 MB / 2.474 GB, free: 63.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002775/6.228, allocations: 1.935 MB / 2.475 GB, free: 62.93 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/6.228, allocations: 3.906 kB / 2.475 GB, free: 62.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009337/6.229, allocations: 0.7992 MB / 2.476 GB, free: 62.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002811/6.231, allocations: 0.493 MB / 2.477 GB, free: 62.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/6.236, allocations: 2.709 MB / 2.479 GB, free: 62.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/6.237, allocations: 1.495 MB / 2.481 GB, free: 61.48 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/6.237, allocations: 0 / 2.481 GB, free: 61.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.0609/6.298, allocations: 36.82 MB / 2.517 GB, free: 59.15 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)