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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") [: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.357/1.357, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001067/0.001067, allocations: 185.2 kB / 361.1 MB, free: 7.102 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.068/1.068, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008164/0.0008164, allocations: 98.34 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.807e-06, allocations: 4 kB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.416/0.416, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.548, allocations: 137.6 MB / 1.098 GB, free: 2.383 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.5483, allocations: 77.16 kB / 1.098 GB, free: 2.309 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004185/0.5525, allocations: 1.513 MB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.5525, allocations: 4 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004416/0.5529, allocations: 419.3 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.553, allocations: 9.125 kB / 1.1 GB, free: 392 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.553, allocations: 15.81 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.5533, allocations: 214.5 kB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.5533, allocations: 7.75 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.75e-05/0.5533, allocations: 8 kB / 1.1 GB, free: 112 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001481/0.5535, allocations: 69.16 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.5536, allocations: 104.4 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.5537, allocations: 2.078 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5537, allocations: 1.375 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.5537, allocations: 9.219 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/0.5544, allocations: 467.9 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001133/0.5545, allocations: 70.64 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.5546, allocations: 28.77 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.5546, allocations: 0 / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.5547, allocations: 42.5 kB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.72e-07/0.5547, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001753/0.5548, allocations: 74.45 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.5549, allocations: 51.41 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.555, allocations: 138 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.555, allocations: 25.7 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.5551, allocations: 111.9 kB / 1.101 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.5551, allocations: 23.69 kB / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-06/0.5551, allocations: 0 / 1.101 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.82e-05/0.5552, allocations: 322.8 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.44e-05/0.5553, allocations: 24 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.5553, allocations: 37.94 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.133e-05/0.5554, allocations: 23.97 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5554, allocations: 3.938 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001383/0.5555, allocations: 90.72 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.5555, allocations: 4 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.5555, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.5556, allocations: 8.453 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.5557, allocations: 15.94 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.5557, allocations: 7.984 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5558, allocations: 19.98 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.5558, allocations: 1.5 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 5.984e-05/0.5559, allocations: 110.2 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.5559, allocations: 11.81 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.5561, allocations: 101.3 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5561, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5561, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5561, allocations: 3.984 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.5565, allocations: 359.9 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.5565, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.5566, allocations: 27.95 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.5566, allocations: 0.6094 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5566, allocations: 4 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5566, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5566, allocations: 2.766 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001583/0.5568, allocations: 200.4 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.5568, allocations: 89.02 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.5569, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.557, allocations: 19.98 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.45e-05/0.5571, allocations: 15.88 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.5571, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.506e-05/0.5571, allocations: 114.2 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002115/0.5574, allocations: 16 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 9.444e-05/0.5575, allocations: 108 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.5576, allocations: 56 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.5576, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.494e-05/0.5577, allocations: 34.83 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.5579, allocations: 37.94 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000337/0.5582, allocations: 160.7 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.5585, allocations: 0.7355 MB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5585, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.003138/0.5617, allocations: 1.343 MB / 1.105 GB, free: 10.68 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)