Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.599/1.599, allocations: 289.8 MB / 297 MB, free: 6.621 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.001364/0.001364, allocations: 185.3 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.639/1.639, allocations: 205.1 MB / 0.6256 GB, free: 5.785 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.0009967/0.0009967, allocations: 80.81 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.198e-05, allocations: 4 kB / 0.859 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.703/0.7031, allocations: 116.3 MB / 0.9726 GB, free: 68.96 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.599/5.302, allocations: 2.068 GB / 3.041 GB, free: 8.062 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/5.302, allocations: 83.95 kB / 3.041 GB, free: 7.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434/7.737, allocations: 0.6799 GB / 3.721 GB, free: 56.01 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001128/7.737, allocations: 43.98 kB / 3.721 GB, free: 55.97 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.006403/7.743, allocations: 1.774 MB / 3.722 GB, free: 54.14 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/7.743, allocations: 8.031 kB / 3.722 GB, free: 54.14 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/7.749, allocations: 0.9736 MB / 3.723 GB, free: 53.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003377/7.752, allocations: 1.145 MB / 3.724 GB, free: 51.96 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/7.752, allocations: 31.98 kB / 3.724 GB, free: 51.93 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/7.753, allocations: 60 kB / 3.725 GB, free: 51.87 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001892/7.754, allocations: 1.109 MB / 3.726 GB, free: 50.76 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/7.756, allocations: 1.158 MB / 3.727 GB, free: 49.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/7.756, allocations: 3.938 kB / 3.727 GB, free: 49.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/7.756, allocations: 11.91 kB / 3.727 GB, free: 49.55 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/7.756, allocations: 45.98 kB / 3.727 GB, free: 49.51 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008174/7.765, allocations: 4.863 MB / 3.732 GB, free: 44.44 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/7.766, allocations: 1.038 MB / 3.733 GB, free: 43.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/7.767, allocations: 0.5967 MB / 3.733 GB, free: 42.78 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/7.768, allocations: 0.9528 MB / 3.734 GB, free: 41.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/7.769, allocations: 0.6837 MB / 3.735 GB, free: 40.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 4.608e-06/7.769, allocations: 0 / 3.735 GB, free: 40.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002939/7.772, allocations: 1.329 MB / 3.736 GB, free: 39.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/7.772, allocations: 60.19 kB / 3.736 GB, free: 39.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009265/7.773, allocations: 0.8302 MB / 3.737 GB, free: 38.69 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/7.773, allocations: 29.7 kB / 3.737 GB, free: 38.66 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/7.773, allocations: 380.5 kB / 3.737 GB, free: 38.28 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/7.773, allocations: 311.5 kB / 3.738 GB, free: 37.97 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/7.773, allocations: 4 kB / 3.738 GB, free: 37.96 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.661e-05/7.773, allocations: 349.8 kB / 3.738 GB, free: 37.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006464/7.774, allocations: 497.8 kB / 3.738 GB, free: 37.13 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007578/7.775, allocations: 0.7355 MB / 3.739 GB, free: 36.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/7.776, allocations: 0.5337 MB / 3.74 GB, free: 35.77 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/7.776, allocations: 0 / 3.74 GB, free: 35.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001904/7.777, allocations: 1.302 MB / 3.741 GB, free: 34.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/7.777, allocations: 4 kB / 3.741 GB, free: 34.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/7.777, allocations: 7.984 kB / 3.741 GB, free: 34.44 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.326e-05/7.778, allocations: 12 kB / 3.741 GB, free: 34.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001925/7.779, allocations: 368.1 kB / 3.741 GB, free: 34.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/7.779, allocations: 11.94 kB / 3.741 GB, free: 34.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/7.781, allocations: 243 kB / 3.742 GB, free: 33.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/7.781, allocations: 59.89 kB / 3.742 GB, free: 33.76 MB / 0.948 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.0002378/7.782, allocations: 130.7 kB / 3.742 GB, free: 33.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/7.782, allocations: 118.5 kB / 3.742 GB, free: 33.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/7.784, allocations: 1.398 MB / 3.743 GB, free: 32.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/7.784, allocations: 16 kB / 3.743 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/7.784, allocations: 0 / 3.743 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/7.784, allocations: 3.984 kB / 3.743 GB, free: 32.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/7.789, allocations: 2.933 MB / 3.746 GB, free: 29.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/7.789, allocations: 4 kB / 3.746 GB, free: 29.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/7.79, allocations: 323.9 kB / 3.746 GB, free: 28.74 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.381e-05/7.79, allocations: 8 kB / 3.746 GB, free: 28.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/7.791, allocations: 35.95 kB / 3.746 GB, free: 28.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/7.791, allocations: 15.84 kB / 3.746 GB, free: 28.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/7.791, allocations: 4 kB / 3.746 GB, free: 28.68 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002987/7.794, allocations: 2.44 MB / 3.749 GB, free: 26.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/7.794, allocations: 351.2 kB / 3.749 GB, free: 25.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/7.794, allocations: 12 kB / 3.749 GB, free: 25.71 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/7.796, allocations: 183.7 kB / 3.749 GB, free: 25.54 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/7.796, allocations: 64.61 kB / 3.749 GB, free: 25.47 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/7.796, allocations: 47.95 kB / 3.749 GB, free: 25.42 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007243/7.797, allocations: 0.6318 MB / 3.75 GB, free: 24.78 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001614/7.799, allocations: 479.3 kB / 3.751 GB, free: 24.31 MB / 0.948 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.002701/7.801, allocations: 2.13 MB / 3.753 GB, free: 22.14 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001773/7.803, allocations: 1.195 MB / 3.754 GB, free: 20.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/7.803, allocations: 0 / 3.754 GB, free: 20.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008208/7.804, allocations: 0.6434 MB / 3.754 GB, free: 20.31 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/7.806, allocations: 427.4 kB / 3.755 GB, free: 19.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/7.822, allocations: 3.14 MB / 3.758 GB, free: 16.66 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/7.824, allocations: 1.397 MB / 3.759 GB, free: 15.24 MB / 0.948 GB Notification: Performance of SimCode: time 1.342e-06/7.824, allocations: 0 / 3.759 GB, free: 15.24 MB / 0.948 GB Notification: Performance of Templates: time 0.4565/8.28, allocations: 33.13 MB / 3.792 GB, free: 264.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)