Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.444/1.444, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001149/0.001149, allocations: 183.7 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.322/1.322, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008714/0.0008715, allocations: 89.45 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2184/0.2193, allocations: 121.4 MB / 0.8511 GB, free: 2.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4901/0.7094, allocations: 115.3 MB / 0.9638 GB, free: 77.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.642/4.351, allocations: 2.317 GB / 3.281 GB, free: 205.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/4.352, allocations: 85.62 kB / 3.281 GB, free: 205.2 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 1.732/6.084, allocations: 0.6002 GB / 3.881 GB, free: 213.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/6.084, allocations: 7.531 kB / 3.881 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/6.087, allocations: 0.6443 MB / 3.882 GB, free: 213.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/6.09, allocations: 0.9409 MB / 3.882 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/6.09, allocations: 26.64 kB / 3.882 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/6.09, allocations: 47.06 kB / 3.883 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001059/6.091, allocations: 0.5677 MB / 3.883 GB, free: 213.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/6.092, allocations: 0.8038 MB / 3.884 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/6.092, allocations: 6.719 kB / 3.884 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/6.093, allocations: 7.125 kB / 3.884 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/6.093, allocations: 22.03 kB / 3.884 GB, free: 213.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00506/6.098, allocations: 4.854 MB / 3.889 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009215/6.099, allocations: 0.5378 MB / 3.889 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003968/6.099, allocations: 292.2 kB / 3.889 GB, free: 210.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009884/6.1, allocations: 1.596 MB / 3.891 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000514/6.1, allocations: 385.4 kB / 3.891 GB, free: 208.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 3.327e-06/6.101, allocations: 2.625 kB / 3.891 GB, free: 208.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.001638/6.102, allocations: 0.7066 MB / 3.892 GB, free: 208.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/6.102, allocations: 62.38 kB / 3.892 GB, free: 208.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009875/6.103, allocations: 0.8429 MB / 3.893 GB, free: 208.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.549e-05/6.103, allocations: 33.48 kB / 3.893 GB, free: 208.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/6.103, allocations: 379.5 kB / 3.893 GB, free: 207.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/6.104, allocations: 198.1 kB / 3.894 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/6.104, allocations: 0 / 3.894 GB, free: 207.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.945e-05/6.104, allocations: 336.6 kB / 3.894 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/6.104, allocations: 253.5 kB / 3.894 GB, free: 207.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/6.105, allocations: 0.5653 MB / 3.895 GB, free: 207.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000882/6.106, allocations: 359.1 kB / 3.895 GB, free: 207.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/6.106, allocations: 0 / 3.895 GB, free: 207.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001665/6.107, allocations: 0.887 MB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/6.107, allocations: 6.281 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/6.107, allocations: 7.375 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/6.107, allocations: 13.5 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/6.109, allocations: 286.2 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/6.109, allocations: 19.77 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/6.11, allocations: 194.4 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/6.11, allocations: 52.59 kB / 3.896 GB, free: 207 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0001721/6.11, allocations: 141.1 kB / 3.897 GB, free: 206.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/6.11, allocations: 120 kB / 3.897 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/6.112, allocations: 1.059 MB / 3.898 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/6.112, allocations: 11.81 kB / 3.898 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/6.112, allocations: 3.906 kB / 3.898 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/6.112, allocations: 3.656 kB / 3.898 GB, free: 206.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/6.116, allocations: 1.987 MB / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/6.116, allocations: 0 / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/6.117, allocations: 219.5 kB / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/6.117, allocations: 3.938 kB / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.438e-05/6.117, allocations: 22.16 kB / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/6.117, allocations: 3.781 kB / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/6.117, allocations: 0 / 3.9 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002158/6.119, allocations: 1.539 MB / 3.901 GB, free: 206 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002717/6.122, allocations: 2.397 MB / 3.904 GB, free: 205.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/6.122, allocations: 296 kB / 3.904 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/6.122, allocations: 7.688 kB / 3.904 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/6.123, allocations: 138.4 kB / 3.904 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/6.123, allocations: 45.08 kB / 3.904 GB, free: 205.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.395e-05/6.124, allocations: 36.84 kB / 3.904 GB, free: 205.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006661/6.124, allocations: 0.6371 MB / 3.905 GB, free: 205 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001833/6.126, allocations: 442.5 kB / 3.905 GB, free: 205 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001258/6.127, allocations: 0.7062 MB / 3.906 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001046/6.128, allocations: 0.7366 MB / 3.907 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/6.128, allocations: 0 / 3.907 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005079/6.129, allocations: 413 kB / 3.907 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/6.13, allocations: 335.2 kB / 3.907 GB, free: 204.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/6.134, allocations: 1.827 MB / 3.909 GB, free: 204.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008821/6.135, allocations: 1.284 MB / 3.91 GB, free: 203.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.41e-07/6.135, allocations: 3.875 kB / 3.91 GB, free: 203.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)