Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.124/2.124, allocations: 387.2 MB / 394.5 MB, free: 13.61 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.001358/0.001358, allocations: 181.3 kB / 487 MB, free: 5.344 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.569/1.569, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.001149/0.001149, allocations: 101.5 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6834/0.6846, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.9955, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/2.102, allocations: 400.7 MB / 1.597 GB, free: 6.543 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/2.102, allocations: 85.83 kB / 1.597 GB, free: 6.5 MB / 1.026 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.475/5.577, allocations: 0.9549 GB / 2.552 GB, free: 16.34 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/5.577, allocations: 12 kB / 2.552 GB, free: 16.32 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003973/5.581, allocations: 0.6611 MB / 2.552 GB, free: 15.66 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/5.587, allocations: 1.462 MB / 2.554 GB, free: 14.14 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.724e-05/5.587, allocations: 32 kB / 2.554 GB, free: 14.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000487/5.587, allocations: 71.91 kB / 2.554 GB, free: 14.04 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00235/5.59, allocations: 0.8592 MB / 2.555 GB, free: 13.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/5.592, allocations: 1.047 MB / 2.556 GB, free: 12.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/5.592, allocations: 4 kB / 2.556 GB, free: 12.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/5.592, allocations: 4 kB / 2.556 GB, free: 12.06 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/5.592, allocations: 28 kB / 2.556 GB, free: 12.04 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01113/5.603, allocations: 6.471 MB / 2.562 GB, free: 5.078 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/5.605, allocations: 0.8573 MB / 2.563 GB, free: 4.211 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007868/5.606, allocations: 0.5009 MB / 2.563 GB, free: 3.711 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/5.608, allocations: 2.268 MB / 2.566 GB, free: 0.9453 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009502/5.609, allocations: 0.6426 MB / 2.566 GB, free: 272 kB / 1.151 GB Notification: Performance of pre-optimization done (n=100): time 5.219e-06/5.609, allocations: 0 / 2.566 GB, free: 272 kB / 1.151 GB Notification: Performance of matching and sorting (n=100): time 0.004783/5.614, allocations: 1.379 MB / 2.568 GB, free: 14.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/5.614, allocations: 141.3 kB / 2.568 GB, free: 14.71 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00265/5.617, allocations: 0.8819 MB / 2.569 GB, free: 13.82 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000151/5.617, allocations: 29.7 kB / 2.569 GB, free: 13.78 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000671/5.618, allocations: 445.8 kB / 2.569 GB, free: 13.34 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/5.618, allocations: 315.4 kB / 2.569 GB, free: 13.03 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/5.618, allocations: 3.938 kB / 2.569 GB, free: 13.02 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002081/5.619, allocations: 353.9 kB / 2.57 GB, free: 12.67 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/5.619, allocations: 401.9 kB / 2.57 GB, free: 12.28 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/5.62, allocations: 0.6397 MB / 2.571 GB, free: 11.54 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/5.623, allocations: 0.7268 MB / 2.571 GB, free: 10.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/5.624, allocations: 7.938 kB / 2.571 GB, free: 10.81 MB / 1.167 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004788/5.628, allocations: 1.472 MB / 2.573 GB, free: 9.328 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008758/5.629, allocations: 1.615 MB / 2.574 GB, free: 7.629 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/5.629, allocations: 7.938 kB / 2.574 GB, free: 7.621 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.265e-05/5.629, allocations: 11.91 kB / 2.574 GB, free: 7.609 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/5.631, allocations: 287.6 kB / 2.575 GB, free: 7.328 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/5.631, allocations: 15.98 kB / 2.575 GB, free: 7.312 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/5.633, allocations: 215 kB / 2.575 GB, free: 7.102 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/5.633, allocations: 59.97 kB / 2.575 GB, free: 7.043 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/5.633, allocations: 4 kB / 2.575 GB, free: 7.039 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003518/5.637, allocations: 1.285 MB / 2.576 GB, free: 5.75 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/5.637, allocations: 4 kB / 2.576 GB, free: 5.746 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/5.637, allocations: 8 kB / 2.576 GB, free: 5.738 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/5.638, allocations: 299.9 kB / 2.576 GB, free: 5.445 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.055e-05/5.638, allocations: 11.94 kB / 2.577 GB, free: 5.434 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/5.64, allocations: 207.1 kB / 2.577 GB, free: 5.23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/5.64, allocations: 55.97 kB / 2.577 GB, free: 5.176 MB / 1.167 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.000428/5.641, allocations: 243.5 kB / 2.577 GB, free: 4.914 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005486/5.641, allocations: 154.2 kB / 2.577 GB, free: 4.762 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005598/5.647, allocations: 2.127 MB / 2.579 GB, free: 2.621 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.264e-05/5.647, allocations: 15.98 kB / 2.579 GB, free: 2.605 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/5.647, allocations: 0 / 2.579 GB, free: 2.605 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/5.647, allocations: 3.984 kB / 2.579 GB, free: 2.602 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007883/5.655, allocations: 3.219 MB / 2.582 GB, free: 15.32 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/5.655, allocations: 0 / 2.582 GB, free: 15.32 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/5.656, allocations: 243.8 kB / 2.583 GB, free: 15.08 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-05/5.656, allocations: 4 kB / 2.583 GB, free: 15.08 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/5.656, allocations: 35.97 kB / 2.583 GB, free: 15.04 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/5.656, allocations: 8 kB / 2.583 GB, free: 15.04 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/5.656, allocations: 3.938 kB / 2.583 GB, free: 15.03 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005379/5.662, allocations: 2.666 MB / 2.585 GB, free: 12.29 MB / 1.182 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007351/5.669, allocations: 3.928 MB / 2.589 GB, free: 8.285 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001573/5.671, allocations: 400 kB / 2.589 GB, free: 7.871 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/5.671, allocations: 20 kB / 2.589 GB, free: 7.852 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/5.673, allocations: 167.7 kB / 2.59 GB, free: 7.688 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/5.674, allocations: 64.89 kB / 2.59 GB, free: 7.625 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/5.674, allocations: 59.97 kB / 2.59 GB, free: 7.566 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.001593/5.675, allocations: 0.6677 MB / 2.59 GB, free: 6.898 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006451/5.682, allocations: 1.143 MB / 2.592 GB, free: 5.754 MB / 1.182 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.003598/5.685, allocations: 0.9785 MB / 2.593 GB, free: 4.785 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004478/5.69, allocations: 1.927 MB / 2.594 GB, free: 2.824 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/5.69, allocations: 0 / 2.594 GB, free: 2.824 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/5.692, allocations: 0.822 MB / 2.595 GB, free: 1.984 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003843/5.695, allocations: 0.4921 MB / 2.596 GB, free: 1.492 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6344/6.33, allocations: 2.493 MB / 2.598 GB, free: 344.2 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/6.331, allocations: 1.492 MB / 2.6 GB, free: 343.5 MB / 1.182 GB Notification: Performance of SimCode: time 1.193e-06/6.331, allocations: 3.969 kB / 2.6 GB, free: 343.5 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)