Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.8 MB / 297.1 MB, free: 6.68 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.001121/0.00112, allocations: 177.3 kB / 366.3 MB, free: 2 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.625/1.625, allocations: 205.1 MB / 0.6256 GB, free: 5.855 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.001034/0.001034, allocations: 94.14 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.06e-05/1.079e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7324/0.7325, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.173/4.905, allocations: 2.068 GB / 3.041 GB, free: 7.941 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/4.905, allocations: 88.77 kB / 3.041 GB, free: 7.855 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.736/8.641, allocations: 1.01 GB / 4.051 GB, free: 74.57 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001131/8.641, allocations: 39.98 kB / 4.051 GB, free: 74.53 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.00619/8.647, allocations: 1.743 MB / 4.053 GB, free: 72.74 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/8.648, allocations: 12.03 kB / 4.053 GB, free: 72.73 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004521/8.652, allocations: 0.7785 MB / 4.053 GB, free: 71.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002937/8.655, allocations: 1.031 MB / 4.054 GB, free: 70.86 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/8.655, allocations: 35.91 kB / 4.054 GB, free: 70.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/8.655, allocations: 55.98 kB / 4.054 GB, free: 70.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001637/8.657, allocations: 0.9372 MB / 4.055 GB, free: 69.83 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/8.658, allocations: 1.139 MB / 4.057 GB, free: 68.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/8.658, allocations: 11.94 kB / 4.057 GB, free: 68.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.465e-05/8.659, allocations: 0 / 4.057 GB, free: 68.61 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/8.659, allocations: 49.98 kB / 4.057 GB, free: 68.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007716/8.666, allocations: 5.682 MB / 4.062 GB, free: 62.62 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/8.668, allocations: 0.8797 MB / 4.063 GB, free: 61.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000612/8.668, allocations: 0.4926 MB / 4.063 GB, free: 61.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008119/8.669, allocations: 0.5851 MB / 4.064 GB, free: 60.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000759/8.67, allocations: 0.5807 MB / 4.065 GB, free: 59.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 4.007e-06/8.67, allocations: 0 / 4.065 GB, free: 59.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002406/8.672, allocations: 1.084 MB / 4.066 GB, free: 58.86 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.357e-05/8.672, allocations: 64.06 kB / 4.066 GB, free: 58.79 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/8.674, allocations: 0.8639 MB / 4.067 GB, free: 57.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/8.674, allocations: 29.7 kB / 4.067 GB, free: 57.87 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/8.674, allocations: 411.7 kB / 4.067 GB, free: 57.46 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/8.674, allocations: 264.2 kB / 4.067 GB, free: 57.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.185e-05/8.675, allocations: 3.938 kB / 4.067 GB, free: 57.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.804e-05/8.675, allocations: 345.9 kB / 4.068 GB, free: 56.85 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/8.675, allocations: 421.8 kB / 4.068 GB, free: 56.44 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/8.676, allocations: 0.7353 MB / 4.069 GB, free: 55.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/8.677, allocations: 485.2 kB / 4.069 GB, free: 55.09 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/8.677, allocations: 4 kB / 4.069 GB, free: 55.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002119/8.679, allocations: 1.193 MB / 4.07 GB, free: 53.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/8.679, allocations: 7.906 kB / 4.07 GB, free: 53.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/8.679, allocations: 8 kB / 4.07 GB, free: 53.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/8.679, allocations: 16.69 kB / 4.07 GB, free: 53.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001618/8.681, allocations: 331.5 kB / 4.071 GB, free: 53.53 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/8.681, allocations: 15.94 kB / 4.071 GB, free: 53.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/8.682, allocations: 203 kB / 4.071 GB, free: 53.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/8.683, allocations: 55.97 kB / 4.071 GB, free: 53.26 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.0002996/8.683, allocations: 142.6 kB / 4.071 GB, free: 53.12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/8.683, allocations: 118.5 kB / 4.071 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/8.686, allocations: 1.19 MB / 4.072 GB, free: 51.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/8.686, allocations: 12 kB / 4.072 GB, free: 51.79 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/8.686, allocations: 0 / 4.072 GB, free: 51.79 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/8.686, allocations: 3.984 kB / 4.072 GB, free: 51.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00509/8.691, allocations: 2.607 MB / 4.075 GB, free: 49.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/8.691, allocations: 8 kB / 4.075 GB, free: 49.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/8.692, allocations: 271.8 kB / 4.075 GB, free: 48.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.792e-05/8.692, allocations: 8 kB / 4.075 GB, free: 48.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/8.693, allocations: 27.95 kB / 4.075 GB, free: 48.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/8.693, allocations: 8 kB / 4.075 GB, free: 48.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/8.693, allocations: 7.938 kB / 4.075 GB, free: 48.76 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003167/8.696, allocations: 2.132 MB / 4.077 GB, free: 46.47 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/8.697, allocations: 327.2 kB / 4.078 GB, free: 46.13 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004541/8.697, allocations: 15.92 kB / 4.078 GB, free: 46.11 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/8.699, allocations: 143.8 kB / 4.078 GB, free: 45.97 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/8.699, allocations: 52.59 kB / 4.078 GB, free: 45.92 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/8.699, allocations: 43.95 kB / 4.078 GB, free: 45.88 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001011/8.7, allocations: 0.6526 MB / 4.078 GB, free: 45.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001953/8.702, allocations: 455.3 kB / 4.079 GB, free: 44.77 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.003291/8.706, allocations: 2.138 MB / 4.081 GB, free: 42.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00178/8.707, allocations: 1.043 MB / 4.082 GB, free: 41.57 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/8.707, allocations: 0.6875 kB / 4.082 GB, free: 41.57 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008626/8.708, allocations: 0.5372 MB / 4.083 GB, free: 41.03 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/8.711, allocations: 413.9 kB / 4.083 GB, free: 40.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/8.727, allocations: 2.796 MB / 4.086 GB, free: 37.75 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001732/8.729, allocations: 1.368 MB / 4.087 GB, free: 36.36 MB / 0.948 GB Notification: Performance of SimCode: time 1.603e-06/8.729, allocations: 0 / 4.087 GB, free: 36.36 MB / 0.948 GB Notification: Performance of Templates: time 0.05032/8.779, allocations: 30.74 MB / 4.117 GB, free: 5.738 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)