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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.1.4-maint.8.1.x/package.mo): time 1.619/1.619, allocations: 289.8 MB / 297 MB, free: 6.688 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.001233/0.001233, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.699/1.699, 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.001077/0.001077, allocations: 84.72 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3038/0.305, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7219/1.027, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.079/5.106, allocations: 2.068 GB / 3.041 GB, free: 7.855 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/5.106, allocations: 87.89 kB / 3.041 GB, free: 7.77 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 3.619/8.725, allocations: 1.012 GB / 4.053 GB, free: 73.22 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/8.725, allocations: 8 kB / 4.053 GB, free: 73.21 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004501/8.729, allocations: 0.7707 MB / 4.053 GB, free: 72.44 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/8.732, allocations: 1.04 MB / 4.054 GB, free: 71.34 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/8.732, allocations: 27.91 kB / 4.054 GB, free: 71.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/8.732, allocations: 59.98 kB / 4.055 GB, free: 71.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/8.734, allocations: 0.9411 MB / 4.055 GB, free: 70.31 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/8.736, allocations: 1.135 MB / 4.057 GB, free: 69.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/8.736, allocations: 11.88 kB / 4.057 GB, free: 69.09 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/8.736, allocations: 4 kB / 4.057 GB, free: 69.09 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/8.736, allocations: 49.98 kB / 4.057 GB, free: 69.04 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007651/8.743, allocations: 5.679 MB / 4.062 GB, free: 63.11 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/8.745, allocations: 0.8759 MB / 4.063 GB, free: 62.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/8.745, allocations: 499 kB / 4.064 GB, free: 61.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/8.746, allocations: 0.589 MB / 4.064 GB, free: 61.04 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/8.747, allocations: 0.5885 MB / 4.065 GB, free: 60.43 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 3.396e-06/8.747, allocations: 0 / 4.065 GB, free: 60.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.002249/8.749, allocations: 1.084 MB / 4.066 GB, free: 59.34 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/8.749, allocations: 60.06 kB / 4.066 GB, free: 59.27 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/8.75, allocations: 0.8677 MB / 4.067 GB, free: 58.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/8.75, allocations: 25.7 kB / 4.067 GB, free: 58.35 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/8.751, allocations: 411.8 kB / 4.067 GB, free: 57.94 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/8.751, allocations: 264.2 kB / 4.067 GB, free: 57.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/8.751, allocations: 0 / 4.067 GB, free: 57.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/8.751, allocations: 349.9 kB / 4.068 GB, free: 57.33 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005661/8.752, allocations: 417.8 kB / 4.068 GB, free: 56.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/8.752, allocations: 0.7353 MB / 4.069 GB, free: 56.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006852/8.753, allocations: 489.2 kB / 4.069 GB, free: 55.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/8.753, allocations: 4 kB / 4.069 GB, free: 55.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001835/8.755, allocations: 1.181 MB / 4.07 GB, free: 54.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/8.755, allocations: 15.89 kB / 4.07 GB, free: 54.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/8.755, allocations: 4 kB / 4.07 GB, free: 54.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.81e-05/8.755, allocations: 16.81 kB / 4.07 GB, free: 54.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001653/8.757, allocations: 327.5 kB / 4.071 GB, free: 54.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/8.757, allocations: 15.94 kB / 4.071 GB, free: 54.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/8.758, allocations: 211 kB / 4.071 GB, free: 53.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/8.759, allocations: 55.97 kB / 4.071 GB, free: 53.75 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.0002478/8.759, allocations: 150.5 kB / 4.071 GB, free: 53.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/8.759, allocations: 118.5 kB / 4.071 GB, free: 53.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/8.761, allocations: 1.19 MB / 4.072 GB, free: 52.28 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/8.761, allocations: 12 kB / 4.072 GB, free: 52.27 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/8.761, allocations: 0 / 4.072 GB, free: 52.27 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/8.761, allocations: 3.984 kB / 4.072 GB, free: 52.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004073/8.765, allocations: 2.596 MB / 4.075 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/8.765, allocations: 4 kB / 4.075 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001469/8.767, allocations: 271.8 kB / 4.075 GB, free: 49.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/8.767, allocations: 8 kB / 4.075 GB, free: 49.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/8.767, allocations: 31.95 kB / 4.075 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/8.767, allocations: 7.938 kB / 4.075 GB, free: 49.25 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/8.767, allocations: 11.94 kB / 4.075 GB, free: 49.24 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002634/8.77, allocations: 2.128 MB / 4.077 GB, free: 46.96 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003692/8.773, allocations: 3.29 MB / 4.081 GB, free: 43.52 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006788/8.774, allocations: 319.3 kB / 4.081 GB, free: 43.19 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/8.774, allocations: 16 kB / 4.081 GB, free: 43.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/8.776, allocations: 159.6 kB / 4.081 GB, free: 43.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/8.776, allocations: 60.48 kB / 4.081 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-05/8.776, allocations: 39.97 kB / 4.081 GB, free: 42.92 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008361/8.777, allocations: 0.6487 MB / 4.082 GB, free: 42.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002731/8.779, allocations: 0.6673 MB / 4.082 GB, free: 41.6 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.002864/8.782, allocations: 2.129 MB / 4.085 GB, free: 39.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001721/8.784, allocations: 1.034 MB / 4.086 GB, free: 38.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/8.784, allocations: 2 kB / 4.086 GB, free: 38.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/8.785, allocations: 0.5456 MB / 4.086 GB, free: 37.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/8.787, allocations: 414.4 kB / 4.086 GB, free: 37.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/8.803, allocations: 2.793 MB / 4.089 GB, free: 34.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/8.804, allocations: 1.377 MB / 4.091 GB, free: 33.18 MB / 0.948 GB Notification: Performance of SimCode: time 8.62e-07/8.804, allocations: 0 / 4.091 GB, free: 33.18 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)