Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.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/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 180.8 kB / 7.8 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.85 MB / 99.07 MB, free: 14.94 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.366/1.366, allocations: 221.4 MB / 342.7 MB, free: 5.273 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.001021/0.001021, allocations: 99.41 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.642e-06/6.682e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 72.3 MB / 0.5529 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.412/3.836, allocations: 1.826 GB / 2.379 GB, free: 235.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/3.836, allocations: 85.95 kB / 2.379 GB, free: 235.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.885/5.721, allocations: 0.6857 GB / 3.065 GB, free: 8.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001358/5.721, allocations: 39.98 kB / 3.065 GB, free: 8.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007295/5.728, allocations: 1.906 MB / 3.067 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/5.728, allocations: 8.031 kB / 3.067 GB, free: 6.762 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005542/5.734, allocations: 0.9814 MB / 3.068 GB, free: 5.777 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/5.738, allocations: 1.164 MB / 3.069 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/5.738, allocations: 27.91 kB / 3.069 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000293/5.738, allocations: 55.98 kB / 3.069 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001821/5.74, allocations: 1.015 MB / 3.07 GB, free: 3.461 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/5.742, allocations: 1.181 MB / 3.071 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/5.742, allocations: 0 / 3.071 GB, free: 2.246 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/5.742, allocations: 3.984 kB / 3.071 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-05/5.742, allocations: 41.98 kB / 3.071 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008996/5.751, allocations: 4.889 MB / 3.076 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001699/5.753, allocations: 1.043 MB / 3.077 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009155/5.754, allocations: 0.5917 MB / 3.078 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001454/5.755, allocations: 0.9528 MB / 3.079 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/5.756, allocations: 0.6914 MB / 3.079 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=95): time 3.256e-06/5.756, allocations: 0 / 3.079 GB, free: 9.617 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.003436/5.76, allocations: 1.317 MB / 3.081 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/5.76, allocations: 64.19 kB / 3.081 GB, free: 8.215 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/5.761, allocations: 0.8256 MB / 3.081 GB, free: 7.371 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000146/5.761, allocations: 29.7 kB / 3.082 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/5.762, allocations: 372.4 kB / 3.082 GB, free: 6.965 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003572/5.762, allocations: 315.4 kB / 3.082 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/5.762, allocations: 0 / 3.082 GB, free: 6.652 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001458/5.762, allocations: 337.9 kB / 3.082 GB, free: 6.316 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/5.763, allocations: 497.8 kB / 3.083 GB, free: 5.828 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/5.764, allocations: 0.7117 MB / 3.084 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/5.766, allocations: 0.5182 MB / 3.084 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/5.766, allocations: 0 / 3.084 GB, free: 4.516 MB / 0.6198 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003194/5.769, allocations: 1.306 MB / 3.085 GB, free: 3.203 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/5.769, allocations: 4.562 kB / 3.085 GB, free: 3.199 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/5.769, allocations: 7.938 kB / 3.085 GB, free: 3.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/5.769, allocations: 15.94 kB / 3.085 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/5.771, allocations: 379.4 kB / 3.086 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.058e-05/5.771, allocations: 12 kB / 3.086 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/5.773, allocations: 234.9 kB / 3.086 GB, free: 2.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/5.773, allocations: 55.95 kB / 3.086 GB, free: 2.508 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.0002883/5.774, allocations: 142.7 kB / 3.086 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/5.774, allocations: 122.5 kB / 3.086 GB, free: 2.242 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/5.777, allocations: 1.39 MB / 3.088 GB, free: 0.8438 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/5.777, allocations: 8 kB / 3.088 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/5.777, allocations: 0 / 3.088 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/5.777, allocations: 3.984 kB / 3.088 GB, free: 0.832 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.246/6.023, allocations: 2.911 MB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/6.023, allocations: 3.875 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/6.025, allocations: 334 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/6.025, allocations: 7.844 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/6.025, allocations: 30.2 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/6.025, allocations: 14.62 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/6.025, allocations: 7.281 kB / 3.091 GB, free: 151.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002996/6.028, allocations: 2.438 MB / 3.093 GB, free: 151.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006174/6.029, allocations: 352.7 kB / 3.094 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/6.029, allocations: 12.31 kB / 3.094 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/6.03, allocations: 183.7 kB / 3.094 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/6.031, allocations: 68.25 kB / 3.094 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/6.031, allocations: 46.41 kB / 3.094 GB, free: 151.1 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0006594/6.031, allocations: 0.6222 MB / 3.095 GB, free: 151 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001375/6.033, allocations: 487.1 kB / 3.095 GB, free: 151 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.002468/6.035, allocations: 2.125 MB / 3.097 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001736/6.037, allocations: 1.194 MB / 3.098 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/6.037, allocations: 0 / 3.098 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008346/6.038, allocations: 0.6375 MB / 3.099 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/6.04, allocations: 412.9 kB / 3.099 GB, free: 150.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/6.056, allocations: 3.133 MB / 3.102 GB, free: 149.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001296/6.057, allocations: 1.398 MB / 3.104 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/6.057, allocations: 2.875 kB / 3.104 GB, free: 149.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.04576/6.103, allocations: 32.66 MB / 3.136 GB, free: 148.7 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)