Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 7.051 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009578/0.0009579, allocations: 181.2 kB / 316 MB, free: 3.578 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.158/1.158, allocations: 205.1 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007989/0.0007988, allocations: 92.88 kB / 0.671 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3393/0.3401, allocations: 112.5 MB / 0.7809 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.5121, allocations: 106.3 MB / 0.8847 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.9635, allocations: 136 MB / 1.018 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.9637, allocations: 75.5 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.03644/1, allocations: 16.44 MB / 1.034 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1, allocations: 12 kB / 1.034 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/1, allocations: 150.1 kB / 1.034 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006732/1.001, allocations: 0.5529 MB / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.251e-05/1.001, allocations: 62.78 kB / 1.034 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/1.001, allocations: 80 kB / 1.035 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001404/1.003, allocations: 0.8168 MB / 1.035 GB, free: 3.316 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/1.004, allocations: 0.8592 MB / 1.036 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.004, allocations: 0 / 1.036 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/1.004, allocations: 0 / 1.036 GB, free: 2.699 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.099e-05/1.004, allocations: 32 kB / 1.036 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005202/1.01, allocations: 2.981 MB / 1.039 GB, free: 424 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009206/1.011, allocations: 0.4938 MB / 1.04 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/1.011, allocations: 230.9 kB / 1.04 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/1.011, allocations: 16.08 kB / 1.04 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/1.012, allocations: 376.8 kB / 1.04 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 2.274e-06/1.012, allocations: 0 / 1.04 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.0008934/1.012, allocations: 0.5192 MB / 1.041 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.013, allocations: 221.3 kB / 1.041 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000504/1.013, allocations: 471.4 kB / 1.041 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.095e-05/1.013, allocations: 33.14 kB / 1.041 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/1.013, allocations: 469 kB / 1.042 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/1.014, allocations: 230.8 kB / 1.042 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/1.014, allocations: 0 / 1.042 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.014, allocations: 379.5 kB / 1.042 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/1.014, allocations: 224.7 kB / 1.043 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000412/1.015, allocations: 318.2 kB / 1.043 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/1.015, allocations: 225.6 kB / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.015, allocations: 0 / 1.043 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0009132/1.016, allocations: 0.613 MB / 1.044 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/1.016, allocations: 8 kB / 1.044 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/1.016, allocations: 4.031 kB / 1.044 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.016, allocations: 4 kB / 1.044 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/1.017, allocations: 127.7 kB / 1.044 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/1.017, allocations: 7.938 kB / 1.044 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/1.017, allocations: 130.6 kB / 1.044 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/1.017, allocations: 19.94 kB / 1.044 GB, free: 12.47 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,actAirSet_RehBox.not1.y,actAirSet_RehBox.uWin,$PRE.actAirSet_RehBox.hys.y,actAirSet_RehBox.hys.y,actAirSet_RehBox1.not1.y,$PRE.actAirSet_RehBox1.hys.y,actAirSet_RehBox1.hys.y,$PRE.winSta.pulseStart,winSta.pulseStart,actAirSet_RehBox1.intEqu4.y,actAirSet_RehBox1.intEqu3.y,actAirSet_RehBox1.intEqu2.y,actAirSet_RehBox1.intEqu1.y,actAirSet_RehBox1.swi3.u2,actAirSet_RehBox1.and1.u1,actAirSet_RehBox1.and1.u2,actAirSet_RehBox.intEqu4.y,actAirSet_RehBox.intEqu3.y,actAirSet_RehBox.intEqu2.y,actAirSet_RehBox.intEqu1.y,actAirSet_RehBox.swi3.u2,actAirSet_RehBox.and1.u1,actAirSet_RehBox.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * 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.0001388/1.017, allocations: 135.1 kB / 1.044 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.296e-05/1.017, allocations: 67.16 kB / 1.044 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008476/1.018, allocations: 0.5289 MB / 1.045 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.018, allocations: 8 kB / 1.045 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.018, allocations: 4 kB / 1.045 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.018, allocations: 7.891 kB / 1.045 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/1.021, allocations: 2.235 MB / 1.047 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/1.021, allocations: 8 kB / 1.047 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/1.021, allocations: 134.8 kB / 1.047 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.496e-05/1.021, allocations: 12.41 kB / 1.047 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/1.022, allocations: 19.98 kB / 1.047 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/1.022, allocations: 11.94 kB / 1.047 GB, free: 9.969 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.022, allocations: 11.94 kB / 1.047 GB, free: 9.957 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001188/1.023, allocations: 1.215 MB / 1.048 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001328/1.024, allocations: 1.605 MB / 1.05 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/1.024, allocations: 159.3 kB / 1.05 GB, free: 6.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.359e-05/1.024, allocations: 12.12 kB / 1.05 GB, free: 6.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/1.025, allocations: 75.94 kB / 1.05 GB, free: 6.723 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/1.025, allocations: 78.44 kB / 1.05 GB, free: 6.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/1.025, allocations: 35.3 kB / 1.05 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003308/1.025, allocations: 327.6 kB / 1.051 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001211/1.027, allocations: 218.7 kB / 1.051 GB, free: 6.184 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,actAirSet_RehBox.uWin,actAirSet_RehBox.hys.y,actAirSet_RehBox1.hys.y,winSta.pulseStart,actAirSet_RehBox1.not1.y,actAirSet_RehBox.not1.y) * Number of discrete states: 2 (actAirSet_RehBox1.hys.y,actAirSet_RehBox.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * 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.0001995/1.027, allocations: 130.7 kB / 1.051 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009149/1.028, allocations: 0.5561 MB / 1.051 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/1.028, allocations: 2.5 kB / 1.051 GB, free: 5.684 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007064/1.028, allocations: 394.9 kB / 1.052 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/1.029, allocations: 63.19 kB / 1.052 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/1.032, allocations: 1.312 MB / 1.053 GB, free: 4.102 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/1.032, allocations: 1.141 MB / 1.054 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of SimCode: time 6.72e-07/1.032, allocations: 0 / 1.054 GB, free: 2.93 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_SetPoints_Validation_ActiveAirFlow.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.pipe 2>&1)