Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure",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.25/1.25, 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.001011/0.001011, allocations: 184.8 kB / 316 MB, free: 3.551 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.208/1.208, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0009052/0.0009052, allocations: 84.47 kB / 0.671 GB, free: 4.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3343/0.3353, allocations: 112.5 MB / 0.7809 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.4954, allocations: 106.3 MB / 0.8847 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.9706, allocations: 135.8 MB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.9708, allocations: 78.56 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.04021/1.011, allocations: 17.38 MB / 1.034 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.011, allocations: 8 kB / 1.034 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/1.011, allocations: 130.5 kB / 1.035 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/1.012, allocations: 0.593 MB / 1.035 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/1.012, allocations: 126.9 kB / 1.035 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.986e-05/1.012, allocations: 52 kB / 1.035 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001043/1.013, allocations: 0.6148 MB / 1.036 GB, free: 3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/1.015, allocations: 0.7445 MB / 1.037 GB, free: 2.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/1.015, allocations: 4 kB / 1.037 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.716e-05/1.015, allocations: 0 / 1.037 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/1.015, allocations: 27.91 kB / 1.037 GB, free: 2.434 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003661/1.018, allocations: 2.618 MB / 1.039 GB, free: 452 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/1.019, allocations: 0.5075 MB / 1.04 GB, free: 112 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/1.02, allocations: 242.4 kB / 1.04 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/1.02, allocations: 12.59 kB / 1.04 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/1.02, allocations: 380 kB / 1.04 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=70): time 2.134e-06/1.02, allocations: 3.938 kB / 1.04 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of matching and sorting (n=70): time 0.0008474/1.021, allocations: 0.5161 MB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001355/1.021, allocations: 299.3 kB / 1.041 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005816/1.022, allocations: 0.4893 MB / 1.042 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.749e-05/1.022, allocations: 25.7 kB / 1.042 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/1.022, allocations: 350.8 kB / 1.042 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/1.022, allocations: 214.2 kB / 1.042 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/1.022, allocations: 0 / 1.042 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.023, allocations: 382.9 kB / 1.043 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003334/1.023, allocations: 206.8 kB / 1.043 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/1.023, allocations: 351.5 kB / 1.043 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/1.024, allocations: 238.9 kB / 1.043 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.024, allocations: 4 kB / 1.043 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009833/1.025, allocations: 0.616 MB / 1.044 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.025, allocations: 269.1 kB / 1.044 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.025, allocations: 7.938 kB / 1.044 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/1.025, allocations: 4 kB / 1.044 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/1.026, allocations: 162.7 kB / 1.044 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.026e-06/1.026, allocations: 4 kB / 1.044 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/1.026, allocations: 123.4 kB / 1.044 GB, free: 12.15 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/1.026, allocations: 25.06 kB / 1.044 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.64e-06/1.026, allocations: 0 / 1.044 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000791/1.027, allocations: 0.5051 MB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/1.027, allocations: 0 / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/1.027, allocations: 4 kB / 1.045 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/1.028, allocations: 141.4 kB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/1.028, allocations: 4 kB / 1.045 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004382/1.028, allocations: 99.56 kB / 1.045 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/1.028, allocations: 26.98 kB / 1.045 GB, free: 11.54 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,retFanPre.uFan,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.pulseStart,yFan.pulseStart,$PRE.retFanPre1.movMea.mode,retFanPre1.movMea.mode,$PRE.retFanPre2.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * 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.0001479/1.028, allocations: 120.9 kB / 1.045 GB, free: 11.42 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/1.028, allocations: 71.06 kB / 1.045 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009839/1.029, allocations: 0.599 MB / 1.046 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.029, allocations: 8 kB / 1.046 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.029, allocations: 4 kB / 1.046 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/1.029, allocations: 3.984 kB / 1.046 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00178/1.031, allocations: 1.498 MB / 1.047 GB, free: 9.777 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/1.031, allocations: 7.984 kB / 1.047 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/1.032, allocations: 154.9 kB / 1.048 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.235e-06/1.032, allocations: 4 kB / 1.048 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/1.032, allocations: 8 kB / 1.048 GB, free: 9.613 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.754e-06/1.032, allocations: 15.92 kB / 1.048 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.032, allocations: 4 kB / 1.048 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001464/1.033, allocations: 1.133 MB / 1.049 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001929/1.035, allocations: 1.831 MB / 1.051 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.036, allocations: 158.5 kB / 1.051 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.036, allocations: 7.906 kB / 1.051 GB, free: 7.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/1.036, allocations: 83.94 kB / 1.051 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.036, allocations: 51.45 kB / 1.051 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.915e-05/1.036, allocations: 23.8 kB / 1.051 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005282/1.037, allocations: 370.6 kB / 1.051 GB, free: 6.668 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002078/1.039, allocations: 318.2 kB / 1.052 GB, free: 6.355 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,retFanPre.uFan,retFanPre.movMea.mode,yFan.pulseStart,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001818/1.039, allocations: 123.6 kB / 1.052 GB, free: 6.23 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001389/1.041, allocations: 0.8564 MB / 1.052 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.041, allocations: 4 kB / 1.052 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/1.041, allocations: 299.3 kB / 1.053 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/1.042, allocations: 160.7 kB / 1.053 GB, free: 5.359 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/1.044, allocations: 1.154 MB / 1.054 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007762/1.045, allocations: 1.097 MB / 1.055 GB, free: 3.156 MB / 0.6667 GB Notification: Performance of SimCode: time 4.81e-07/1.045, allocations: 0 / 1.055 GB, free: 3.156 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)