Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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.595/1.595, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001158/0.001158, allocations: 177.3 kB / 366.3 MB, free: 2.008 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.588/1.588, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0009865/0.0009862, allocations: 82.39 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.042e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6754/0.6755, allocations: 116.3 MB / 0.9725 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.553/5.229, allocations: 2.068 GB / 3.041 GB, free: 3.785 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/5.229, allocations: 89.2 kB / 3.041 GB, free: 3.699 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.636/8.865, allocations: 1.01 GB / 4.051 GB, free: 71 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001329/8.865, allocations: 39.98 kB / 4.051 GB, free: 70.96 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005802/8.871, allocations: 1.739 MB / 4.052 GB, free: 69.16 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/8.871, allocations: 8.031 kB / 4.053 GB, free: 69.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004422/8.876, allocations: 0.7745 MB / 4.053 GB, free: 68.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/8.879, allocations: 1.04 MB / 4.054 GB, free: 67.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/8.879, allocations: 31.91 kB / 4.054 GB, free: 67.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/8.879, allocations: 52 kB / 4.054 GB, free: 67.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/8.88, allocations: 0.9723 MB / 4.055 GB, free: 66.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/8.882, allocations: 1.133 MB / 4.056 GB, free: 65.04 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/8.882, allocations: 4 kB / 4.056 GB, free: 65.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.792e-05/8.882, allocations: 3.984 kB / 4.056 GB, free: 65.03 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-05/8.882, allocations: 49.98 kB / 4.056 GB, free: 64.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00685/8.889, allocations: 5.138 MB / 4.061 GB, free: 59.61 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/8.89, allocations: 0.8902 MB / 4.062 GB, free: 58.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005888/8.891, allocations: 493.5 kB / 4.063 GB, free: 58.23 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/8.892, allocations: 0.9532 MB / 4.064 GB, free: 57.09 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007524/8.893, allocations: 0.5963 MB / 4.064 GB, free: 56.48 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 3.357e-06/8.893, allocations: 0 / 4.064 GB, free: 56.48 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002612/8.896, allocations: 1.15 MB / 4.065 GB, free: 55.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/8.896, allocations: 60.06 kB / 4.066 GB, free: 55.25 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009619/8.897, allocations: 0.8557 MB / 4.066 GB, free: 54.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.835e-05/8.897, allocations: 29.7 kB / 4.066 GB, free: 54.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/8.897, allocations: 407.8 kB / 4.067 GB, free: 53.93 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000198/8.897, allocations: 272 kB / 4.067 GB, free: 53.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/8.897, allocations: 8 kB / 4.067 GB, free: 53.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.945e-05/8.897, allocations: 341.9 kB / 4.067 GB, free: 53.32 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005827/8.898, allocations: 421.8 kB / 4.068 GB, free: 52.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/8.899, allocations: 0.7256 MB / 4.068 GB, free: 52.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00066/8.899, allocations: 498.4 kB / 4.069 GB, free: 51.56 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/8.899, allocations: 0 / 4.069 GB, free: 51.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001756/8.901, allocations: 1.196 MB / 4.07 GB, free: 50.36 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/8.901, allocations: 4 kB / 4.07 GB, free: 50.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/8.901, allocations: 12 kB / 4.07 GB, free: 50.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/8.901, allocations: 12 kB / 4.07 GB, free: 50.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/8.903, allocations: 324.1 kB / 4.07 GB, free: 50.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/8.903, allocations: 15.94 kB / 4.07 GB, free: 50 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/8.904, allocations: 207 kB / 4.071 GB, free: 49.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/8.905, allocations: 55.97 kB / 4.071 GB, free: 49.74 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.0002287/8.905, allocations: 150.6 kB / 4.071 GB, free: 49.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/8.905, allocations: 118.5 kB / 4.071 GB, free: 49.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/8.907, allocations: 1.21 MB / 4.072 GB, free: 48.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/8.907, allocations: 8 kB / 4.072 GB, free: 48.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/8.907, allocations: 3.906 kB / 4.072 GB, free: 48.23 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/8.907, allocations: 3.984 kB / 4.072 GB, free: 48.23 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003927/8.911, allocations: 2.619 MB / 4.075 GB, free: 45.52 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/8.911, allocations: 8.438 kB / 4.075 GB, free: 45.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/8.913, allocations: 263.6 kB / 4.075 GB, free: 45.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/8.913, allocations: 8 kB / 4.075 GB, free: 45.25 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/8.913, allocations: 27.95 kB / 4.075 GB, free: 45.22 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/8.913, allocations: 15.94 kB / 4.075 GB, free: 45.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/8.913, allocations: 7.938 kB / 4.075 GB, free: 45.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002571/8.915, allocations: 2.159 MB / 4.077 GB, free: 42.89 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/8.916, allocations: 331.2 kB / 4.077 GB, free: 42.55 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000225/8.916, allocations: 11.98 kB / 4.077 GB, free: 42.54 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/8.917, allocations: 139.8 kB / 4.078 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/8.918, allocations: 64.52 kB / 4.078 GB, free: 42.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-05/8.918, allocations: 43.95 kB / 4.078 GB, free: 42.29 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007599/8.918, allocations: 0.6485 MB / 4.078 GB, free: 41.64 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001703/8.92, allocations: 463.3 kB / 4.079 GB, free: 41.18 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 82 * 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.002887/8.923, allocations: 2.126 MB / 4.081 GB, free: 39.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001724/8.925, allocations: 1.043 MB / 4.082 GB, free: 37.97 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/8.925, allocations: 0 / 4.082 GB, free: 37.97 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007298/8.926, allocations: 0.543 MB / 4.082 GB, free: 37.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/8.928, allocations: 409.1 kB / 4.083 GB, free: 37.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/8.932, allocations: 2.071 MB / 4.085 GB, free: 34.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001347/8.934, allocations: 1.37 MB / 4.086 GB, free: 33.48 MB / 0.948 GB Notification: Performance of SimCode: time 2.525e-06/8.934, allocations: 4 kB / 4.086 GB, free: 33.48 MB / 0.948 GB Notification: Performance of Templates: time 0.04551/8.979, allocations: 31.1 MB / 4.117 GB, free: 2.52 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)