Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [: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.448/1.448, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001426/0.001426, allocations: 189.2 kB / 361.1 MB, free: 7.074 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.466/1.466, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0008896/0.0008895, allocations: 80.03 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.806e-06/8.836e-06, allocations: 4 kB / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6844/0.6844, allocations: 115.3 MB / 0.9637 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.123/4.808, allocations: 2.067 GB / 3.031 GB, free: 68.33 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/4.808, allocations: 83.95 kB / 3.031 GB, free: 68.25 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.615/8.423, allocations: 1.01 GB / 4.041 GB, free: 146.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001081/8.423, allocations: 41.78 kB / 4.041 GB, free: 146.7 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.005708/8.429, allocations: 1.754 MB / 4.043 GB, free: 144.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/8.429, allocations: 12.53 kB / 4.043 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00445/8.434, allocations: 0.7621 MB / 4.044 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/8.436, allocations: 1.036 MB / 4.045 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/8.436, allocations: 28 kB / 4.045 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/8.436, allocations: 67.89 kB / 4.045 GB, free: 143 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001505/8.438, allocations: 0.9333 MB / 4.046 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/8.439, allocations: 1.143 MB / 4.047 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/8.439, allocations: 7.938 kB / 4.047 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.553e-05/8.44, allocations: 4 kB / 4.047 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/8.44, allocations: 53.97 kB / 4.047 GB, free: 140.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007039/8.447, allocations: 5.671 MB / 4.052 GB, free: 134.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/8.448, allocations: 0.8829 MB / 4.053 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/8.448, allocations: 495 kB / 4.054 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/8.449, allocations: 0.592 MB / 4.054 GB, free: 132.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/8.45, allocations: 0.5769 MB / 4.055 GB, free: 132.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.407e-06/8.45, allocations: 0 / 4.055 GB, free: 132.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002177/8.452, allocations: 1.084 MB / 4.056 GB, free: 131.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/8.452, allocations: 64 kB / 4.056 GB, free: 131.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/8.453, allocations: 0.86 MB / 4.057 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/8.453, allocations: 33.7 kB / 4.057 GB, free: 130.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002293/8.453, allocations: 415.7 kB / 4.057 GB, free: 129.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/8.454, allocations: 263.2 kB / 4.057 GB, free: 129.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/8.454, allocations: 0 / 4.057 GB, free: 129.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/8.454, allocations: 345.9 kB / 4.058 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005437/8.454, allocations: 421.8 kB / 4.058 GB, free: 128.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/8.455, allocations: 0.7398 MB / 4.059 GB, free: 127.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/8.456, allocations: 489.1 kB / 4.059 GB, free: 127.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/8.456, allocations: 0 / 4.059 GB, free: 127.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001683/8.457, allocations: 1.193 MB / 4.06 GB, free: 126.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/8.457, allocations: 4 kB / 4.06 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/8.458, allocations: 8 kB / 4.06 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/8.458, allocations: 12.81 kB / 4.06 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/8.459, allocations: 331.5 kB / 4.061 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.444e-05/8.459, allocations: 15.91 kB / 4.061 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/8.461, allocations: 207 kB / 4.061 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/8.461, allocations: 59.95 kB / 4.061 GB, free: 125.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0002168/8.461, allocations: 138.7 kB / 4.061 GB, free: 125.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/8.461, allocations: 118.5 kB / 4.061 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/8.463, allocations: 1.194 MB / 4.062 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/8.463, allocations: 12 kB / 4.063 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/8.463, allocations: 0 / 4.063 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/8.463, allocations: 3.984 kB / 4.063 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/8.467, allocations: 2.601 MB / 4.065 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/8.467, allocations: 4 kB / 4.065 GB, free: 121.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/8.469, allocations: 263.9 kB / 4.065 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/8.469, allocations: 8 kB / 4.065 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/8.469, allocations: 31.89 kB / 4.065 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/8.469, allocations: 11.91 kB / 4.065 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/8.469, allocations: 7.938 kB / 4.065 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002343/8.471, allocations: 2.144 MB / 4.067 GB, free: 118.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/8.472, allocations: 331.2 kB / 4.068 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/8.472, allocations: 12 kB / 4.068 GB, free: 118.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/8.473, allocations: 135.8 kB / 4.068 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/8.473, allocations: 60.48 kB / 4.068 GB, free: 118.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/8.473, allocations: 39.97 kB / 4.068 GB, free: 118.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006864/8.474, allocations: 0.6526 MB / 4.069 GB, free: 117.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001448/8.476, allocations: 463.3 kB / 4.069 GB, free: 117.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.00249/8.478, allocations: 2.117 MB / 4.071 GB, free: 115.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001529/8.48, allocations: 1.039 MB / 4.072 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/8.48, allocations: 0.8125 kB / 4.072 GB, free: 114.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/8.48, allocations: 0.5488 MB / 4.073 GB, free: 113.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/8.482, allocations: 400.6 kB / 4.073 GB, free: 113.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01502/8.497, allocations: 2.789 MB / 4.076 GB, free: 110.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/8.498, allocations: 1.376 MB / 4.077 GB, free: 108.9 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/8.498, allocations: 0 / 4.077 GB, free: 108.9 MB / 0.948 GB Notification: Performance of Templates: time 0.04117/8.54, allocations: 30.75 MB / 4.107 GB, free: 78.29 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)