Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.371/1.371, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.000968/0.0009681, allocations: 185.2 kB / 361.1 MB, free: 7.117 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.101/1.101, 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.0007931/0.0007931, allocations: 95.23 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1952/0.1961, allocations: 121.4 MB / 0.8511 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.6599, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.16/3.82, allocations: 2.067 GB / 3.031 GB, free: 69.38 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/3.82, allocations: 89.06 kB / 3.031 GB, free: 69.29 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 2.041/5.861, allocations: 0.6817 GB / 3.713 GB, free: 120.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/5.861, allocations: 8.5 kB / 3.713 GB, free: 120.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/5.867, allocations: 0.9814 MB / 3.714 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003308/5.87, allocations: 1.141 MB / 3.715 GB, free: 118.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/5.87, allocations: 31.94 kB / 3.715 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/5.87, allocations: 59.94 kB / 3.715 GB, free: 118.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001908/5.872, allocations: 1.101 MB / 3.716 GB, free: 117.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/5.874, allocations: 1.166 MB / 3.717 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/5.874, allocations: 0 / 3.717 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/5.874, allocations: 0 / 3.717 GB, free: 116.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/5.874, allocations: 49.97 kB / 3.717 GB, free: 116.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/5.882, allocations: 4.876 MB / 3.722 GB, free: 111 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/5.883, allocations: 1.042 MB / 3.723 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007151/5.884, allocations: 0.589 MB / 3.723 GB, free: 109.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/5.885, allocations: 0.9528 MB / 3.724 GB, free: 108.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008655/5.886, allocations: 0.6799 MB / 3.725 GB, free: 107.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 2.936e-06/5.886, allocations: 0 / 3.725 GB, free: 107.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002866/5.889, allocations: 1.333 MB / 3.726 GB, free: 106.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/5.889, allocations: 60.19 kB / 3.726 GB, free: 106.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009139/5.89, allocations: 0.8302 MB / 3.727 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/5.89, allocations: 25.7 kB / 3.727 GB, free: 105.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/5.89, allocations: 376.6 kB / 3.728 GB, free: 104.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/5.89, allocations: 319.3 kB / 3.728 GB, free: 104.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.083e-05/5.89, allocations: 0 / 3.728 GB, free: 104.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/5.891, allocations: 349.8 kB / 3.728 GB, free: 104.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006653/5.891, allocations: 493.8 kB / 3.729 GB, free: 103.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008456/5.892, allocations: 0.7345 MB / 3.729 GB, free: 102.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008544/5.893, allocations: 0.5299 MB / 3.73 GB, free: 102.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/5.893, allocations: 0 / 3.73 GB, free: 102.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002004/5.895, allocations: 1.306 MB / 3.731 GB, free: 101.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/5.895, allocations: 4 kB / 3.731 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/5.895, allocations: 4 kB / 3.731 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/5.895, allocations: 8 kB / 3.731 GB, free: 101.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/5.897, allocations: 379.9 kB / 3.732 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/5.897, allocations: 11.98 kB / 3.732 GB, free: 100.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/5.899, allocations: 239 kB / 3.732 GB, free: 100.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/5.899, allocations: 55.95 kB / 3.732 GB, free: 100.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0002457/5.899, allocations: 142.6 kB / 3.732 GB, free: 100.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/5.899, allocations: 114.6 kB / 3.732 GB, free: 100.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/5.902, allocations: 1.394 MB / 3.733 GB, free: 98.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/5.902, allocations: 15.92 kB / 3.733 GB, free: 98.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/5.902, allocations: 3.938 kB / 3.733 GB, free: 98.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/5.902, allocations: 7.984 kB / 3.733 GB, free: 98.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004539/5.906, allocations: 2.917 MB / 3.736 GB, free: 95.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/5.906, allocations: 4 kB / 3.736 GB, free: 95.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001823/5.908, allocations: 335.6 kB / 3.737 GB, free: 95.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.736e-05/5.908, allocations: 12 kB / 3.737 GB, free: 95.35 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/5.908, allocations: 27.95 kB / 3.737 GB, free: 95.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/5.908, allocations: 8 kB / 3.737 GB, free: 95.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/5.909, allocations: 11.92 kB / 3.737 GB, free: 95.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003065/5.912, allocations: 2.436 MB / 3.739 GB, free: 92.71 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00429/5.916, allocations: 3.714 MB / 3.743 GB, free: 88.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/5.917, allocations: 351.2 kB / 3.743 GB, free: 88.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/5.917, allocations: 8 kB / 3.743 GB, free: 88.47 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001705/5.919, allocations: 195.6 kB / 3.743 GB, free: 88.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/5.919, allocations: 64.48 kB / 3.743 GB, free: 88.21 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/5.919, allocations: 51.95 kB / 3.743 GB, free: 88.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006779/5.92, allocations: 0.6318 MB / 3.744 GB, free: 87.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002613/5.922, allocations: 0.6868 MB / 3.745 GB, free: 86.84 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (101): * Single equations (assignments): 95 * 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.002657/5.925, allocations: 2.135 MB / 3.747 GB, free: 84.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001751/5.927, allocations: 1.198 MB / 3.748 GB, free: 83.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/5.927, allocations: 0 / 3.748 GB, free: 83.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008466/5.928, allocations: 0.637 MB / 3.748 GB, free: 82.87 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/5.93, allocations: 419 kB / 3.749 GB, free: 82.46 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/5.945, allocations: 3.156 MB / 3.752 GB, free: 79.21 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/5.947, allocations: 1.409 MB / 3.753 GB, free: 77.77 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/5.947, allocations: 0 / 3.753 GB, free: 77.77 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)