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.Generic.SetPoints.Validation.ZoneStatus.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.Generic.SetPoints.Validation.ZoneStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus") [: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.166/2.166, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001673/0.001672, allocations: 185.2 kB / 319.6 MB, free: 3.312 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 1.91/1.91, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001332/0.001331, allocations: 98.38 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.164e-05/1.177e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7307/1.016, allocations: 134 MB / 1.019 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000354/1.016, allocations: 75.19 kB / 1.019 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.04066/1.057, allocations: 8.465 MB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.48e-05/1.057, allocations: 16 kB / 1.027 GB, free: 13.06 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.003232/1.06, allocations: 0.9357 MB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/1.06, allocations: 15.97 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003349/1.061, allocations: 83.05 kB / 1.028 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008182/1.062, allocations: 382.4 kB / 1.029 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.303e-05/1.062, allocations: 22.62 kB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/1.062, allocations: 40 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001361/1.063, allocations: 379 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/1.065, allocations: 417.2 kB / 1.03 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/1.065, allocations: 4 kB / 1.03 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-05/1.065, allocations: 0 / 1.03 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/1.065, allocations: 16 kB / 1.03 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005128/1.07, allocations: 1.527 MB / 1.031 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/1.071, allocations: 356.2 kB / 1.031 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/1.072, allocations: 128.8 kB / 1.031 GB, free: 9.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.955e-05/1.072, allocations: 12.25 kB / 1.031 GB, free: 9.508 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/1.072, allocations: 268.5 kB / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=45): time 3.577e-06/1.072, allocations: 0 / 1.032 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45): time 0.00116/1.074, allocations: 321.9 kB / 1.032 GB, free: 9.039 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.074, allocations: 170.4 kB / 1.032 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/1.074, allocations: 289.3 kB / 1.032 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.074, allocations: 43.06 kB / 1.033 GB, free: 8.566 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/1.075, allocations: 255.4 kB / 1.033 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/1.075, allocations: 128.7 kB / 1.033 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/1.075, allocations: 0 / 1.033 GB, free: 8.227 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001961/1.075, allocations: 354.9 kB / 1.033 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004926/1.076, allocations: 136.9 kB / 1.033 GB, free: 7.82 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/1.076, allocations: 279.4 kB / 1.034 GB, free: 7.574 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004115/1.077, allocations: 124.4 kB / 1.034 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.077, allocations: 0 / 1.034 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001265/1.078, allocations: 391.8 kB / 1.034 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/1.078, allocations: 11.94 kB / 1.034 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.078, allocations: 0 / 1.034 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/1.078, allocations: 4 kB / 1.034 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/1.079, allocations: 87.8 kB / 1.034 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/1.079, allocations: 0 / 1.034 GB, free: 7.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.08, allocations: 167.6 kB / 1.034 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/1.081, allocations: 15.75 kB / 1.034 GB, free: 6.934 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$whenCondition1,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,uWinSta.y,$PRE.uWinSta.pulseStart,uWinSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002745/1.081, allocations: 127.4 kB / 1.035 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/1.081, allocations: 43.44 kB / 1.035 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/1.082, allocations: 361 kB / 1.035 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.082, allocations: 4 kB / 1.035 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/1.082, allocations: 4 kB / 1.035 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.082, allocations: 3.984 kB / 1.035 GB, free: 6.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/1.084, allocations: 0.7169 MB / 1.036 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.084, allocations: 0 / 1.036 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007861/1.084, allocations: 83.89 kB / 1.036 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/1.084, allocations: 0 / 1.036 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.855e-05/1.085, allocations: 11.92 kB / 1.036 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/1.085, allocations: 7.906 kB / 1.036 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/1.085, allocations: 3.938 kB / 1.036 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/1.086, allocations: 424.8 kB / 1.036 GB, free: 5.387 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/1.086, allocations: 116.5 kB / 1.036 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/1.086, allocations: 18.98 kB / 1.036 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009406/1.087, allocations: 99.92 kB / 1.036 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003678/1.087, allocations: 116.3 kB / 1.036 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.177e-05/1.087, allocations: 15.23 kB / 1.036 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003615/1.088, allocations: 214.9 kB / 1.037 GB, free: 4.871 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000722/1.088, allocations: 111.5 kB / 1.037 GB, free: 4.762 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,noWinZonSta.hys2.y,noWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,uWinSta.y,uWinSta.pulseStart,noWinZonSta.hys.y,noWinZonSta.hys3.y,witWinZonSta.hys.y,witWinZonSta.hys3.y,noWinZonSta.hys1.y,noWinZonSta.hys4.y,witWinZonSta.hys1.y,witWinZonSta.hys4.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys1.y,noWinZonSta.hys4.y,noWinZonSta.hys1.y,witWinZonSta.hys3.y,witWinZonSta.hys.y,noWinZonSta.hys3.y,noWinZonSta.hys.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.0002689/1.089, allocations: 126 kB / 1.037 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001143/1.09, allocations: 340.4 kB / 1.037 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.09, allocations: 0 / 1.037 GB, free: 4.422 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007787/1.091, allocations: 228.2 kB / 1.037 GB, free: 4.281 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/1.091, allocations: 39.45 kB / 1.037 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/1.094, allocations: 0.6461 MB / 1.038 GB, free: 3.645 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.095, allocations: 0.9329 MB / 1.039 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/1.095, allocations: 4 kB / 1.039 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of Templates: time 0.02059/1.115, allocations: 5.728 MB / 1.045 GB, free: 13.02 MB / 0.6667 GB