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.ExhaustDamper.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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.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.1.4-maint.8.1.x/package.mo): time 1.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.59 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.0009483/0.0009482, allocations: 177.3 kB / 366.3 MB, free: 1.914 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.026/1.026, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.0007466/0.0007466, allocations: 81.91 kB / 0.7395 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.472e-06, allocations: 0 / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4157, allocations: 116.3 MB / 0.9726 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.5513, allocations: 139.8 MB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.5515, allocations: 79.88 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02598/0.5775, allocations: 11.1 MB / 1.12 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.589e-05/0.5776, allocations: 12 kB / 1.12 GB, free: 13.43 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001217/0.5788, allocations: 0.8568 MB / 1.121 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.5788, allocations: 8.25 kB / 1.121 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.579, allocations: 75.06 kB / 1.121 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.5795, allocations: 452.6 kB / 1.121 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.475e-05/0.5797, allocations: 106.4 kB / 1.122 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.475e-05/0.5797, allocations: 32 kB / 1.122 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006373/0.5804, allocations: 358.6 kB / 1.122 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.5811, allocations: 483.2 kB / 1.122 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5811, allocations: 0 / 1.122 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.681e-05/0.5812, allocations: 0 / 1.122 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.5812, allocations: 16 kB / 1.122 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.5835, allocations: 1.804 MB / 1.124 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007983/0.5843, allocations: 379.5 kB / 1.125 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.5846, allocations: 171.5 kB / 1.125 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.5846, allocations: 7.984 kB / 1.125 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003056/0.585, allocations: 208.2 kB / 1.125 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=43): time 1.623e-06/0.585, allocations: 0 / 1.125 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43): time 0.0005574/0.5855, allocations: 345.6 kB / 1.125 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.5856, allocations: 132.5 kB / 1.125 GB, free: 7.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.586, allocations: 345.2 kB / 1.126 GB, free: 7.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.586, allocations: 29.7 kB / 1.126 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.5861, allocations: 244.4 kB / 1.126 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/0.5862, allocations: 130 kB / 1.126 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.996e-05/0.5863, allocations: 4 kB / 1.126 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.5864, allocations: 358.7 kB / 1.126 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.5866, allocations: 129.8 kB / 1.127 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.5869, allocations: 220.6 kB / 1.127 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002205/0.5871, allocations: 145.5 kB / 1.127 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.5871, allocations: 0 / 1.127 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005844/0.5877, allocations: 402.2 kB / 1.127 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.5879, allocations: 371.9 kB / 1.128 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5879, allocations: 0 / 1.128 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.5879, allocations: 5.594 kB / 1.128 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004411/0.5883, allocations: 107.9 kB / 1.128 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.5883, allocations: 7.938 kB / 1.128 GB, free: 5.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.5887, allocations: 79.64 kB / 1.128 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.5887, allocations: 19.98 kB / 1.128 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.581e-06/0.5888, allocations: 4 kB / 1.128 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004518/0.5892, allocations: 295 kB / 1.128 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-06/0.5892, allocations: 0 / 1.128 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-06/0.5892, allocations: 4 kB / 1.128 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5896, allocations: 87.89 kB / 1.128 GB, free: 4.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5896, allocations: 7.969 kB / 1.128 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5898, allocations: 59.75 kB / 1.128 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.5899, allocations: 12 kB / 1.128 GB, free: 4.727 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: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 55 * 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 9.904e-05/0.59, allocations: 120.8 kB / 1.128 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.471e-05/0.59, allocations: 47.44 kB / 1.128 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.688e-05/0.5901, allocations: 52.69 kB / 1.128 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.5902, allocations: 4 kB / 1.129 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5902, allocations: 5.969 kB / 1.129 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5902, allocations: 3.906 kB / 1.129 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.5907, allocations: 0.525 MB / 1.129 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5907, allocations: 0 / 1.129 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.5911, allocations: 99.97 kB / 1.129 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.5911, allocations: 7.984 kB / 1.129 GB, free: 3.824 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.5912, allocations: 3.906 kB / 1.129 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5912, allocations: 4 kB / 1.129 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5912, allocations: 0 / 1.129 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007914/0.592, allocations: 0.5664 MB / 1.13 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.5921, allocations: 132.4 kB / 1.13 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.063e-05/0.5922, allocations: 3.938 kB / 1.13 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.5925, allocations: 51.95 kB / 1.13 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.5925, allocations: 23.97 kB / 1.13 GB, free: 3.004 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.733e-05/0.5926, allocations: 15.98 kB / 1.13 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002557/0.5928, allocations: 271.2 kB / 1.13 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000452/0.5933, allocations: 195 kB / 1.13 GB, free: 2.531 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001404/0.5934, allocations: 107.2 kB / 1.13 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007417/0.5942, allocations: 0.5132 MB / 1.131 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5942, allocations: 5.219 kB / 1.131 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.5944, allocations: 163.8 kB / 1.131 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.595, allocations: 106 kB / 1.131 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.5965, allocations: 0.6945 MB / 1.132 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006753/0.5972, allocations: 0.9373 MB / 1.133 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.5972, allocations: 0 / 1.133 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of Templates: time 0.01464/0.6118, allocations: 7.593 MB / 1.14 GB, free: 8.473 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)