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.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.MultiZone.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.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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009702/0.0009702, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.047/1.047, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.000773/0.000773, allocations: 86.75 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.063e-06, allocations: 4 kB / 0.8511 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4491, allocations: 115.3 MB / 0.9637 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.589, allocations: 138.8 MB / 1.099 GB, free: 1.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001784/0.5892, allocations: 80.88 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02533/0.6146, allocations: 11.1 MB / 1.11 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.6146, allocations: 21.03 kB / 1.11 GB, free: 6.184 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001257/0.6159, allocations: 0.8413 MB / 1.111 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.616, allocations: 12.53 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.6161, allocations: 75.06 kB / 1.111 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005713/0.6167, allocations: 452.6 kB / 1.112 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.6168, allocations: 106.4 kB / 1.112 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.6169, allocations: 35.98 kB / 1.112 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006329/0.6175, allocations: 354.6 kB / 1.112 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.6182, allocations: 479.2 kB / 1.113 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.6183, allocations: 7.922 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.6183, allocations: 0 / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.6183, allocations: 17.88 kB / 1.113 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002492/0.6208, allocations: 1.802 MB / 1.114 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/0.6217, allocations: 387.5 kB / 1.115 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6219, allocations: 163.8 kB / 1.115 GB, free: 1.309 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.622, allocations: 15.92 kB / 1.115 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.6223, allocations: 199.3 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=43): time 1.863e-06/0.6223, allocations: 0 / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43): time 0.0006363/0.623, allocations: 345.5 kB / 1.115 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.6231, allocations: 140.5 kB / 1.116 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003665/0.6234, allocations: 345.9 kB / 1.116 GB, free: 236 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.6235, allocations: 29.7 kB / 1.116 GB, free: 200 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.6236, allocations: 241.6 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.6237, allocations: 130 kB / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.983e-05/0.6238, allocations: 0 / 1.116 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6239, allocations: 362.8 kB / 1.117 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.6241, allocations: 132.9 kB / 1.117 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.6244, allocations: 220.5 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002227/0.6246, allocations: 139.1 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.6246, allocations: 3.984 kB / 1.117 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0005795/0.6252, allocations: 399.5 kB / 1.117 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.6254, allocations: 374.3 kB / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6254, allocations: 0 / 1.118 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6254, allocations: 4 kB / 1.118 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.6258, allocations: 107.9 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6258, allocations: 1.875 kB / 1.118 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.6262, allocations: 87.62 kB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.6262, allocations: 16 kB / 1.118 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.6262, allocations: 4 kB / 1.118 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004471/0.6267, allocations: 298.5 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.6267, allocations: 0 / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.6267, allocations: 4 kB / 1.118 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.627, allocations: 87.83 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.627, allocations: 4 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.6273, allocations: 60.41 kB / 1.118 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.6273, allocations: 12 kB / 1.118 GB, free: 13.5 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 0.0001009/0.6274, allocations: 120.8 kB / 1.119 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.769e-05/0.6275, allocations: 47.42 kB / 1.119 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.693e-05/0.6276, allocations: 48.7 kB / 1.119 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6276, allocations: 8.078 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6276, allocations: 3.938 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6276, allocations: 3.984 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.6281, allocations: 0.5294 MB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6281, allocations: 1.438 kB / 1.119 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.6286, allocations: 99.88 kB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.6286, allocations: 4 kB / 1.119 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6286, allocations: 4 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6286, allocations: 4 kB / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.6286, allocations: 0 / 1.119 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007988/0.6294, allocations: 0.5605 MB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.667e-05/0.6295, allocations: 132.3 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.105e-05/0.6296, allocations: 4 kB / 1.12 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/0.6299, allocations: 61.52 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.63, allocations: 19.95 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.63, allocations: 12 kB / 1.12 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002575/0.6303, allocations: 271.2 kB / 1.12 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004687/0.6307, allocations: 191.7 kB / 1.12 GB, free: 11.31 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.0001462/0.6309, allocations: 115 kB / 1.121 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000763/0.6317, allocations: 0.5213 MB / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6317, allocations: 0 / 1.121 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002385/0.6319, allocations: 163.9 kB / 1.121 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00052/0.6324, allocations: 105.3 kB / 1.121 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6338, allocations: 0.6925 MB / 1.122 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.6343, allocations: 0.9342 MB / 1.123 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.6343, allocations: 3.938 kB / 1.123 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of Templates: time 0.01279/0.6471, allocations: 7.594 MB / 1.13 GB, free: 1.332 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.pipe 2>&1)