Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001938/0.001939, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.618/1.618, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0009384/0.0009385, allocations: 77.34 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2936/0.2946, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7622/1.057, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.994/2.051, allocations: 390.2 MB / 1.354 GB, free: 100.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/2.051, allocations: 93.44 kB / 1.354 GB, free: 100.5 MB / 0.823 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.198/5.249, allocations: 0.9373 GB / 2.291 GB, free: 30.88 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/5.249, allocations: 8 kB / 2.291 GB, free: 30.87 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003865/5.253, allocations: 0.6689 MB / 2.292 GB, free: 30.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004992/5.258, allocations: 1.505 MB / 2.293 GB, free: 28.64 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/5.258, allocations: 32 kB / 2.293 GB, free: 28.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/5.259, allocations: 72 kB / 2.293 GB, free: 28.54 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002125/5.261, allocations: 0.8631 MB / 2.294 GB, free: 27.68 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/5.263, allocations: 1.047 MB / 2.295 GB, free: 26.56 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/5.263, allocations: 3.906 kB / 2.295 GB, free: 26.56 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.1e-05/5.263, allocations: 4 kB / 2.295 GB, free: 26.55 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/5.263, allocations: 24 kB / 2.295 GB, free: 26.53 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008293/5.271, allocations: 6.479 MB / 2.301 GB, free: 19.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/5.272, allocations: 0.8612 MB / 2.302 GB, free: 18.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/5.273, allocations: 0.5093 MB / 2.303 GB, free: 18.21 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001397/5.274, allocations: 2.26 MB / 2.305 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000793/5.275, allocations: 0.6503 MB / 2.306 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=100): time 4.048e-06/5.275, allocations: 0 / 2.306 GB, free: 14.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=100): time 0.003484/5.279, allocations: 1.371 MB / 2.307 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/5.279, allocations: 145.3 kB / 2.307 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/5.28, allocations: 0.8984 MB / 2.308 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/5.28, allocations: 29.7 kB / 2.308 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/5.28, allocations: 450.1 kB / 2.308 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/5.281, allocations: 307.4 kB / 2.309 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/5.281, allocations: 4 kB / 2.309 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.281e-05/5.281, allocations: 345.9 kB / 2.309 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/5.281, allocations: 409.9 kB / 2.31 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/5.282, allocations: 0.659 MB / 2.31 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002026/5.284, allocations: 0.7392 MB / 2.311 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/5.284, allocations: 4 kB / 2.311 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003052/5.287, allocations: 1.477 MB / 2.312 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000376/5.287, allocations: 1.613 MB / 2.314 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/5.287, allocations: 4 kB / 2.314 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/5.287, allocations: 12 kB / 2.314 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/5.289, allocations: 295.5 kB / 2.314 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/5.289, allocations: 11.98 kB / 2.314 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/5.291, allocations: 211.1 kB / 2.314 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/5.291, allocations: 63.97 kB / 2.314 GB, free: 5.426 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/5.291, allocations: 6.812 kB / 2.314 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002891/5.294, allocations: 1.289 MB / 2.316 GB, free: 4.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/5.294, allocations: 8.062 kB / 2.316 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/5.294, allocations: 8 kB / 2.316 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/5.295, allocations: 287.6 kB / 2.316 GB, free: 3.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/5.295, allocations: 8 kB / 2.316 GB, free: 3.828 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/5.297, allocations: 219.1 kB / 2.316 GB, free: 3.613 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/5.297, allocations: 55.97 kB / 2.316 GB, free: 3.559 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.0003843/5.297, allocations: 238.3 kB / 2.317 GB, free: 3.301 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002454/5.297, allocations: 154.1 kB / 2.317 GB, free: 3.148 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/5.302, allocations: 2.116 MB / 2.319 GB, free: 1.016 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/5.302, allocations: 19.98 kB / 2.319 GB, free: 0.9961 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/5.302, allocations: 7.938 kB / 2.319 GB, free: 0.9883 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/5.302, allocations: 11.88 kB / 2.319 GB, free: 0.9766 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5267/5.829, allocations: 3.215 MB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/5.829, allocations: 3.688 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/5.83, allocations: 249.6 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-05/5.83, allocations: 7.5 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/5.83, allocations: 33.5 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/5.83, allocations: 3.188 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/5.83, allocations: 6.375 kB / 2.322 GB, free: 212.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004714/5.835, allocations: 2.665 MB / 2.325 GB, free: 212.2 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005635/5.841, allocations: 3.933 MB / 2.329 GB, free: 211.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/5.841, allocations: 400 kB / 2.329 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/5.842, allocations: 14.94 kB / 2.329 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/5.843, allocations: 171.6 kB / 2.329 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/5.843, allocations: 66.17 kB / 2.329 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/5.843, allocations: 53.77 kB / 2.329 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0009344/5.844, allocations: 0.6776 MB / 2.33 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004333/5.849, allocations: 1.148 MB / 2.331 GB, free: 211.1 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.001957/5.851, allocations: 0.9824 MB / 2.332 GB, free: 211 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002787/5.853, allocations: 1.924 MB / 2.334 GB, free: 210.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/5.853, allocations: 6.75 kB / 2.334 GB, free: 210.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/5.854, allocations: 0.8173 MB / 2.335 GB, free: 210.7 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/5.857, allocations: 0.5162 MB / 2.335 GB, free: 210.7 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/5.862, allocations: 2.506 MB / 2.338 GB, free: 210.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/5.863, allocations: 1.505 MB / 2.339 GB, free: 209.4 MB / 0.9636 GB Notification: Performance of SimCode: time 9.71e-07/5.863, allocations: 0 / 2.339 GB, free: 209.4 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)