Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 285.5 MB / 292.8 MB, free: 9.859 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.001109/0.00111, allocations: 177.3 kB / 361.1 MB, free: 368 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.1 MB / 0.6195 GB, free: 2.895 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008853/0.0008852, allocations: 87.03 kB / 0.7326 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.218e-06/9.238e-06, allocations: 2.156 kB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.251/0.251, allocations: 115.3 MB / 0.9637 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.734/4.985, allocations: 2.067 GB / 3.031 GB, free: 312 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/4.985, allocations: 81.12 kB / 3.031 GB, free: 311.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.982/7.967, allocations: 1.01 GB / 4.041 GB, free: 7.754 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.794e-05/7.967, allocations: 43.98 kB / 4.041 GB, free: 7.711 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.005304/7.973, allocations: 1.735 MB / 4.043 GB, free: 5.922 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/7.973, allocations: 12.03 kB / 4.043 GB, free: 5.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/7.977, allocations: 0.7707 MB / 4.043 GB, free: 5.137 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/7.98, allocations: 1.036 MB / 4.044 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/7.98, allocations: 28 kB / 4.044 GB, free: 4.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001514/7.98, allocations: 60 kB / 4.045 GB, free: 3.961 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00154/7.981, allocations: 0.9762 MB / 4.045 GB, free: 2.984 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/7.983, allocations: 1.129 MB / 4.047 GB, free: 1.801 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/7.983, allocations: 0 / 4.047 GB, free: 1.801 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-05/7.983, allocations: 4 kB / 4.047 GB, free: 1.797 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/7.983, allocations: 57.92 kB / 4.047 GB, free: 1.738 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3508/8.334, allocations: 5.142 MB / 4.052 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/8.335, allocations: 0.8803 MB / 4.053 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005955/8.336, allocations: 0.4887 MB / 4.053 GB, free: 269.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/8.337, allocations: 0.948 MB / 4.054 GB, free: 268.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007546/8.338, allocations: 0.5872 MB / 4.054 GB, free: 268.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.995e-06/8.338, allocations: 0 / 4.054 GB, free: 268.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002701/8.34, allocations: 1.156 MB / 4.056 GB, free: 268.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/8.34, allocations: 63.31 kB / 4.056 GB, free: 268.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008985/8.341, allocations: 0.8543 MB / 4.057 GB, free: 268.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/8.341, allocations: 29.64 kB / 4.057 GB, free: 268.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/8.342, allocations: 409.9 kB / 4.057 GB, free: 268 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/8.342, allocations: 267.3 kB / 4.057 GB, free: 267.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/8.342, allocations: 0 / 4.057 GB, free: 267.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.859e-05/8.342, allocations: 351.3 kB / 4.058 GB, free: 267.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/8.343, allocations: 421.6 kB / 4.058 GB, free: 267.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007002/8.343, allocations: 0.7337 MB / 4.059 GB, free: 267.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/8.344, allocations: 486.4 kB / 4.059 GB, free: 267.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/8.344, allocations: 3.938 kB / 4.059 GB, free: 267.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001719/8.346, allocations: 1.192 MB / 4.06 GB, free: 267.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/8.346, allocations: 7.656 kB / 4.06 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/8.346, allocations: 3.719 kB / 4.06 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/8.346, allocations: 21.62 kB / 4.06 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/8.347, allocations: 318.8 kB / 4.061 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/8.347, allocations: 24.44 kB / 4.061 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/8.349, allocations: 200.8 kB / 4.061 GB, free: 267.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/8.349, allocations: 58.59 kB / 4.061 GB, free: 267.1 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.0001969/8.349, allocations: 139.1 kB / 4.061 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/8.349, allocations: 120.8 kB / 4.061 GB, free: 266.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/8.351, allocations: 1.214 MB / 4.062 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/8.351, allocations: 11.31 kB / 4.062 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/8.351, allocations: 0 / 4.062 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/8.351, allocations: 3.422 kB / 4.062 GB, free: 266.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003645/8.355, allocations: 2.626 MB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/8.355, allocations: 7.062 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/8.356, allocations: 265.8 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/8.356, allocations: 7.625 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/8.357, allocations: 25.98 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.954e-06/8.357, allocations: 11.95 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/8.357, allocations: 9.531 kB / 4.065 GB, free: 266.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002364/8.359, allocations: 2.169 MB / 4.067 GB, free: 265.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004508/8.359, allocations: 335.4 kB / 4.068 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/8.36, allocations: 7.875 kB / 4.068 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/8.361, allocations: 136 kB / 4.068 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/8.361, allocations: 64.31 kB / 4.068 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/8.361, allocations: 39.41 kB / 4.068 GB, free: 265.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006224/8.362, allocations: 0.6499 MB / 4.069 GB, free: 265.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001326/8.363, allocations: 458.7 kB / 4.069 GB, free: 265.5 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.002295/8.365, allocations: 2.123 MB / 4.071 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001372/8.367, allocations: 1.035 MB / 4.072 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/8.367, allocations: 0 / 4.072 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006906/8.368, allocations: 0.5427 MB / 4.073 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/8.369, allocations: 430.5 kB / 4.073 GB, free: 265 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/8.373, allocations: 2.069 MB / 4.075 GB, free: 264.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001075/8.374, allocations: 1.365 MB / 4.076 GB, free: 263.8 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/8.374, allocations: 0 / 4.076 GB, free: 263.8 MB / 0.948 GB Notification: Performance of Templates: time 0.04627/8.42, allocations: 31.11 MB / 4.107 GB, free: 263.2 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)