Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.585/2.585, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 187.9 kB / 490.8 MB, free: 1.934 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 90.59 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.797/0.7981, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/1.183, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/6.572, allocations: 1.874 GB / 3.085 GB, free: 433.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/6.573, allocations: 85.23 kB / 3.086 GB, free: 433.5 MB / 1.151 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.244/8.817, allocations: 0.6876 GB / 3.773 GB, free: 189 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/8.817, allocations: 8 kB / 3.773 GB, free: 189 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/8.823, allocations: 0.9804 MB / 3.774 GB, free: 188.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/8.828, allocations: 1.162 MB / 3.775 GB, free: 186.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-05/8.828, allocations: 27.98 kB / 3.775 GB, free: 186.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004499/8.829, allocations: 56 kB / 3.775 GB, free: 186.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002261/8.831, allocations: 1.011 MB / 3.776 GB, free: 185.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/8.833, allocations: 1.193 MB / 3.778 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.031e-05/8.833, allocations: 4 kB / 3.778 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/8.833, allocations: 0.6562 kB / 3.778 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.68e-05/8.833, allocations: 49.91 kB / 3.778 GB, free: 184.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009927/8.843, allocations: 4.883 MB / 3.782 GB, free: 179.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/8.845, allocations: 1.04 MB / 3.783 GB, free: 178.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007809/8.846, allocations: 0.5929 MB / 3.784 GB, free: 177.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/8.847, allocations: 0.9499 MB / 3.785 GB, free: 176.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009928/8.848, allocations: 0.6837 MB / 3.786 GB, free: 176 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 4.949e-06/8.848, allocations: 0 / 3.786 GB, free: 176 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.003313/8.851, allocations: 1.321 MB / 3.787 GB, free: 174.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/8.851, allocations: 68.17 kB / 3.787 GB, free: 174.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/8.853, allocations: 0.8176 MB / 3.788 GB, free: 173.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/8.853, allocations: 29.7 kB / 3.788 GB, free: 173.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/8.853, allocations: 378.5 kB / 3.788 GB, free: 173.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002871/8.853, allocations: 315.4 kB / 3.788 GB, free: 173 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.044e-05/8.853, allocations: 0 / 3.788 GB, free: 173 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.054e-05/8.853, allocations: 345.8 kB / 3.789 GB, free: 172.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/8.854, allocations: 497.7 kB / 3.789 GB, free: 172.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/8.855, allocations: 0.7039 MB / 3.79 GB, free: 171.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000855/8.856, allocations: 0.5298 MB / 3.79 GB, free: 170.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/8.856, allocations: 3.938 kB / 3.79 GB, free: 170.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00219/8.858, allocations: 1.302 MB / 3.792 GB, free: 169.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/8.858, allocations: 4 kB / 3.792 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/8.858, allocations: 4 kB / 3.792 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/8.858, allocations: 11.98 kB / 3.792 GB, free: 169.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/8.86, allocations: 372.1 kB / 3.792 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/8.86, allocations: 11.94 kB / 3.792 GB, free: 169.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001945/8.862, allocations: 237.9 kB / 3.792 GB, free: 168.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/8.862, allocations: 55.97 kB / 3.792 GB, free: 168.9 MB / 1.151 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.0002572/8.863, allocations: 130.7 kB / 3.792 GB, free: 168.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/8.863, allocations: 118.5 kB / 3.793 GB, free: 168.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/8.866, allocations: 1.394 MB / 3.794 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/8.866, allocations: 11.98 kB / 3.794 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/8.866, allocations: 3.938 kB / 3.794 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/8.866, allocations: 11.98 kB / 3.794 GB, free: 167.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/8.871, allocations: 2.92 MB / 3.797 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/8.871, allocations: 4 kB / 3.797 GB, free: 164.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/8.873, allocations: 331.6 kB / 3.797 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.722e-05/8.873, allocations: 12 kB / 3.797 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/8.873, allocations: 27.95 kB / 3.797 GB, free: 163.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/8.873, allocations: 11.94 kB / 3.797 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/8.873, allocations: 7.984 kB / 3.797 GB, free: 163.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003152/8.876, allocations: 2.427 MB / 3.8 GB, free: 161.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004335/8.88, allocations: 3.713 MB / 3.803 GB, free: 157.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/8.881, allocations: 355.2 kB / 3.804 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/8.881, allocations: 4 kB / 3.804 GB, free: 157 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001637/8.883, allocations: 186.6 kB / 3.804 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/8.883, allocations: 68.55 kB / 3.804 GB, free: 156.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/8.883, allocations: 47.95 kB / 3.804 GB, free: 156.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000747/8.884, allocations: 0.6275 MB / 3.804 GB, free: 156.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002438/8.887, allocations: 0.6829 MB / 3.805 GB, free: 155.4 MB / 1.151 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.002851/8.889, allocations: 2.138 MB / 3.807 GB, free: 153.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001847/8.891, allocations: 1.194 MB / 3.808 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/8.891, allocations: 4 kB / 3.808 GB, free: 152.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/8.892, allocations: 0.6368 MB / 3.809 GB, free: 151.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00217/8.894, allocations: 412.3 kB / 3.809 GB, free: 151.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/8.911, allocations: 3.144 MB / 3.812 GB, free: 148 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/8.912, allocations: 1.401 MB / 3.814 GB, free: 146.6 MB / 1.151 GB Notification: Performance of SimCode: time 2.675e-06/8.912, allocations: 0 / 3.814 GB, free: 146.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)