Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure,fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297 MB, free: 6.676 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.001001/0.001002, allocations: 181.2 kB / 366.3 MB, free: 1.984 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.121/1.121, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0008252/0.0008252, allocations: 94.55 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2061/0.207, allocations: 122.5 MB / 0.8592 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.6868, allocations: 116.3 MB / 0.9727 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.8394, allocations: 140.8 MB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.8398, allocations: 84.42 kB / 1.11 GB, free: 7.582 MB / 0.7136 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.03897/0.8788, allocations: 16.41 MB / 1.126 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.8788, allocations: 8 kB / 1.126 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002038/0.879, allocations: 114.7 kB / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008973/0.8799, allocations: 0.5732 MB / 1.127 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.8801, allocations: 123.1 kB / 1.127 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8802, allocations: 52 kB / 1.127 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001127/0.8813, allocations: 0.5703 MB / 1.128 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.8825, allocations: 0.698 MB / 1.128 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.8825, allocations: 4 kB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.703e-05/0.8826, allocations: 9.219 kB / 1.128 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.8826, allocations: 20 kB / 1.128 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003734/0.8863, allocations: 2.504 MB / 1.131 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.8875, allocations: 0.516 MB / 1.131 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003455/0.8878, allocations: 222.3 kB / 1.132 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.8879, allocations: 8.5 kB / 1.132 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.8884, allocations: 374.4 kB / 1.132 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=64): time 2.013e-06/0.8884, allocations: 0 / 1.132 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of matching and sorting (n=64): time 0.0008336/0.8892, allocations: 495.2 kB / 1.132 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/0.8894, allocations: 291.4 kB / 1.133 GB, free: 332 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005196/0.8899, allocations: 462.3 kB / 1.133 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.331e-05/0.8899, allocations: 33.69 kB / 1.133 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.8902, allocations: 327.7 kB / 1.133 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.8903, allocations: 193.1 kB / 1.134 GB, free: 15.31 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.8904, allocations: 8.844 kB / 1.134 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.8906, allocations: 378.8 kB / 1.134 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/0.891, allocations: 217.5 kB / 1.134 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004953/0.8915, allocations: 372.5 kB / 1.135 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.892, allocations: 247.1 kB / 1.135 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.892, allocations: 0 / 1.135 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001138/0.8932, allocations: 0.6436 MB / 1.135 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.8933, allocations: 370.5 kB / 1.136 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8933, allocations: 0 / 1.136 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8934, allocations: 5.5 kB / 1.136 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.894, allocations: 151.8 kB / 1.136 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.894, allocations: 5.719 kB / 1.136 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/0.8947, allocations: 159.3 kB / 1.136 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.87e-05/0.8947, allocations: 24 kB / 1.136 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-06/0.8948, allocations: 0 / 1.136 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009824/0.8957, allocations: 0.5295 MB / 1.137 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-06/0.8958, allocations: 3.938 kB / 1.137 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.011e-06/0.8958, allocations: 4 kB / 1.137 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.8963, allocations: 119.8 kB / 1.137 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.8963, allocations: 4 kB / 1.137 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000542/0.8968, allocations: 131.6 kB / 1.137 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.8969, allocations: 28 kB / 1.137 GB, free: 11.87 MB / 0.7448 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.0001448/0.8971, allocations: 128.8 kB / 1.137 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.382e-05/0.8971, allocations: 63.25 kB / 1.137 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000951/0.8981, allocations: 0.5613 MB / 1.138 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.8981, allocations: 5.969 kB / 1.138 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8981, allocations: 4 kB / 1.138 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.8981, allocations: 3.984 kB / 1.138 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.8998, allocations: 1.377 MB / 1.139 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.8998, allocations: 0 / 1.139 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.9004, allocations: 136 kB / 1.139 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9005, allocations: 4 kB / 1.139 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.9005, allocations: 11.98 kB / 1.139 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.9005, allocations: 11.88 kB / 1.139 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.9005, allocations: 3.906 kB / 1.139 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001326/0.9019, allocations: 1.024 MB / 1.14 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001851/0.9037, allocations: 1.689 MB / 1.142 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.9039, allocations: 152.1 kB / 1.142 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.676e-05/0.9039, allocations: 8 kB / 1.142 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004675/0.9044, allocations: 79.94 kB / 1.142 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.407e-05/0.9045, allocations: 44.59 kB / 1.142 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.9046, allocations: 23.98 kB / 1.142 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0003512/0.9049, allocations: 343 kB / 1.142 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001906/0.9068, allocations: 326.3 kB / 1.143 GB, free: 5.652 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.0001997/0.907, allocations: 134.9 kB / 1.143 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.9084, allocations: 0.9141 MB / 1.144 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.9084, allocations: 0 / 1.144 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.9088, allocations: 274.4 kB / 1.144 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.9095, allocations: 136.9 kB / 1.144 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.9115, allocations: 1.058 MB / 1.145 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.9123, allocations: 1.073 MB / 1.146 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/0.9123, allocations: 1.5 kB / 1.146 GB, free: 1.98 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe >> ../files/Buildings_8_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_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanDirectPressure.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanDirectPressure.pipe 2>&1)