Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.071/2.071, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.001044/0.001044, allocations: 180.8 kB / 487 MB, free: 5.336 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.464/1.464, allocations: 221.3 MB / 0.7819 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 98.05 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6677/0.6689, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.9651, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.456/5.421, allocations: 1.873 GB / 3.078 GB, free: 434.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/5.422, allocations: 89.98 kB / 3.078 GB, free: 434.4 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.076/7.498, allocations: 0.6876 GB / 3.766 GB, free: 187.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/7.498, allocations: 8 kB / 3.766 GB, free: 187.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005694/7.504, allocations: 0.9841 MB / 3.767 GB, free: 186.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/7.508, allocations: 1.166 MB / 3.768 GB, free: 185.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/7.508, allocations: 28 kB / 3.768 GB, free: 185.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/7.508, allocations: 52 kB / 3.768 GB, free: 185.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00213/7.511, allocations: 1.023 MB / 3.769 GB, free: 184.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002026/7.513, allocations: 1.177 MB / 3.77 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/7.513, allocations: 4 kB / 3.77 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/7.513, allocations: 0 / 3.77 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/7.513, allocations: 41.97 kB / 3.77 GB, free: 182.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008947/7.522, allocations: 4.89 MB / 3.775 GB, free: 177.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/7.523, allocations: 1.041 MB / 3.776 GB, free: 176.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/7.524, allocations: 0.5851 MB / 3.777 GB, free: 176.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001147/7.525, allocations: 0.9488 MB / 3.778 GB, free: 175.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009695/7.526, allocations: 0.6863 MB / 3.778 GB, free: 174.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=95): time 4.619e-06/7.526, allocations: 0 / 3.778 GB, free: 174.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=95): time 0.003422/7.53, allocations: 1.333 MB / 3.78 GB, free: 173.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/7.53, allocations: 60.19 kB / 3.78 GB, free: 173 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/7.531, allocations: 0.8178 MB / 3.781 GB, free: 172.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/7.531, allocations: 37.69 kB / 3.781 GB, free: 172.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/7.532, allocations: 364.5 kB / 3.781 GB, free: 171.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003769/7.532, allocations: 315.4 kB / 3.781 GB, free: 171.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/7.532, allocations: 3.938 kB / 3.781 GB, free: 171.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001448/7.533, allocations: 345.8 kB / 3.782 GB, free: 171.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007813/7.533, allocations: 497.8 kB / 3.782 GB, free: 170.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009539/7.534, allocations: 0.7117 MB / 3.783 GB, free: 169.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008894/7.535, allocations: 0.5263 MB / 3.783 GB, free: 169.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/7.535, allocations: 0 / 3.783 GB, free: 169.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002381/7.538, allocations: 1.299 MB / 3.785 GB, free: 168 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/7.538, allocations: 12.06 kB / 3.785 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/7.538, allocations: 4 kB / 3.785 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/7.538, allocations: 8 kB / 3.785 GB, free: 168 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/7.54, allocations: 371.4 kB / 3.785 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.341e-05/7.54, allocations: 15.98 kB / 3.785 GB, free: 167.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00207/7.542, allocations: 234.6 kB / 3.785 GB, free: 167.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/7.542, allocations: 55.95 kB / 3.785 GB, free: 167.3 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.0003116/7.543, allocations: 154.3 kB / 3.785 GB, free: 167.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003949/7.543, allocations: 114.6 kB / 3.785 GB, free: 167 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/7.546, allocations: 1.398 MB / 3.787 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/7.546, allocations: 8 kB / 3.787 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/7.546, allocations: 0 / 3.787 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/7.546, allocations: 3.984 kB / 3.787 GB, free: 165.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/7.551, allocations: 2.926 MB / 3.79 GB, free: 162.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/7.551, allocations: 4 kB / 3.79 GB, free: 162.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/7.553, allocations: 332 kB / 3.79 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.187e-05/7.553, allocations: 8 kB / 3.79 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/7.553, allocations: 31.95 kB / 3.79 GB, free: 162.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/7.553, allocations: 8 kB / 3.79 GB, free: 162.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/7.553, allocations: 4 kB / 3.79 GB, free: 162.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003102/7.557, allocations: 2.446 MB / 3.792 GB, free: 159.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004245/7.561, allocations: 3.709 MB / 3.796 GB, free: 155.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/7.562, allocations: 347.2 kB / 3.796 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003824/7.562, allocations: 12 kB / 3.796 GB, free: 155.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/7.564, allocations: 179.8 kB / 3.797 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/7.564, allocations: 68.59 kB / 3.797 GB, free: 155.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/7.564, allocations: 47.95 kB / 3.797 GB, free: 155.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008465/7.565, allocations: 0.6236 MB / 3.797 GB, free: 154.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003164/7.568, allocations: 0.6861 MB / 3.798 GB, free: 153.8 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.003588/7.572, allocations: 2.128 MB / 3.8 GB, free: 151.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00225/7.574, allocations: 1.191 MB / 3.801 GB, free: 150.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/7.574, allocations: 0 / 3.801 GB, free: 150.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009396/7.575, allocations: 0.6432 MB / 3.802 GB, free: 150.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/7.577, allocations: 413.9 kB / 3.802 GB, free: 149.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/7.595, allocations: 3.145 MB / 3.805 GB, free: 146.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/7.597, allocations: 1.401 MB / 3.807 GB, free: 145 MB / 1.151 GB Notification: Performance of SimCode: time 1.904e-06/7.597, allocations: 0 / 3.807 GB, free: 145 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)