Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.249/1.249, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.2 kB / 316 MB, free: 3.488 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.2 MB / 0.5667 GB, free: 15.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000885/0.0008852, allocations: 94.14 kB / 0.671 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3674/0.3683, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.5459, allocations: 106.3 MB / 0.8847 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6902/1.236, allocations: 382.7 MB / 1.258 GB, free: 3.93 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/1.236, allocations: 85.62 kB / 1.258 GB, free: 3.887 MB / 0.8698 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 2.586/3.822, allocations: 0.9093 GB / 2.168 GB, free: 99.35 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/3.822, allocations: 8 kB / 2.168 GB, free: 99.34 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/3.826, allocations: 0.6627 MB / 2.168 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003267/3.829, allocations: 1.485 MB / 2.17 GB, free: 97.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/3.829, allocations: 36 kB / 2.17 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/3.829, allocations: 67.91 kB / 2.17 GB, free: 97.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/3.831, allocations: 0.8652 MB / 2.171 GB, free: 96.26 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/3.832, allocations: 1.052 MB / 2.172 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/3.832, allocations: 0 / 2.172 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/3.832, allocations: 4 kB / 2.172 GB, free: 95.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/3.832, allocations: 24 kB / 2.172 GB, free: 95.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007656/3.84, allocations: 6.476 MB / 2.178 GB, free: 88.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/3.841, allocations: 0.8635 MB / 2.179 GB, free: 87.43 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006017/3.842, allocations: 0.4991 MB / 2.179 GB, free: 86.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/3.843, allocations: 2.258 MB / 2.182 GB, free: 84.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000755/3.844, allocations: 0.6461 MB / 2.182 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=100): time 3.947e-06/3.844, allocations: 0 / 2.182 GB, free: 83.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=100): time 0.003184/3.847, allocations: 1.371 MB / 2.184 GB, free: 82.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/3.847, allocations: 153.2 kB / 2.184 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/3.848, allocations: 0.8946 MB / 2.185 GB, free: 81.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.468e-05/3.848, allocations: 29.7 kB / 2.185 GB, free: 81.02 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/3.849, allocations: 445.9 kB / 2.185 GB, free: 80.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/3.849, allocations: 322.2 kB / 2.185 GB, free: 80.26 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/3.849, allocations: 0 / 2.185 GB, free: 80.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.032e-05/3.849, allocations: 349.3 kB / 2.186 GB, free: 79.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/3.85, allocations: 405.9 kB / 2.186 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/3.85, allocations: 0.6624 MB / 2.187 GB, free: 78.75 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/3.852, allocations: 0.7344 MB / 2.188 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/3.852, allocations: 0 / 2.188 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002906/3.855, allocations: 1.479 MB / 2.189 GB, free: 76.55 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002796/3.855, allocations: 1.613 MB / 2.191 GB, free: 74.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/3.855, allocations: 4 kB / 2.191 GB, free: 74.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/3.855, allocations: 12 kB / 2.191 GB, free: 74.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/3.857, allocations: 294.8 kB / 2.191 GB, free: 74.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/3.857, allocations: 8 kB / 2.191 GB, free: 74.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/3.858, allocations: 216.2 kB / 2.191 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/3.858, allocations: 63.95 kB / 2.191 GB, free: 74.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/3.858, allocations: 4.781 kB / 2.191 GB, free: 74.23 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/3.861, allocations: 1.284 MB / 2.192 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/3.861, allocations: 7.75 kB / 2.192 GB, free: 72.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/3.861, allocations: 8 kB / 2.192 GB, free: 72.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/3.862, allocations: 300.2 kB / 2.193 GB, free: 72.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/3.862, allocations: 11.94 kB / 2.193 GB, free: 72.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/3.864, allocations: 212.2 kB / 2.193 GB, free: 72.46 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/3.864, allocations: 55.97 kB / 2.193 GB, free: 72.4 MB / 0.8698 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.0002626/3.864, allocations: 241 kB / 2.193 GB, free: 72.15 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001747/3.864, allocations: 154.1 kB / 2.193 GB, free: 72 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003933/3.868, allocations: 2.11 MB / 2.195 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.901e-05/3.868, allocations: 23.45 kB / 2.195 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/3.868, allocations: 0 / 2.195 GB, free: 69.89 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/3.868, allocations: 11.58 kB / 2.195 GB, free: 69.88 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/3.874, allocations: 3.213 MB / 2.199 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/3.874, allocations: 3 kB / 2.199 GB, free: 66.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/3.875, allocations: 248.7 kB / 2.199 GB, free: 66.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/3.875, allocations: 7.703 kB / 2.199 GB, free: 66.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.858e-05/3.875, allocations: 31.97 kB / 2.199 GB, free: 66.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/3.875, allocations: 11.84 kB / 2.199 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/3.875, allocations: 2.719 kB / 2.199 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003897/3.879, allocations: 2.666 MB / 2.201 GB, free: 63.62 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004827/3.884, allocations: 3.935 MB / 2.205 GB, free: 59.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007128/3.884, allocations: 406.3 kB / 2.206 GB, free: 59.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/3.885, allocations: 15.28 kB / 2.206 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/3.886, allocations: 169.6 kB / 2.206 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/3.886, allocations: 64.81 kB / 2.206 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/3.886, allocations: 62.52 kB / 2.206 GB, free: 58.92 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000786/3.887, allocations: 0.6761 MB / 2.207 GB, free: 58.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003674/3.89, allocations: 1.139 MB / 2.208 GB, free: 57.11 MB / 0.8698 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.001536/3.892, allocations: 0.9871 MB / 2.209 GB, free: 56.23 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002253/3.894, allocations: 1.923 MB / 2.211 GB, free: 54.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/3.894, allocations: 0.75 kB / 2.211 GB, free: 54.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007632/3.895, allocations: 0.8251 MB / 2.211 GB, free: 53.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/3.897, allocations: 0.529 MB / 2.212 GB, free: 52.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/3.901, allocations: 2.506 MB / 2.214 GB, free: 50.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001009/3.902, allocations: 1.503 MB / 2.216 GB, free: 48.88 MB / 0.8698 GB Notification: Performance of SimCode: time 4.91e-07/3.902, allocations: 4 kB / 2.216 GB, free: 48.87 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.PrescribedOutlet.pipe 2>&1)