Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.585/1.585, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001129/0.001129, allocations: 181.3 kB / 366.3 MB, free: 1.988 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.616/1.616, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.0009311/0.0009311, allocations: 94.84 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.008e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.6856, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.859/5.545, allocations: 2.318 GB / 3.29 GB, free: 95.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/5.545, allocations: 93.56 kB / 3.29 GB, free: 95.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254/7.799, allocations: 0.5989 GB / 3.889 GB, free: 225.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001071/7.799, allocations: 38.42 kB / 3.889 GB, free: 225.6 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.002742/7.802, allocations: 1.332 MB / 3.891 GB, free: 224.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/7.802, allocations: 9.031 kB / 3.891 GB, free: 224.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/7.805, allocations: 0.6439 MB / 3.891 GB, free: 224.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/7.808, allocations: 0.9517 MB / 3.892 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/7.808, allocations: 26.94 kB / 3.892 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/7.808, allocations: 46.5 kB / 3.892 GB, free: 223.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/7.809, allocations: 0.5735 MB / 3.893 GB, free: 223.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/7.81, allocations: 0.8053 MB / 3.894 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/7.81, allocations: 0 / 3.894 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.06e-05/7.81, allocations: 7 kB / 3.894 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/7.81, allocations: 18.56 kB / 3.894 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/7.816, allocations: 4.864 MB / 3.898 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/7.817, allocations: 0.5368 MB / 3.899 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/7.817, allocations: 294.8 kB / 3.899 GB, free: 218.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/7.818, allocations: 1.598 MB / 3.901 GB, free: 216.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/7.819, allocations: 377.2 kB / 3.901 GB, free: 216.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.847e-06/7.819, allocations: 0 / 3.901 GB, free: 216.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001727/7.821, allocations: 0.7056 MB / 3.902 GB, free: 215.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/7.821, allocations: 64.39 kB / 3.902 GB, free: 215.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009813/7.822, allocations: 0.8389 MB / 3.903 GB, free: 215.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/7.822, allocations: 31.94 kB / 3.903 GB, free: 215.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/7.822, allocations: 378.8 kB / 3.903 GB, free: 214.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/7.822, allocations: 205 kB / 3.903 GB, free: 214.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/7.822, allocations: 1.312 kB / 3.903 GB, free: 214.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.181e-05/7.822, allocations: 338.7 kB / 3.904 GB, free: 214.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/7.823, allocations: 254.3 kB / 3.904 GB, free: 214.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005586/7.823, allocations: 0.562 MB / 3.904 GB, free: 213.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/7.824, allocations: 364 kB / 3.905 GB, free: 213.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.824, allocations: 2.719 kB / 3.905 GB, free: 213.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001649/7.826, allocations: 0.8896 MB / 3.906 GB, free: 213.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/7.826, allocations: 2.688 kB / 3.906 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/7.826, allocations: 7.812 kB / 3.906 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/7.826, allocations: 13.59 kB / 3.906 GB, free: 213.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/7.827, allocations: 285.3 kB / 3.906 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/7.827, allocations: 18.03 kB / 3.906 GB, free: 213.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/7.829, allocations: 193.8 kB / 3.906 GB, free: 213 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/7.829, allocations: 51.41 kB / 3.906 GB, free: 213 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.0001987/7.829, allocations: 143.7 kB / 3.906 GB, free: 212.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/7.829, allocations: 109.2 kB / 3.906 GB, free: 212.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002412/7.831, allocations: 1.068 MB / 3.907 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/7.832, allocations: 8.5 kB / 3.907 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/7.832, allocations: 3.984 kB / 3.907 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.965e-05/7.832, allocations: 0 / 3.907 GB, free: 212.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/7.835, allocations: 1.998 MB / 3.909 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/7.835, allocations: 0 / 3.909 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/7.836, allocations: 218.7 kB / 3.91 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/7.836, allocations: 9.094 kB / 3.91 GB, free: 211 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/7.836, allocations: 19.97 kB / 3.91 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/7.836, allocations: 9.781 kB / 3.91 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/7.836, allocations: 0 / 3.91 GB, free: 210.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002292/7.838, allocations: 1.531 MB / 3.911 GB, free: 210 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004896/7.839, allocations: 295.8 kB / 3.911 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001737/7.839, allocations: 10.98 kB / 3.911 GB, free: 209.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/7.84, allocations: 130.3 kB / 3.912 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/7.84, allocations: 52.45 kB / 3.912 GB, free: 209.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/7.84, allocations: 32.19 kB / 3.912 GB, free: 209.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008095/7.841, allocations: 0.6339 MB / 3.912 GB, free: 209.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001455/7.843, allocations: 377 kB / 3.913 GB, free: 209.3 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.001475/7.844, allocations: 0.7174 MB / 3.913 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001358/7.845, allocations: 0.7375 MB / 3.914 GB, free: 208.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/7.845, allocations: 0 / 3.914 GB, free: 208.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006221/7.846, allocations: 415 kB / 3.914 GB, free: 208.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/7.848, allocations: 327.8 kB / 3.915 GB, free: 208.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/7.852, allocations: 1.832 MB / 3.917 GB, free: 207.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/7.853, allocations: 1.273 MB / 3.918 GB, free: 206.3 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/7.853, allocations: 0 / 3.918 GB, free: 206.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03464/7.888, allocations: 19.57 MB / 3.937 GB, free: 187.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)