Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001252/0.001252, allocations: 177.3 kB / 366.3 MB, free: 2.027 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.674/1.674, allocations: 205.1 MB / 0.6256 GB, free: 7.469 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.0009893/0.0009893, allocations: 84.2 kB / 0.7395 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3064/0.3074, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/1.108, allocations: 116.3 MB / 0.9726 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.385/5.492, allocations: 2.068 GB / 3.041 GB, free: 15.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/5.493, allocations: 87.88 kB / 3.041 GB, free: 15.56 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.515/8.008, allocations: 0.6817 GB / 3.722 GB, free: 62.08 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/8.008, allocations: 8 kB / 3.722 GB, free: 62.07 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00607/8.014, allocations: 0.9854 MB / 3.723 GB, free: 61.09 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/8.018, allocations: 1.129 MB / 3.725 GB, free: 59.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/8.018, allocations: 35.92 kB / 3.725 GB, free: 59.86 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/8.019, allocations: 63.94 kB / 3.725 GB, free: 59.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002135/8.021, allocations: 1.105 MB / 3.726 GB, free: 58.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001716/8.022, allocations: 1.154 MB / 3.727 GB, free: 57.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/8.022, allocations: 4 kB / 3.727 GB, free: 57.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/8.023, allocations: 3.906 kB / 3.727 GB, free: 57.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.782e-05/8.023, allocations: 49.98 kB / 3.727 GB, free: 57.45 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008797/8.031, allocations: 4.871 MB / 3.732 GB, free: 52.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/8.033, allocations: 1.038 MB / 3.733 GB, free: 51.32 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000771/8.034, allocations: 0.5917 MB / 3.733 GB, free: 50.73 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/8.035, allocations: 0.9528 MB / 3.734 GB, free: 49.59 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000899/8.036, allocations: 0.6837 MB / 3.735 GB, free: 48.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.907e-06/8.036, allocations: 0 / 3.735 GB, free: 48.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.003152/8.039, allocations: 1.329 MB / 3.736 GB, free: 47.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/8.039, allocations: 64.19 kB / 3.736 GB, free: 47.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/8.04, allocations: 0.8302 MB / 3.737 GB, free: 46.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000156/8.04, allocations: 29.7 kB / 3.737 GB, free: 46.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/8.041, allocations: 372.5 kB / 3.737 GB, free: 46.23 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/8.041, allocations: 311.5 kB / 3.738 GB, free: 45.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/8.041, allocations: 0 / 3.738 GB, free: 45.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/8.041, allocations: 345.8 kB / 3.738 GB, free: 45.58 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000694/8.042, allocations: 493.8 kB / 3.738 GB, free: 45.09 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007959/8.043, allocations: 0.7471 MB / 3.739 GB, free: 44.25 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007961/8.043, allocations: 0.526 MB / 3.74 GB, free: 43.73 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/8.043, allocations: 4 kB / 3.74 GB, free: 43.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002137/8.045, allocations: 1.302 MB / 3.741 GB, free: 42.41 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/8.046, allocations: 7.984 kB / 3.741 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/8.046, allocations: 4 kB / 3.741 GB, free: 42.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.742e-05/8.046, allocations: 16 kB / 3.741 GB, free: 42.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/8.048, allocations: 375.6 kB / 3.741 GB, free: 42.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/8.048, allocations: 8 kB / 3.741 GB, free: 42.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/8.05, allocations: 246.9 kB / 3.742 GB, free: 41.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/8.05, allocations: 55.95 kB / 3.742 GB, free: 41.71 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.0002625/8.05, allocations: 138.6 kB / 3.742 GB, free: 41.57 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/8.05, allocations: 122.5 kB / 3.742 GB, free: 41.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002574/8.053, allocations: 1.394 MB / 3.743 GB, free: 40.05 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/8.053, allocations: 12 kB / 3.743 GB, free: 40.04 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/8.053, allocations: 0 / 3.743 GB, free: 40.04 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/8.053, allocations: 7.922 kB / 3.743 GB, free: 40.03 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/8.058, allocations: 2.929 MB / 3.746 GB, free: 37.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.086e-06/8.058, allocations: 4.5 kB / 3.746 GB, free: 37.01 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/8.06, allocations: 331.5 kB / 3.746 GB, free: 36.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/8.06, allocations: 8 kB / 3.746 GB, free: 36.68 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/8.06, allocations: 31.95 kB / 3.747 GB, free: 36.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/8.06, allocations: 15.91 kB / 3.747 GB, free: 36.63 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/8.06, allocations: 7.938 kB / 3.747 GB, free: 36.62 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003195/8.063, allocations: 2.432 MB / 3.749 GB, free: 34.04 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004722/8.068, allocations: 3.71 MB / 3.753 GB, free: 30.17 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/8.069, allocations: 355.2 kB / 3.753 GB, free: 29.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/8.069, allocations: 12.23 kB / 3.753 GB, free: 29.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/8.071, allocations: 187.8 kB / 3.753 GB, free: 29.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/8.071, allocations: 68.55 kB / 3.753 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001208/8.071, allocations: 47.89 kB / 3.753 GB, free: 29.49 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007599/8.072, allocations: 0.6318 MB / 3.754 GB, free: 28.85 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002782/8.075, allocations: 0.6829 MB / 3.754 GB, free: 28.17 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.003252/8.078, allocations: 2.14 MB / 3.757 GB, free: 26.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002451/8.081, allocations: 1.191 MB / 3.758 GB, free: 24.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/8.081, allocations: 0 / 3.758 GB, free: 24.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/8.082, allocations: 0.6391 MB / 3.758 GB, free: 24.18 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002954/8.085, allocations: 425.3 kB / 3.759 GB, free: 23.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01679/8.101, allocations: 3.144 MB / 3.762 GB, free: 20.54 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00144/8.103, allocations: 1.409 MB / 3.763 GB, free: 19.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.312e-06/8.103, allocations: 4 kB / 3.763 GB, free: 19.1 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)