Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.8878/0.8878, allocations: 127.4 MB / 134.6 MB, free: 4.078 MB / 106.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.001253, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.995/1.995, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001053, allocations: 91.25 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.364/0.3651, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.5708, allocations: 76.75 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.578/6.149, allocations: 2.143 GB / 2.764 GB, free: 50.17 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002132/6.149, allocations: 83.95 kB / 2.764 GB, free: 50.09 MB / 0.6355 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 4.128/10.28, allocations: 1.004 GB / 3.768 GB, free: 25.97 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/10.28, allocations: 8 kB / 3.768 GB, free: 25.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/10.28, allocations: 0.7669 MB / 3.769 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003896/10.29, allocations: 1.04 MB / 3.77 GB, free: 24.09 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.565e-05/10.29, allocations: 31.98 kB / 3.77 GB, free: 24.06 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000453/10.29, allocations: 60 kB / 3.77 GB, free: 24 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002473/10.29, allocations: 0.9489 MB / 3.771 GB, free: 23.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/10.29, allocations: 1.143 MB / 3.772 GB, free: 21.84 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/10.29, allocations: 7.844 kB / 3.772 GB, free: 21.83 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/10.29, allocations: 4 kB / 3.772 GB, free: 21.82 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.174e-05/10.29, allocations: 53.92 kB / 3.772 GB, free: 21.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00885/10.3, allocations: 5.664 MB / 3.777 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/10.3, allocations: 0.9175 MB / 3.778 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006577/10.3, allocations: 0.4912 MB / 3.779 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008404/10.3, allocations: 0.5851 MB / 3.779 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008091/10.3, allocations: 0.5769 MB / 3.78 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=79): time 3.997e-06/10.3, allocations: 4 kB / 3.78 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=79): time 0.002569/10.31, allocations: 1.084 MB / 3.781 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.366e-05/10.31, allocations: 64.06 kB / 3.781 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/10.31, allocations: 0.8519 MB / 3.782 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001423/10.31, allocations: 33.7 kB / 3.782 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/10.31, allocations: 415.6 kB / 3.782 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/10.31, allocations: 256.2 kB / 3.783 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.928e-05/10.31, allocations: 4 kB / 3.783 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001032/10.31, allocations: 350.6 kB / 3.783 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/10.31, allocations: 417.8 kB / 3.783 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007817/10.31, allocations: 0.7345 MB / 3.784 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/10.31, allocations: 474.8 kB / 3.784 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.026e-06/10.31, allocations: 8 kB / 3.784 GB, free: 8.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002193/10.31, allocations: 1.182 MB / 3.786 GB, free: 7.09 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/10.31, allocations: 6.188 kB / 3.786 GB, free: 7.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/10.31, allocations: 8 kB / 3.786 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-05/10.31, allocations: 12 kB / 3.786 GB, free: 7.066 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/10.32, allocations: 324.1 kB / 3.786 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.005e-05/10.32, allocations: 27.86 kB / 3.786 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/10.32, allocations: 203.1 kB / 3.786 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/10.32, allocations: 59.86 kB / 3.786 GB, free: 6.465 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (116): * Single equations (assignments): 116 * 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.0002658/10.32, allocations: 138.7 kB / 3.786 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/10.32, allocations: 118.5 kB / 3.786 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002262/10.32, allocations: 1.186 MB / 3.788 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/10.32, allocations: 8 kB / 3.788 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/10.32, allocations: 0 / 3.788 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/10.32, allocations: 7.984 kB / 3.788 GB, free: 5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004533/10.33, allocations: 2.575 MB / 3.79 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/10.33, allocations: 8.062 kB / 3.79 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/10.33, allocations: 259.6 kB / 3.79 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.748e-05/10.33, allocations: 8 kB / 3.79 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/10.33, allocations: 35.89 kB / 3.79 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/10.33, allocations: 8 kB / 3.79 GB, free: 2.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/10.33, allocations: 4 kB / 3.79 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002822/10.33, allocations: 2.114 MB / 3.793 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004976/10.33, allocations: 3.266 MB / 3.796 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005236/10.34, allocations: 215.6 kB / 3.796 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/10.34, allocations: 12 kB / 3.796 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/10.34, allocations: 147.7 kB / 3.796 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/10.34, allocations: 60.56 kB / 3.796 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/10.34, allocations: 43.97 kB / 3.796 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001362/10.34, allocations: 0.6446 MB / 3.797 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003466/10.34, allocations: 0.6672 MB / 3.797 GB, free: 10.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (85): * Single equations (assignments): 79 * 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.004273/10.35, allocations: 2.164 MB / 3.8 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002084/10.35, allocations: 1.039 MB / 3.801 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/10.35, allocations: 0 / 3.801 GB, free: 7.312 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000957/10.35, allocations: 0.5333 MB / 3.801 GB, free: 6.777 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/10.35, allocations: 413.5 kB / 3.802 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01891/10.37, allocations: 2.788 MB / 3.804 GB, free: 3.5 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002833/10.37, allocations: 1.373 MB / 3.806 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of SimCode: time 2.164e-06/10.37, allocations: 0 / 3.806 GB, free: 2.098 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)