Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.615/2.615, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002066/0.002065, allocations: 189.2 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001283/0.001282, allocations: 87.53 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.294/0.2953, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.9779, allocations: 115.2 MB / 0.9627 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.464/6.442, allocations: 2.067 GB / 3.03 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.442, allocations: 81.89 kB / 3.03 GB, free: 273.1 MB / 0.9323 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 4.497/10.94, allocations: 1.012 GB / 4.042 GB, free: 44.46 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/10.94, allocations: 8 kB / 4.042 GB, free: 44.45 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007795/10.95, allocations: 0.7668 MB / 4.042 GB, free: 43.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004679/10.95, allocations: 1.04 MB / 4.043 GB, free: 42.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.104e-05/10.95, allocations: 32 kB / 4.043 GB, free: 42.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002885/10.95, allocations: 52 kB / 4.043 GB, free: 42.51 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00302/10.96, allocations: 0.9723 MB / 4.044 GB, free: 41.53 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/10.96, allocations: 1.141 MB / 4.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.423e-05/10.96, allocations: 0 / 4.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/10.96, allocations: 4 kB / 4.045 GB, free: 40.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-05/10.96, allocations: 45.98 kB / 4.046 GB, free: 40.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/10.97, allocations: 5.16 MB / 4.051 GB, free: 34.89 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/10.98, allocations: 0.8751 MB / 4.051 GB, free: 34 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/10.98, allocations: 0.4889 MB / 4.052 GB, free: 33.52 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001763/10.98, allocations: 0.9488 MB / 4.053 GB, free: 32.38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00153/10.98, allocations: 0.5924 MB / 4.053 GB, free: 31.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 4.939e-06/10.98, allocations: 0 / 4.053 GB, free: 31.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.004925/10.98, allocations: 1.158 MB / 4.055 GB, free: 30.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/10.98, allocations: 60.06 kB / 4.055 GB, free: 30.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/10.99, allocations: 0.8556 MB / 4.055 GB, free: 29.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/10.99, allocations: 33.7 kB / 4.055 GB, free: 29.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/10.99, allocations: 407.8 kB / 4.056 GB, free: 29.22 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/10.99, allocations: 272 kB / 4.056 GB, free: 28.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/10.99, allocations: 0 / 4.056 GB, free: 28.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.895e-05/10.99, allocations: 342 kB / 4.056 GB, free: 28.61 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/10.99, allocations: 425.8 kB / 4.057 GB, free: 28.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/10.99, allocations: 0.7288 MB / 4.058 GB, free: 27.34 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/10.99, allocations: 490.4 kB / 4.058 GB, free: 26.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/10.99, allocations: 0 / 4.058 GB, free: 26.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003583/11, allocations: 1.192 MB / 4.059 GB, free: 25.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/11, allocations: 4.938 kB / 4.059 GB, free: 25.65 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/11, allocations: 11.98 kB / 4.059 GB, free: 25.64 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/11, allocations: 16 kB / 4.059 GB, free: 25.62 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/11, allocations: 319.5 kB / 4.06 GB, free: 25.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.968e-05/11, allocations: 19.92 kB / 4.06 GB, free: 25.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003194/11, allocations: 203 kB / 4.06 GB, free: 25.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/11, allocations: 59.95 kB / 4.06 GB, free: 25.04 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.0003633/11, allocations: 137.8 kB / 4.06 GB, free: 24.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/11, allocations: 118.5 kB / 4.06 GB, free: 24.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003963/11.01, allocations: 1.217 MB / 4.061 GB, free: 23.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/11.01, allocations: 16 kB / 4.061 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/11.01, allocations: 0 / 4.061 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/11.01, allocations: 3.984 kB / 4.061 GB, free: 23.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/11.02, allocations: 2.621 MB / 4.064 GB, free: 20.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/11.02, allocations: 4 kB / 4.064 GB, free: 20.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003119/11.02, allocations: 267.9 kB / 4.064 GB, free: 20.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/11.02, allocations: 8 kB / 4.064 GB, free: 20.55 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002711/11.02, allocations: 27.95 kB / 4.064 GB, free: 20.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/11.02, allocations: 15.94 kB / 4.064 GB, free: 20.51 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/11.02, allocations: 7.938 kB / 4.064 GB, free: 20.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004963/11.02, allocations: 2.167 MB / 4.066 GB, free: 18.18 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006907/11.03, allocations: 3.325 MB / 4.069 GB, free: 14.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/11.03, allocations: 331.2 kB / 4.07 GB, free: 14.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003566/11.03, allocations: 11.98 kB / 4.07 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/11.04, allocations: 135.9 kB / 4.07 GB, free: 14.21 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/11.04, allocations: 60.48 kB / 4.07 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/11.04, allocations: 43.95 kB / 4.07 GB, free: 14.11 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001243/11.04, allocations: 0.6485 MB / 4.071 GB, free: 13.45 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003849/11.04, allocations: 0.6634 MB / 4.071 GB, free: 12.79 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.003967/11.04, allocations: 2.134 MB / 4.073 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003169/11.05, allocations: 1.035 MB / 4.074 GB, free: 9.652 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/11.05, allocations: 0 / 4.074 GB, free: 9.652 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001729/11.05, allocations: 0.5391 MB / 4.075 GB, free: 9.117 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/11.05, allocations: 413.5 kB / 4.075 GB, free: 8.711 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/11.06, allocations: 2.075 MB / 4.077 GB, free: 6.547 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/11.06, allocations: 1.37 MB / 4.079 GB, free: 5.145 MB / 0.948 GB Notification: Performance of SimCode: time 1.814e-06/11.06, allocations: 4 kB / 4.079 GB, free: 5.141 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)