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.OutdoorAirFlow.Validation.OutdoorAirFlow.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.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow") [: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.381/1.381, allocations: 289.8 MB / 297.1 MB, free: 8.922 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.001063/0.001062, allocations: 189.2 kB / 366.3 MB, free: 11.34 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 11.44 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008251/0.0008251, allocations: 81.22 kB / 0.7396 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.413e-06/6.432e-06, allocations: 0 / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 116.3 MB / 0.9727 GB, free: 31.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5827, allocations: 143.5 MB / 1.113 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.583, allocations: 82.77 kB / 1.113 GB, free: 16.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.04555/0.6285, allocations: 19.44 MB / 1.132 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.239e-05/0.6286, allocations: 32.09 kB / 1.132 GB, free: 11.64 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 403 * Number of variables: 403 Notification: Performance of Generate backend data structure: time 0.002226/0.6309, allocations: 1.554 MB / 1.133 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.6309, allocations: 13.31 kB / 1.133 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.6312, allocations: 183.7 kB / 1.134 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.632, allocations: 0.7275 MB / 1.134 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.6321, allocations: 60.02 kB / 1.134 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.6323, allocations: 97.97 kB / 1.134 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001661/0.634, allocations: 0.9736 MB / 1.135 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.6359, allocations: 1.032 MB / 1.136 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.636, allocations: 0 / 1.136 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.6361, allocations: 1.188 kB / 1.136 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.6361, allocations: 38.09 kB / 1.136 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005667/0.6418, allocations: 3.77 MB / 1.14 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.643, allocations: 0.6691 MB / 1.141 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003626/0.6434, allocations: 255.2 kB / 1.141 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.784e-05/0.6434, allocations: 15.88 kB / 1.141 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.6439, allocations: 339.6 kB / 1.141 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=74): time 2.134e-06/0.6439, allocations: 3.938 kB / 1.141 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74): time 0.0009644/0.6449, allocations: 0.6001 MB / 1.142 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.6449, allocations: 63.75 kB / 1.142 GB, free: 7.73 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.6456, allocations: 0.6245 MB / 1.143 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/0.6456, allocations: 29.83 kB / 1.143 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/0.6459, allocations: 0.5773 MB / 1.143 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.6461, allocations: 225.2 kB / 1.143 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/0.6461, allocations: 2.656 kB / 1.143 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.6462, allocations: 342.2 kB / 1.144 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004607/0.6467, allocations: 307.7 kB / 1.144 GB, free: 6.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005148/0.6472, allocations: 434.4 kB / 1.145 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006307/0.6478, allocations: 350.7 kB / 1.145 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6479, allocations: 0.9062 kB / 1.145 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001475/0.6493, allocations: 0.8688 MB / 1.146 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6494, allocations: 6.906 kB / 1.146 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.6494, allocations: 2.344 kB / 1.146 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.6494, allocations: 6.344 kB / 1.146 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/0.6503, allocations: 200.8 kB / 1.146 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.6503, allocations: 5.406 kB / 1.146 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.6513, allocations: 179.7 kB / 1.146 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-05/0.6514, allocations: 33.77 kB / 1.146 GB, free: 6.047 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,zon3.occSen.y,zon2.occSen.y,zon1.occSen.y,$PRE.zon1.hys.y,zon1.hys.y,zon1.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon2.nOcc,$PRE.zon3.hys.y,zon3.hys.y,zon3.nOcc,$PRE.ahu1.hys1.y,ahu1.hys1.y,$PRE.winSta1.y,winSta1.y,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 102 * 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 0.000141/0.6515, allocations: 131.7 kB / 1.146 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.6516, allocations: 81.84 kB / 1.146 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.6527, allocations: 0.6601 MB / 1.147 GB, free: 5.719 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.6528, allocations: 10.97 kB / 1.147 GB, free: 5.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6528, allocations: 4.859 kB / 1.147 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6528, allocations: 11.91 kB / 1.147 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.6555, allocations: 2.022 MB / 1.149 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.6555, allocations: 5.562 kB / 1.149 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.6562, allocations: 174.8 kB / 1.149 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.315e-05/0.6562, allocations: 9.281 kB / 1.149 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.058e-05/0.6563, allocations: 12 kB / 1.149 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.6563, allocations: 12.45 kB / 1.149 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.6563, allocations: 10.72 kB / 1.149 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009906/0.6573, allocations: 1.134 MB / 1.15 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.6575, allocations: 177.7 kB / 1.15 GB, free: 3.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6576, allocations: 11.69 kB / 1.15 GB, free: 3.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005925/0.6582, allocations: 95.77 kB / 1.151 GB, free: 3.402 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6584, allocations: 100.1 kB / 1.151 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.6584, allocations: 34.3 kB / 1.151 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0004098/0.6588, allocations: 459.8 kB / 1.151 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007477/0.6596, allocations: 290.3 kB / 1.151 GB, free: 2.695 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,zon1.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,ahu1.hys1.y,winSta1.y) * Number of discrete states: 4 (zon3.hys.y,zon2.hys.y,zon1.hys.y,ahu1.hys1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 73 * 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.0002124/0.6598, allocations: 146.8 kB / 1.152 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009581/0.6608, allocations: 0.7232 MB / 1.152 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.6608, allocations: 0 / 1.152 GB, free: 2.039 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000852/0.6616, allocations: 0.5255 MB / 1.153 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/0.6622, allocations: 124.1 kB / 1.153 GB, free: 1.598 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.6649, allocations: 1.635 MB / 1.154 GB, free: 40 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.666, allocations: 1.303 MB / 1.156 GB, free: 14.73 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.666, allocations: 0 / 1.156 GB, free: 14.73 MB / 0.698 GB Notification: Performance of Templates: time 0.01853/0.6845, allocations: 10.1 MB / 1.166 GB, free: 4.816 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1)