Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.677/2.677, allocations: 284.8 MB / 292.1 MB, free: 10.79 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.001675/0.001675, allocations: 185.2 kB / 360.3 MB, free: 7.531 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.904/1.904, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.00128/0.00128, allocations: 85.02 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2817/0.2831, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.9668, allocations: 115.2 MB / 0.9627 GB, free: 78.69 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/2.046, allocations: 389 MB / 1.343 GB, free: 177 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/2.046, allocations: 84.64 kB / 1.343 GB, free: 177 MB / 0.8542 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.98/6.026, allocations: 0.9373 GB / 2.28 GB, free: 28.18 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/6.026, allocations: 16.48 kB / 2.28 GB, free: 28.16 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009469/6.036, allocations: 0.665 MB / 2.281 GB, free: 27.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009853/6.046, allocations: 1.498 MB / 2.282 GB, free: 25.95 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/6.046, allocations: 32 kB / 2.282 GB, free: 25.92 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000569/6.047, allocations: 68 kB / 2.282 GB, free: 25.85 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004576/6.051, allocations: 0.8592 MB / 2.283 GB, free: 24.99 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/6.056, allocations: 1.051 MB / 2.284 GB, free: 23.87 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-05/6.056, allocations: 3.906 kB / 2.284 GB, free: 23.87 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/6.056, allocations: 4 kB / 2.284 GB, free: 23.86 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/6.056, allocations: 24 kB / 2.284 GB, free: 23.84 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01974/6.076, allocations: 6.468 MB / 2.29 GB, free: 16.91 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/6.08, allocations: 0.8666 MB / 2.291 GB, free: 16.04 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/6.082, allocations: 0.4991 MB / 2.292 GB, free: 15.54 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003272/6.085, allocations: 2.264 MB / 2.294 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002314/6.088, allocations: 0.6464 MB / 2.295 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=100): time 7.043e-06/6.088, allocations: 0 / 2.295 GB, free: 12.09 MB / 0.9323 GB Notification: Performance of matching and sorting (n=100): time 0.005936/6.094, allocations: 1.379 MB / 2.296 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/6.094, allocations: 145.3 kB / 2.296 GB, free: 10.53 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/6.096, allocations: 0.8945 MB / 2.297 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002845/6.096, allocations: 33.7 kB / 2.297 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/6.096, allocations: 442.5 kB / 2.297 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004039/6.097, allocations: 315.4 kB / 2.298 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.983e-05/6.097, allocations: 0 / 2.298 GB, free: 8.836 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/6.097, allocations: 341.9 kB / 2.298 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/6.098, allocations: 413.9 kB / 2.298 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/6.099, allocations: 0.6606 MB / 2.299 GB, free: 7.328 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/6.103, allocations: 0.7424 MB / 2.3 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/6.103, allocations: 0 / 2.3 GB, free: 6.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.006026/6.109, allocations: 1.473 MB / 2.301 GB, free: 5.105 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003794/6.109, allocations: 1.618 MB / 2.303 GB, free: 3.328 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/6.11, allocations: 8 kB / 2.303 GB, free: 3.32 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/6.11, allocations: 8 kB / 2.303 GB, free: 3.312 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/6.112, allocations: 299.5 kB / 2.303 GB, free: 3.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.62e-05/6.112, allocations: 8 kB / 2.303 GB, free: 3.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/6.115, allocations: 219.1 kB / 2.303 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/6.116, allocations: 59.95 kB / 2.303 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/6.116, allocations: 4 kB / 2.303 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005392/6.121, allocations: 1.289 MB / 2.305 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/6.121, allocations: 4 kB / 2.305 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/6.121, allocations: 8 kB / 2.305 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/6.124, allocations: 291.7 kB / 2.305 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/6.124, allocations: 11.98 kB / 2.305 GB, free: 1.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003035/6.127, allocations: 211.1 kB / 2.305 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003246/6.127, allocations: 59.97 kB / 2.305 GB, free: 0.875 MB / 0.9323 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.0004734/6.128, allocations: 246.2 kB / 2.306 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/6.128, allocations: 154.1 kB / 2.306 GB, free: 472 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008989/6.137, allocations: 2.108 MB / 2.308 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.104e-05/6.137, allocations: 23.92 kB / 2.308 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/6.137, allocations: 4 kB / 2.308 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/6.137, allocations: 7.891 kB / 2.308 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/6.15, allocations: 3.218 MB / 2.311 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-05/6.15, allocations: 0 / 2.311 GB, free: 11.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002546/6.153, allocations: 255.8 kB / 2.311 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.111e-05/6.153, allocations: 4 kB / 2.311 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002385/6.153, allocations: 35.97 kB / 2.311 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/6.153, allocations: 4 kB / 2.311 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/6.153, allocations: 0 / 2.311 GB, free: 10.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009522/6.162, allocations: 2.675 MB / 2.314 GB, free: 7.977 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01196/6.175, allocations: 3.929 MB / 2.318 GB, free: 3.973 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/6.176, allocations: 404 kB / 2.318 GB, free: 3.559 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006009/6.177, allocations: 8 kB / 2.318 GB, free: 3.551 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002825/6.18, allocations: 175.7 kB / 2.318 GB, free: 3.379 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/6.18, allocations: 72.83 kB / 2.318 GB, free: 3.309 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/6.18, allocations: 51.97 kB / 2.318 GB, free: 3.258 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001661/6.182, allocations: 0.6761 MB / 2.319 GB, free: 2.582 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007371/6.189, allocations: 1.147 MB / 2.32 GB, free: 1.434 MB / 0.948 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.003256/6.193, allocations: 0.9817 MB / 2.321 GB, free: 468 kB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.4207/6.613, allocations: 1.925 MB / 2.323 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/6.613, allocations: 3.625 kB / 2.323 GB, free: 229 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001734/6.615, allocations: 0.8175 MB / 2.324 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004977/6.62, allocations: 0.5183 MB / 2.324 GB, free: 228.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007939/6.628, allocations: 2.504 MB / 2.327 GB, free: 228.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/6.63, allocations: 1.504 MB / 2.328 GB, free: 227.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.104e-06/6.63, allocations: 3.562 kB / 2.328 GB, free: 227.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)