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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.415/1.415, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009836/0.0009838, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.15/1.15, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007474/0.0007475, allocations: 91.62 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2069/0.2077, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4643/0.672, allocations: 115.3 MB / 0.9637 GB, free: 78.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.022/3.694, allocations: 2.067 GB / 3.031 GB, free: 46.79 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/3.694, allocations: 82.33 kB / 3.031 GB, free: 46.75 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 2.847/6.541, allocations: 1.012 GB / 4.043 GB, free: 128.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/6.541, allocations: 8 kB / 4.043 GB, free: 128.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004211/6.546, allocations: 0.7655 MB / 4.043 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/6.548, allocations: 1.04 MB / 4.045 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/6.548, allocations: 31.98 kB / 4.045 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/6.548, allocations: 55.91 kB / 4.045 GB, free: 126.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/6.55, allocations: 0.9723 MB / 4.046 GB, free: 125.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/6.551, allocations: 1.13 MB / 4.047 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/6.551, allocations: 4 kB / 4.047 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/6.551, allocations: 4 kB / 4.047 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-05/6.551, allocations: 53.97 kB / 4.047 GB, free: 124.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/6.558, allocations: 5.136 MB / 4.052 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/6.559, allocations: 0.8758 MB / 4.053 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005804/6.559, allocations: 0.4933 MB / 4.053 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/6.56, allocations: 0.9487 MB / 4.054 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007114/6.561, allocations: 0.5924 MB / 4.055 GB, free: 116.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 2.745e-06/6.561, allocations: 4 kB / 4.055 GB, free: 116.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002448/6.564, allocations: 1.155 MB / 4.056 GB, free: 115 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/6.564, allocations: 60.06 kB / 4.056 GB, free: 114.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009483/6.565, allocations: 0.8518 MB / 4.057 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001076/6.565, allocations: 33.69 kB / 4.057 GB, free: 114 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/6.565, allocations: 412.7 kB / 4.057 GB, free: 113.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/6.565, allocations: 268.1 kB / 4.057 GB, free: 113.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/6.565, allocations: 0 / 4.057 GB, free: 113.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.246e-05/6.565, allocations: 345.9 kB / 4.058 GB, free: 113 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005521/6.566, allocations: 421.8 kB / 4.058 GB, free: 112.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006671/6.567, allocations: 0.738 MB / 4.059 GB, free: 111.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/6.567, allocations: 490.4 kB / 4.059 GB, free: 111.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/6.567, allocations: 0 / 4.059 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00168/6.569, allocations: 1.2 MB / 4.06 GB, free: 110 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/6.569, allocations: 4 kB / 4.06 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/6.569, allocations: 8 kB / 4.06 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/6.569, allocations: 12 kB / 4.06 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/6.571, allocations: 328.2 kB / 4.061 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/6.571, allocations: 15.94 kB / 4.061 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/6.572, allocations: 208 kB / 4.061 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/6.572, allocations: 55.97 kB / 4.061 GB, free: 109.4 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.0002128/6.572, allocations: 150.6 kB / 4.061 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/6.573, allocations: 118.5 kB / 4.061 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/6.575, allocations: 1.202 MB / 4.062 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/6.575, allocations: 15.94 kB / 4.062 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/6.575, allocations: 0 / 4.062 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/6.575, allocations: 7.969 kB / 4.062 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/6.578, allocations: 2.623 MB / 4.065 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.578, allocations: 4 kB / 4.065 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001422/6.58, allocations: 268.1 kB / 4.065 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/6.58, allocations: 8 kB / 4.065 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.15e-05/6.58, allocations: 23.97 kB / 4.065 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/6.58, allocations: 15.92 kB / 4.065 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.58, allocations: 4 kB / 4.065 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002285/6.582, allocations: 2.163 MB / 4.067 GB, free: 102.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003242/6.585, allocations: 3.325 MB / 4.071 GB, free: 99.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004723/6.586, allocations: 327.2 kB / 4.071 GB, free: 98.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/6.586, allocations: 19.92 kB / 4.071 GB, free: 98.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/6.587, allocations: 139.8 kB / 4.071 GB, free: 98.62 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/6.587, allocations: 56.59 kB / 4.071 GB, free: 98.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.262e-05/6.588, allocations: 47.95 kB / 4.071 GB, free: 98.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006411/6.588, allocations: 0.6446 MB / 4.072 GB, free: 97.87 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002178/6.59, allocations: 0.6788 MB / 4.073 GB, free: 97.19 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.002668/6.593, allocations: 2.113 MB / 4.075 GB, free: 95.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001572/6.595, allocations: 1.04 MB / 4.076 GB, free: 94.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/6.595, allocations: 4 kB / 4.076 GB, free: 94.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007784/6.595, allocations: 0.5382 MB / 4.076 GB, free: 93.51 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/6.598, allocations: 404.9 kB / 4.077 GB, free: 93.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/6.602, allocations: 2.071 MB / 4.079 GB, free: 90.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/6.603, allocations: 1.378 MB / 4.08 GB, free: 89.56 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/6.603, allocations: 4 kB / 4.08 GB, free: 89.55 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)