Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") [: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.393/1.393, 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.001065/0.001065, allocations: 181.2 kB / 366.3 MB, free: 11.33 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.129/1.129, allocations: 205.1 MB / 0.6256 GB, free: 11.51 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.0008376/0.0008374, allocations: 89.69 kB / 0.7396 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.302e-06, allocations: 0 / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1603, allocations: 116.3 MB / 0.9726 GB, free: 31.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4432/0.6035, allocations: 139.3 MB / 1.109 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.6037, allocations: 75.17 kB / 1.109 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.01279/0.6165, allocations: 5.391 MB / 1.114 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.6166, allocations: 8.219 kB / 1.114 GB, free: 15.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0007743/0.6173, allocations: 0.6544 MB / 1.115 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.6174, allocations: 8 kB / 1.115 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.6175, allocations: 58.62 kB / 1.115 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.6178, allocations: 319.8 kB / 1.115 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.6178, allocations: 14.44 kB / 1.115 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.6179, allocations: 24.91 kB / 1.115 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000411/0.6183, allocations: 232.2 kB / 1.115 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.6188, allocations: 271.7 kB / 1.116 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6188, allocations: 1.453 kB / 1.116 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.6188, allocations: 0 / 1.116 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.6188, allocations: 9.875 kB / 1.116 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.6205, allocations: 1.168 MB / 1.117 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.6209, allocations: 167.3 kB / 1.117 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.621, allocations: 59.22 kB / 1.117 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.6211, allocations: 2.5 kB / 1.117 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.194e-05/0.6211, allocations: 31.91 kB / 1.117 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.6211, allocations: 0 / 1.117 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0002857/0.6214, allocations: 151.3 kB / 1.117 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.6214, allocations: 66.67 kB / 1.117 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.6216, allocations: 261.8 kB / 1.117 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.6217, allocations: 26.77 kB / 1.117 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.327e-05/0.6218, allocations: 214.3 kB / 1.118 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.6218, allocations: 55.52 kB / 1.118 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.6218, allocations: 0 / 1.118 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.962e-05/0.6219, allocations: 341 kB / 1.118 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.622, allocations: 57.47 kB / 1.118 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.6221, allocations: 104.6 kB / 1.118 GB, free: 13.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.6222, allocations: 57.03 kB / 1.118 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6222, allocations: 0 / 1.118 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002861/0.6225, allocations: 194.1 kB / 1.118 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.6225, allocations: 5.438 kB / 1.118 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.6225, allocations: 6.781 kB / 1.118 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6226, allocations: 1.375 kB / 1.118 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.6228, allocations: 62.91 kB / 1.118 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6228, allocations: 4.969 kB / 1.118 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/0.6231, allocations: 48.08 kB / 1.119 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.6231, allocations: 4.188 kB / 1.119 GB, free: 13.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.512e-05/0.6232, allocations: 120.6 kB / 1.119 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.822e-05/0.6232, allocations: 29.66 kB / 1.119 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.043e-05/0.6233, allocations: 30.55 kB / 1.119 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.6233, allocations: 6.516 kB / 1.119 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6233, allocations: 3.906 kB / 1.119 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6233, allocations: 1.266 kB / 1.119 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.6236, allocations: 337.9 kB / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6236, allocations: 0 / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.6238, allocations: 59.7 kB / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.6238, allocations: 1.094 kB / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.6239, allocations: 1.406 kB / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.6239, allocations: 1.156 kB / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6239, allocations: 0 / 1.119 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002353/0.6241, allocations: 262.5 kB / 1.119 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.6242, allocations: 101.3 kB / 1.119 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.6242, allocations: 1.344 kB / 1.119 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.6244, allocations: 39.27 kB / 1.119 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.6245, allocations: 30.66 kB / 1.12 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.6245, allocations: 4.719 kB / 1.12 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000147/0.6247, allocations: 193.2 kB / 1.12 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002736/0.625, allocations: 68.69 kB / 1.12 GB, free: 12.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001/0.6251, allocations: 109.8 kB / 1.12 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.6253, allocations: 145.2 kB / 1.12 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.6254, allocations: 0 / 1.12 GB, free: 12.85 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.6255, allocations: 70.11 kB / 1.12 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.6257, allocations: 23.22 kB / 1.12 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007604/0.6265, allocations: 412.8 kB / 1.121 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004449/0.6269, allocations: 0.8389 MB / 1.121 GB, free: 27.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/0.6269, allocations: 0 / 1.121 GB, free: 27.95 MB / 0.698 GB Notification: Performance of Templates: time 0.005719/0.6327, allocations: 2.481 MB / 1.124 GB, free: 27.79 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1)