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.Economizers.Subsequences.Validation.Limits_VOut_flow.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.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow") [: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.363/1.363, allocations: 289.8 MB / 297.1 MB, free: 6.73 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.0009838/0.0009838, allocations: 177.3 kB / 366.3 MB, free: 1.996 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.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.0007884/0.0007884, allocations: 93.19 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.021e-06/6.131e-06, allocations: 0 / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 116.3 MB / 0.9726 GB, free: 68.8 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5684, allocations: 140.9 MB / 1.11 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.5686, allocations: 79.92 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01513/0.5838, allocations: 6.283 MB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.911e-05/0.5838, allocations: 16 kB / 1.117 GB, free: 1.215 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.0009782/0.5848, allocations: 0.6503 MB / 1.117 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.5849, allocations: 8.031 kB / 1.117 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.585, allocations: 59.34 kB / 1.117 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.5855, allocations: 370.8 kB / 1.118 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.5855, allocations: 16 kB / 1.118 GB, free: 36 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/0.5856, allocations: 24 kB / 1.118 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005466/0.5862, allocations: 274 kB / 1.118 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.5867, allocations: 360.2 kB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.5868, allocations: 0 / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.5868, allocations: 1.688 kB / 1.118 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5868, allocations: 19.91 kB / 1.118 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.5887, allocations: 1.249 MB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004982/0.5893, allocations: 258.2 kB / 1.12 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.5894, allocations: 104.9 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.5895, allocations: 4 kB / 1.12 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.5897, allocations: 175.7 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 2.715e-06/0.5897, allocations: 4 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0004093/0.5901, allocations: 221.5 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.5902, allocations: 132.5 kB / 1.12 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.5905, allocations: 275.3 kB / 1.121 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.5905, allocations: 29.69 kB / 1.121 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.5907, allocations: 204.2 kB / 1.121 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/0.5907, allocations: 74.73 kB / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.5907, allocations: 0 / 1.121 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5909, allocations: 342.8 kB / 1.121 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.591, allocations: 80 kB / 1.121 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001642/0.5912, allocations: 129.1 kB / 1.121 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.5913, allocations: 80.91 kB / 1.121 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5913, allocations: 0 / 1.121 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003937/0.5917, allocations: 249.7 kB / 1.122 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.564e-05/0.5918, allocations: 189.9 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5919, allocations: 5.891 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.5919, allocations: 0 / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.5921, allocations: 55.97 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.5922, allocations: 7.938 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.5924, allocations: 43.81 kB / 1.122 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.5924, allocations: 12 kB / 1.122 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.5924, allocations: 4.75 kB / 1.122 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002942/0.5927, allocations: 176 kB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.5928, allocations: 4 kB / 1.122 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.5928, allocations: 0 / 1.122 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.593, allocations: 59.94 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.593, allocations: 4 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.5932, allocations: 35.83 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5932, allocations: 8 kB / 1.122 GB, free: 11.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.834e-05/0.5933, allocations: 118.9 kB / 1.122 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.5934, allocations: 35.66 kB / 1.122 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.5938, allocations: 253.2 kB / 1.123 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.5938, allocations: 4 kB / 1.123 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5938, allocations: 0 / 1.123 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.5938, allocations: 0 / 1.123 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009628/0.5948, allocations: 0.8063 MB / 1.123 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5948, allocations: 4 kB / 1.123 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002743/0.5951, allocations: 68.14 kB / 1.124 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.5951, allocations: 4 kB / 1.124 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.5952, allocations: 4 kB / 1.124 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5952, allocations: 4 kB / 1.124 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5952, allocations: 7.844 kB / 1.124 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006552/0.5958, allocations: 0.6038 MB / 1.124 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.5959, allocations: 116.7 kB / 1.124 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.596, allocations: 11.84 kB / 1.124 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.5962, allocations: 32.03 kB / 1.124 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.753e-05/0.5963, allocations: 27.97 kB / 1.124 GB, free: 8.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.5963, allocations: 9.969 kB / 1.124 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001877/0.5965, allocations: 203.1 kB / 1.125 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004506/0.597, allocations: 139.1 kB / 1.125 GB, free: 8.418 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (damLim.damLimCon.I.y) * Number of discrete variables: 3 ($whenCondition1,damLim.and3.y,damLim.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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 0.0001428/0.5971, allocations: 119.1 kB / 1.125 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005027/0.5976, allocations: 317.8 kB / 1.125 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5976, allocations: 8.125 kB / 1.125 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.5978, allocations: 111.8 kB / 1.125 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005477/0.5984, allocations: 106.1 kB / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.5994, allocations: 0.5307 MB / 1.126 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004827/0.5999, allocations: 0.8577 MB / 1.127 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.5999, allocations: 0 / 1.127 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of Templates: time 0.009142/0.6091, allocations: 4.874 MB / 1.131 GB, free: 1.539 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_VOut_flow.pipe 2>&1)