Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.SetPoints.Validation.ActiveAirFlow") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.211/2.211, allocations: 253.1 MB / 260.4 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002613/0.002612, allocations: 184.7 kB / 319.6 MB, free: 3.293 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.5704 GB, free: 15.02 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001422/0.001421, allocations: 94.25 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.231e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.246, allocations: 106.2 MB / 0.8881 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6976/0.9437, allocations: 135.8 MB / 1.021 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.944, allocations: 80.19 kB / 1.021 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.06353/1.008, allocations: 15.17 MB / 1.036 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.476e-05/1.008, allocations: 28 kB / 1.036 GB, free: 5.711 MB / 0.6511 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.003811/1.012, allocations: 1.234 MB / 1.037 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/1.012, allocations: 8.031 kB / 1.037 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006235/1.012, allocations: 150.1 kB / 1.037 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.014, allocations: 0.5627 MB / 1.038 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/1.014, allocations: 55.38 kB / 1.038 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002353/1.014, allocations: 83.91 kB / 1.038 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003162/1.017, allocations: 0.8181 MB / 1.038 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/1.021, allocations: 0.8506 MB / 1.039 GB, free: 2.641 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.536e-05/1.021, allocations: 7.969 kB / 1.039 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/1.021, allocations: 0 / 1.039 GB, free: 2.633 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/1.021, allocations: 35.94 kB / 1.039 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009839/1.031, allocations: 2.986 MB / 1.042 GB, free: 344 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/1.033, allocations: 0.5022 MB / 1.043 GB, free: 4 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/1.033, allocations: 226 kB / 1.043 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.899e-05/1.033, allocations: 8.656 kB / 1.043 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009305/1.034, allocations: 376.5 kB / 1.043 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=74): time 3.968e-06/1.034, allocations: 0 / 1.043 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=74): time 0.001733/1.036, allocations: 0.522 MB / 1.044 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/1.036, allocations: 222.3 kB / 1.044 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/1.037, allocations: 467.9 kB / 1.045 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/1.038, allocations: 33.58 kB / 1.045 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/1.038, allocations: 468.9 kB / 1.045 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003434/1.039, allocations: 231.4 kB / 1.045 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/1.039, allocations: 0 / 1.045 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002951/1.039, allocations: 377.3 kB / 1.046 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/1.04, allocations: 228.9 kB / 1.046 GB, free: 13.46 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008476/1.041, allocations: 312.9 kB / 1.046 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/1.041, allocations: 228.7 kB / 1.046 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.041, allocations: 0 / 1.046 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00193/1.043, allocations: 0.6074 MB / 1.047 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.043, allocations: 8.031 kB / 1.047 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/1.043, allocations: 0 / 1.047 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.237e-05/1.043, allocations: 7.984 kB / 1.047 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.045, allocations: 134.1 kB / 1.047 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/1.045, allocations: 4 kB / 1.047 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.046, allocations: 123.7 kB / 1.047 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.773e-05/1.046, allocations: 26.69 kB / 1.047 GB, free: 12.4 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.000287/1.046, allocations: 130.1 kB / 1.047 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/1.047, allocations: 75.14 kB / 1.047 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/1.048, allocations: 0.5255 MB / 1.048 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/1.048, allocations: 15.94 kB / 1.048 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/1.048, allocations: 0 / 1.048 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.501e-05/1.048, allocations: 3.984 kB / 1.048 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006087/1.055, allocations: 2.235 MB / 1.05 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/1.055, allocations: 8 kB / 1.05 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/1.056, allocations: 142.4 kB / 1.05 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.12e-05/1.056, allocations: 16 kB / 1.05 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.171e-05/1.056, allocations: 12 kB / 1.05 GB, free: 9.902 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.975e-05/1.056, allocations: 15.92 kB / 1.05 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-05/1.056, allocations: 11.94 kB / 1.05 GB, free: 9.875 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002391/1.059, allocations: 1.218 MB / 1.051 GB, free: 8.578 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/1.059, allocations: 162.5 kB / 1.052 GB, free: 8.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002794/1.059, allocations: 15.98 kB / 1.052 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/1.06, allocations: 71.05 kB / 1.052 GB, free: 8.324 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/1.061, allocations: 81.05 kB / 1.052 GB, free: 8.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.23e-05/1.061, allocations: 26.81 kB / 1.052 GB, free: 8.234 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006479/1.061, allocations: 328.8 kB / 1.052 GB, free: 8 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001107/1.062, allocations: 214.8 kB / 1.052 GB, free: 7.789 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.0002919/1.063, allocations: 131 kB / 1.052 GB, free: 7.652 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001793/1.065, allocations: 0.5605 MB / 1.053 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.065, allocations: 0 / 1.053 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/1.066, allocations: 388.6 kB / 1.053 GB, free: 7.043 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008581/1.067, allocations: 73.72 kB / 1.053 GB, free: 6.992 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00851/1.075, allocations: 1.3 MB / 1.055 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003166/1.079, allocations: 1.145 MB / 1.056 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of SimCode: time 2.084e-06/1.079, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of Templates: time 0.03228/1.111, allocations: 7.122 MB / 1.063 GB, free: 13.54 MB / 0.6823 GB