Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.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 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.297/1.297, allocations: 285.5 MB / 292.8 MB, free: 10.34 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.0009044/0.0009044, allocations: 189.2 kB / 361.1 MB, free: 7.047 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.041/1.041, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0007651/0.0007652, allocations: 94.59 kB / 0.7326 GB, free: 44.44 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1861/0.1869, allocations: 121.5 MB / 0.8512 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4202/0.6072, allocations: 115.3 MB / 0.9638 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.7454, allocations: 139.8 MB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.7457, allocations: 77.02 kB / 1.1 GB, free: 100 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.03827/0.7839, allocations: 16.41 MB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.784, allocations: 8.5 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003105/0.7843, allocations: 110.7 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008382/0.7852, allocations: 0.5765 MB / 1.117 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.7853, allocations: 119.1 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.7854, allocations: 52 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001025/0.7865, allocations: 0.5703 MB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.7876, allocations: 0.7019 MB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.7876, allocations: 0 / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.92e-05/0.7877, allocations: 7.891 kB / 1.119 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.7877, allocations: 20 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.7913, allocations: 2.508 MB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.7925, allocations: 0.5167 MB / 1.122 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00034/0.7928, allocations: 216.1 kB / 1.122 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.7929, allocations: 20.47 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004889/0.7934, allocations: 360.9 kB / 1.122 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 2.074e-06/0.7934, allocations: 0 / 1.122 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.0008166/0.7942, allocations: 495.2 kB / 1.123 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.7943, allocations: 299.4 kB / 1.123 GB, free: 8.969 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.7948, allocations: 458.3 kB / 1.123 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.613e-05/0.7949, allocations: 33.7 kB / 1.123 GB, free: 8.477 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.7951, allocations: 335.7 kB / 1.124 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.7952, allocations: 197.1 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.7953, allocations: 0 / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.7954, allocations: 374.8 kB / 1.124 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.7958, allocations: 217.5 kB / 1.124 GB, free: 7.355 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.7962, allocations: 372.5 kB / 1.125 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005413/0.7968, allocations: 251.1 kB / 1.125 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.7968, allocations: 4 kB / 1.125 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001088/0.7979, allocations: 0.6397 MB / 1.126 GB, free: 6.047 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/0.798, allocations: 366.6 kB / 1.126 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.798, allocations: 7.984 kB / 1.126 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7981, allocations: 5.406 kB / 1.126 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/0.7987, allocations: 147.8 kB / 1.126 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7987, allocations: 4 kB / 1.126 GB, free: 5.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.7993, allocations: 155.3 kB / 1.126 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.7994, allocations: 32 kB / 1.126 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-06/0.7994, allocations: 4 kB / 1.126 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009349/0.8004, allocations: 0.5178 MB / 1.127 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8004, allocations: 5.562 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.114e-06/0.8004, allocations: 4 kB / 1.127 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.8009, allocations: 123.8 kB / 1.127 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8009, allocations: 15.98 kB / 1.127 GB, free: 4.652 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005429/0.8015, allocations: 119.5 kB / 1.127 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.8015, allocations: 24 kB / 1.127 GB, free: 4.512 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.retFanPre.movMea.mode,retFanPre.movMea.mode,$PRE.yFan.y,yFan.y,$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 (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * 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.0001457/0.8017, allocations: 132.8 kB / 1.127 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.8018, allocations: 63.25 kB / 1.127 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008928/0.8027, allocations: 0.5549 MB / 1.128 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.8027, allocations: 8 kB / 1.128 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8027, allocations: 0 / 1.128 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.8027, allocations: 3.984 kB / 1.128 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.8043, allocations: 1.377 MB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.8044, allocations: 1.875 kB / 1.129 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005568/0.8049, allocations: 144 kB / 1.129 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.8049, allocations: 4 kB / 1.129 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.805, allocations: 11.98 kB / 1.129 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.805, allocations: 4 kB / 1.129 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.805, allocations: 11.78 kB / 1.129 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/0.8063, allocations: 1.024 MB / 1.13 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001721/0.808, allocations: 1.696 MB / 1.132 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.8081, allocations: 156.1 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.8082, allocations: 4 kB / 1.132 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.8087, allocations: 80.58 kB / 1.132 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.8088, allocations: 36.59 kB / 1.132 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.103e-05/0.8088, allocations: 24 kB / 1.132 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003421/0.8092, allocations: 342.9 kB / 1.133 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001813/0.811, allocations: 326.3 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (retFanPre.movMea.mu,retFanPre1.movMea.mu,retFanPre2.movMea.mu) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,retFanPre.movMea.mode,yFan.y,retFanPre1.movMea.mode,retFanPre2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 66 * 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.0002039/0.8112, allocations: 134.2 kB / 1.133 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.8126, allocations: 0.9141 MB / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8126, allocations: 0 / 1.134 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.813, allocations: 274.4 kB / 1.134 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007168/0.8138, allocations: 137.8 kB / 1.134 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.8159, allocations: 1.058 MB / 1.135 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/0.8166, allocations: 1.062 MB / 1.136 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of SimCode: time 2.21e-07/0.8166, allocations: 0 / 1.136 GB, free: 10.62 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_maint.8.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_8_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_8_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)