Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.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.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_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.0.1-maint.8.0.x/package.mo): time 1.472/1.472, allocations: 285.5 MB / 292.8 MB, free: 9.863 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.000963/0.0009631, allocations: 177.4 kB / 361.1 MB, free: 376 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 0.6195 GB, free: 2.879 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 84.52 kB / 0.7326 GB, free: 1.062 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4989/0.4998, allocations: 121.4 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.7112, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7619/1.473, allocations: 389.2 MB / 1.344 GB, free: 372 kB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/1.473, allocations: 89.69 kB / 1.344 GB, free: 328 kB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 3.065/4.539, allocations: 0.9373 GB / 2.281 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/4.539, allocations: 8.062 kB / 2.281 GB, free: 128.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003652/4.542, allocations: 0.6713 MB / 2.282 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/4.547, allocations: 1.492 MB / 2.283 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/4.547, allocations: 34.88 kB / 2.283 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003373/4.547, allocations: 66.09 kB / 2.283 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001859/4.549, allocations: 0.8642 MB / 2.284 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/4.551, allocations: 1.059 MB / 2.285 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/4.551, allocations: 8.438 kB / 2.285 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.947e-05/4.551, allocations: 3.781 kB / 2.285 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/4.551, allocations: 26.19 kB / 2.285 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008673/4.56, allocations: 6.485 MB / 2.292 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/4.561, allocations: 0.8574 MB / 2.292 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006426/4.562, allocations: 0.5093 MB / 2.293 GB, free: 124.2 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/4.563, allocations: 2.255 MB / 2.295 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007873/4.564, allocations: 0.6528 MB / 2.296 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=100): time 3.546e-06/4.564, allocations: 0 / 2.296 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100): time 0.003346/4.567, allocations: 1.371 MB / 2.297 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/4.567, allocations: 143.6 kB / 2.297 GB, free: 121.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/4.569, allocations: 0.8986 MB / 2.298 GB, free: 121 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/4.569, allocations: 29.33 kB / 2.298 GB, free: 121 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/4.569, allocations: 447.2 kB / 2.299 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/4.569, allocations: 316.8 kB / 2.299 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.113e-05/4.569, allocations: 3.781 kB / 2.299 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.984e-05/4.569, allocations: 343.7 kB / 2.299 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005847/4.57, allocations: 406.5 kB / 2.3 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007362/4.571, allocations: 0.6579 MB / 2.3 GB, free: 120 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/4.573, allocations: 0.7309 MB / 2.301 GB, free: 120 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/4.573, allocations: 3.75 kB / 2.301 GB, free: 120 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003219/4.576, allocations: 1.48 MB / 2.302 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003066/4.576, allocations: 1.613 MB / 2.304 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/4.576, allocations: 3.969 kB / 2.304 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.727e-05/4.576, allocations: 11.67 kB / 2.304 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/4.578, allocations: 288.2 kB / 2.304 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/4.578, allocations: 20.17 kB / 2.304 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/4.579, allocations: 211.8 kB / 2.305 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/4.58, allocations: 68.83 kB / 2.305 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.829e-06/4.58, allocations: 7.031 kB / 2.305 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002892/4.583, allocations: 1.282 MB / 2.306 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/4.583, allocations: 7.453 kB / 2.306 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/4.583, allocations: 7.812 kB / 2.306 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/4.584, allocations: 300.7 kB / 2.306 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/4.584, allocations: 7.844 kB / 2.306 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/4.585, allocations: 210 kB / 2.306 GB, free: 118 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/4.586, allocations: 63.94 kB / 2.306 GB, free: 118 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 3 * 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.000304/4.586, allocations: 237.9 kB / 2.307 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003102/4.586, allocations: 154.7 kB / 2.307 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/4.591, allocations: 2.108 MB / 2.309 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/4.591, allocations: 18.73 kB / 2.309 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/4.591, allocations: 3.219 kB / 2.309 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/4.591, allocations: 4.734 kB / 2.309 GB, free: 117.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005954/4.597, allocations: 3.224 MB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/4.597, allocations: 6.125 kB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/4.598, allocations: 248 kB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/4.598, allocations: 3.594 kB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/4.598, allocations: 33.38 kB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/4.598, allocations: 6.875 kB / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/4.598, allocations: 0 / 2.312 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004259/4.602, allocations: 2.672 MB / 2.315 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005487/4.608, allocations: 3.94 MB / 2.319 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008721/4.609, allocations: 405.4 kB / 2.319 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004229/4.609, allocations: 12.94 kB / 2.319 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/4.611, allocations: 168.5 kB / 2.319 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/4.611, allocations: 65.56 kB / 2.319 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/4.611, allocations: 56.75 kB / 2.319 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001076/4.612, allocations: 0.6761 MB / 2.32 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00448/4.616, allocations: 1.144 MB / 2.321 GB, free: 115.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (heaHigPowOut.T,cooLimPowOut.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * 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 Backend phase and start with SimCode phase: time 0.001858/4.618, allocations: 0.981 MB / 2.322 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00252/4.621, allocations: 1.925 MB / 2.324 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/4.621, allocations: 3.906 kB / 2.324 GB, free: 115.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009643/4.622, allocations: 0.813 MB / 2.325 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/4.624, allocations: 0.5204 MB / 2.325 GB, free: 115.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004996/4.629, allocations: 2.518 MB / 2.328 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001459/4.631, allocations: 1.509 MB / 2.329 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of SimCode: time 8.51e-07/4.631, allocations: 0 / 2.329 GB, free: 113.7 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)