Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=92,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=92,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil") [: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.4/1.4, allocations: 289.8 MB / 297.1 MB, free: 9.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 174.2 kB / 366.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 0.6256 GB, free: 2.148 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007833/0.000783, allocations: 94.19 kB / 0.7396 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 5.941e-06/5.961e-06, allocations: 1.312 kB / 0.8591 GB, free: 156.4 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1646, allocations: 116.3 MB / 0.9726 GB, free: 54.33 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4462/0.6108, allocations: 140.7 MB / 1.11 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001654/0.611, allocations: 74.03 kB / 1.11 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of FrontEnd: time 0.01159/0.6226, allocations: 5.259 MB / 1.115 GB, free: 22.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.6227, allocations: 6.656 kB / 1.115 GB, free: 22.43 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005672/0.6232, allocations: 0.5519 MB / 1.116 GB, free: 37.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.6233, allocations: 9.719 kB / 1.116 GB, free: 37.98 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.6233, allocations: 42.62 kB / 1.116 GB, free: 37.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003882/0.6237, allocations: 323.6 kB / 1.116 GB, free: 37.71 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.6238, allocations: 13.5 kB / 1.116 GB, free: 37.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.698e-05/0.6238, allocations: 16.03 kB / 1.116 GB, free: 37.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002278/0.624, allocations: 136.2 kB / 1.116 GB, free: 37.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.6243, allocations: 195.1 kB / 1.117 GB, free: 37.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.6243, allocations: 0 / 1.117 GB, free: 37.66 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.6243, allocations: 6.234 kB / 1.117 GB, free: 37.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.6244, allocations: 3.844 kB / 1.117 GB, free: 37.66 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.6253, allocations: 0.8406 MB / 1.117 GB, free: 37.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003275/0.6256, allocations: 170.7 kB / 1.118 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.347e-05/0.6257, allocations: 54.17 kB / 1.118 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.6258, allocations: 3.875 kB / 1.118 GB, free: 37.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001135/0.6259, allocations: 97.58 kB / 1.118 GB, free: 37.2 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.6259, allocations: 0 / 1.118 GB, free: 37.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.0002619/0.6262, allocations: 155 kB / 1.118 GB, free: 37.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.6262, allocations: 85.05 kB / 1.118 GB, free: 37.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.6264, allocations: 219.2 kB / 1.118 GB, free: 36.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.6264, allocations: 29.58 kB / 1.118 GB, free: 36.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.6265, allocations: 147.7 kB / 1.118 GB, free: 36.81 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.6265, allocations: 47.88 kB / 1.118 GB, free: 36.78 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.6266, allocations: 0 / 1.118 GB, free: 36.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6267, allocations: 335.6 kB / 1.119 GB, free: 36.46 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.6268, allocations: 71.27 kB / 1.119 GB, free: 36.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.6269, allocations: 111.5 kB / 1.119 GB, free: 36.41 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.6271, allocations: 80.17 kB / 1.119 GB, free: 36.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6271, allocations: 0 / 1.119 GB, free: 36.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004019/0.6275, allocations: 234.1 kB / 1.119 GB, free: 36.35 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.6277, allocations: 361.5 kB / 1.119 GB, free: 35.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.6277, allocations: 3.875 kB / 1.119 GB, free: 35.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.6277, allocations: 3.938 kB / 1.119 GB, free: 35.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.6279, allocations: 43.45 kB / 1.119 GB, free: 35.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.6279, allocations: 3.984 kB / 1.119 GB, free: 35.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002872/0.6282, allocations: 77.08 kB / 1.12 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.6283, allocations: 3.875 kB / 1.12 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-06/0.6283, allocations: 3.875 kB / 1.12 GB, free: 35.96 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003384/0.6286, allocations: 175.7 kB / 1.12 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-06/0.6286, allocations: 0 / 1.12 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-06/0.6286, allocations: 3.875 kB / 1.12 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.6288, allocations: 36.52 kB / 1.12 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-06/0.6288, allocations: 3.875 kB / 1.12 GB, free: 35.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.6291, allocations: 62.95 kB / 1.12 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.6291, allocations: 10.75 kB / 1.12 GB, free: 35.93 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,$PRE.zonSta.booPul.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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 9.391e-05/0.6292, allocations: 112 kB / 1.12 GB, free: 35.82 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.6292, allocations: 19.47 kB / 1.12 GB, free: 35.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.282e-05/0.6293, allocations: 23.66 kB / 1.12 GB, free: 35.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.6293, allocations: 7.875 kB / 1.12 GB, free: 35.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.6293, allocations: 0 / 1.12 GB, free: 35.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6293, allocations: 3 kB / 1.12 GB, free: 35.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.6295, allocations: 290.1 kB / 1.12 GB, free: 35.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6295, allocations: 0 / 1.12 GB, free: 35.64 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.6297, allocations: 32.67 kB / 1.12 GB, free: 35.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6297, allocations: 7.938 kB / 1.12 GB, free: 35.63 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6297, allocations: 10.78 kB / 1.12 GB, free: 35.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6297, allocations: 0 / 1.12 GB, free: 35.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6297, allocations: 3.906 kB / 1.12 GB, free: 35.62 MB / 0.7325 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001932/0.6299, allocations: 174.9 kB / 1.121 GB, free: 35.54 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.63, allocations: 104.2 kB / 1.121 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.63, allocations: 2.578 kB / 1.121 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.6301, allocations: 24.66 kB / 1.121 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.6302, allocations: 12.8 kB / 1.121 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.6302, allocations: 3.875 kB / 1.121 GB, free: 35.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 0.0001161/0.6303, allocations: 170 kB / 1.121 GB, free: 35.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000322/0.6307, allocations: 97.47 kB / 1.121 GB, free: 35.33 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,cooCoi.uZonSta,cooCoi.and2.u1,cooCoi.and2.y,zonSta.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001298/0.6308, allocations: 116.9 kB / 1.121 GB, free: 35.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.6312, allocations: 315.9 kB / 1.121 GB, free: 35.16 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.6312, allocations: 0 / 1.121 GB, free: 35.16 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.6313, allocations: 65.62 kB / 1.121 GB, free: 35.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.6316, allocations: 53.34 kB / 1.121 GB, free: 35.14 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.6322, allocations: 312.8 kB / 1.122 GB, free: 35.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.6326, allocations: 0.7918 MB / 1.123 GB, free: 34.3 MB / 0.7325 GB Notification: Performance of SimCode: time 6.71e-07/0.6326, allocations: 0 / 1.123 GB, free: 34.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.006248/0.6388, allocations: 4.175 MB / 1.127 GB, free: 33.98 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Validation.CoolingCoil.pipe 2>&1)