Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [: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.0.1-maint.8.0.x/package.mo): time 1.437/1.437, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001326/0.001326, allocations: 173.3 kB / 361.1 MB, free: 7.07 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.474/1.474, allocations: 205.1 MB / 0.6195 GB, free: 10.28 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.0009356/0.0009352, allocations: 85.5 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.026e-05, allocations: 4 kB / 0.8511 GB, free: 2.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7063/0.7063, allocations: 115.3 MB / 0.9637 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/5.553, allocations: 2.317 GB / 3.28 GB, free: 195.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/5.553, allocations: 85.69 kB / 3.281 GB, free: 195.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.278/7.831, allocations: 0.5989 GB / 3.879 GB, free: 213.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001875/7.831, allocations: 39.06 kB / 3.879 GB, free: 213.8 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003759/7.835, allocations: 1.335 MB / 3.881 GB, free: 213.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/7.835, allocations: 14.69 kB / 3.881 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/7.838, allocations: 0.6377 MB / 3.881 GB, free: 213.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003061/7.841, allocations: 0.9434 MB / 3.882 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.579e-05/7.841, allocations: 26.45 kB / 3.882 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/7.842, allocations: 49.56 kB / 3.882 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001339/7.843, allocations: 0.5665 MB / 3.883 GB, free: 212.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/7.844, allocations: 0.8075 MB / 3.884 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/7.844, allocations: 7.641 kB / 3.884 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/7.845, allocations: 10.58 kB / 3.884 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/7.845, allocations: 22.72 kB / 3.884 GB, free: 212.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/7.851, allocations: 4.854 MB / 3.889 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/7.852, allocations: 0.539 MB / 3.889 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/7.853, allocations: 291.7 kB / 3.889 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/7.854, allocations: 1.603 MB / 3.891 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/7.854, allocations: 377 kB / 3.891 GB, free: 207.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 5.511e-06/7.854, allocations: 3.406 kB / 3.891 GB, free: 207.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001877/7.856, allocations: 0.6974 MB / 3.892 GB, free: 207.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/7.856, allocations: 63.45 kB / 3.892 GB, free: 207.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/7.858, allocations: 0.8432 MB / 3.893 GB, free: 207.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/7.858, allocations: 33.42 kB / 3.893 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/7.858, allocations: 379.4 kB / 3.893 GB, free: 207.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002131/7.858, allocations: 200.2 kB / 3.893 GB, free: 207.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/7.858, allocations: 0 / 3.893 GB, free: 207.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/7.859, allocations: 340.8 kB / 3.894 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/7.859, allocations: 253.3 kB / 3.894 GB, free: 206.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/7.86, allocations: 0.5643 MB / 3.895 GB, free: 206.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/7.861, allocations: 359.2 kB / 3.895 GB, free: 206.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/7.861, allocations: 3.688 kB / 3.895 GB, free: 206.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002063/7.863, allocations: 0.8874 MB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/7.863, allocations: 6.344 kB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.072e-05/7.863, allocations: 6.062 kB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/7.863, allocations: 17.72 kB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/7.864, allocations: 289.4 kB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/7.864, allocations: 18.53 kB / 3.896 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/7.866, allocations: 188.5 kB / 3.896 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/7.866, allocations: 56.66 kB / 3.896 GB, free: 206.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0002238/7.866, allocations: 136.8 kB / 3.896 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/7.866, allocations: 114.9 kB / 3.897 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/7.869, allocations: 1.063 MB / 3.898 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/7.869, allocations: 10.88 kB / 3.898 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/7.869, allocations: 0 / 3.898 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/7.869, allocations: 3.75 kB / 3.898 GB, free: 206.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/7.873, allocations: 1.998 MB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/7.873, allocations: 0 / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001158/7.874, allocations: 224.7 kB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/7.874, allocations: 3.938 kB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/7.874, allocations: 18.34 kB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/7.874, allocations: 3.938 kB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/7.874, allocations: 3.438 kB / 3.9 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002445/7.877, allocations: 1.531 MB / 3.901 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005831/7.877, allocations: 294.4 kB / 3.902 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003186/7.878, allocations: 6.781 kB / 3.902 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/7.879, allocations: 133.4 kB / 3.902 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/7.879, allocations: 52.08 kB / 3.902 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/7.879, allocations: 29.27 kB / 3.902 GB, free: 205.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009309/7.88, allocations: 0.6401 MB / 3.902 GB, free: 205.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001582/7.881, allocations: 381.2 kB / 3.903 GB, free: 205.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001556/7.883, allocations: 0.7004 MB / 3.903 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001354/7.884, allocations: 0.7354 MB / 3.904 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/7.884, allocations: 3.188 kB / 3.904 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006718/7.885, allocations: 414.4 kB / 3.905 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/7.887, allocations: 334.9 kB / 3.905 GB, free: 204.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/7.892, allocations: 1.831 MB / 3.907 GB, free: 204.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/7.893, allocations: 1.275 MB / 3.908 GB, free: 203.7 MB / 0.948 GB Notification: Performance of SimCode: time 9.72e-07/7.893, allocations: 0 / 3.908 GB, free: 203.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03732/7.93, allocations: 19.58 MB / 3.927 GB, free: 203.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)