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.OperationMode.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.OperationMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.OperationMode") [: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.379/2.379, allocations: 253.1 MB / 260.4 MB, free: 7.477 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.001666/0.001666, allocations: 181.9 kB / 319.6 MB, free: 3.297 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.035/2.035, allocations: 205.4 MB / 0.5704 GB, free: 15.01 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.001335/0.001335, allocations: 101.8 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.2e-05/1.214e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2664, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.82/1.087, allocations: 140.8 MB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.087, allocations: 82.53 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.08215/1.169, allocations: 17.22 MB / 1.042 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.449e-05/1.169, allocations: 24 kB / 1.042 GB, free: 15.18 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004751/1.174, allocations: 1.188 MB / 1.044 GB, free: 14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.054e-05/1.174, allocations: 16.02 kB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008339/1.175, allocations: 130.4 kB / 1.044 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/1.177, allocations: 0.5686 MB / 1.044 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/1.177, allocations: 46.48 kB / 1.044 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/1.178, allocations: 68 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002801/1.181, allocations: 0.6189 MB / 1.045 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/1.183, allocations: 0.7111 MB / 1.046 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.967e-05/1.184, allocations: 4 kB / 1.046 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/1.184, allocations: 19.94 kB / 1.046 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/1.184, allocations: 27.91 kB / 1.046 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009232/1.193, allocations: 2.318 MB / 1.048 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.196, allocations: 0.7751 MB / 1.049 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001035/1.197, allocations: 311.9 kB / 1.049 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/1.197, allocations: 12.77 kB / 1.049 GB, free: 9.859 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00161/1.199, allocations: 0.4974 MB / 1.05 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=105): time 6.683e-06/1.199, allocations: 4 kB / 1.05 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of matching and sorting (n=105): time 0.002599/1.201, allocations: 0.7095 MB / 1.05 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/1.202, allocations: 63.47 kB / 1.05 GB, free: 8.914 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.203, allocations: 0.5068 MB / 1.051 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000474/1.203, allocations: 56.81 kB / 1.051 GB, free: 8.477 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004968/1.204, allocations: 343.3 kB / 1.051 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.00052/1.204, allocations: 239.5 kB / 1.051 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/1.204, allocations: 0 / 1.051 GB, free: 7.973 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003039/1.205, allocations: 406 kB / 1.052 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/1.206, allocations: 322.7 kB / 1.052 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/1.207, allocations: 468.6 kB / 1.053 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/1.208, allocations: 266.1 kB / 1.053 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.208, allocations: 0 / 1.053 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00281/1.211, allocations: 0.8234 MB / 1.054 GB, free: 6.316 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/1.211, allocations: 4 kB / 1.054 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.211, allocations: 7.984 kB / 1.054 GB, free: 6.305 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.185e-05/1.211, allocations: 4 kB / 1.054 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/1.213, allocations: 135.4 kB / 1.054 GB, free: 6.176 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.53e-05/1.213, allocations: 11.89 kB / 1.054 GB, free: 6.164 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.214, allocations: 111.8 kB / 1.054 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.214, allocations: 39.56 kB / 1.054 GB, free: 6.027 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 100 ($PRE.opeModSel.lat.y,$PRE.opeModSel.lat1.y,$PRE.opeModSel.lat2.y,$PRE.opeModSel.lat3.y,$PRE.opeModSel.lat4.y,$whenCondition1,$PRE.occTim.tab.nextTimeEvent,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,occTim.tab.nextTimeEvent,$PRE.occTim.tab.nextTimeEventScaled,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,$PRE.opeModSel.falEdg.not_u,opeModSel.falEdg.not_u,$PRE.opeModSel.lat.u,opeModSel.lat.u,$PRE.opeModSel.lat.clr,opeModSel.lat.clr,opeModSel.lat.y,$PRE.opeModSel.lat1.u,opeModSel.lat1.u,$PRE.opeModSel.lat1.clr,opeModSel.lat1.clr,opeModSel.lat1.y,$PRE.opeModSel.lat2.u,opeModSel.lat2.u,$PRE.opeModSel.lat2.clr,opeModSel.lat2.clr,opeModSel.lat2.y,$PRE.opeModSel.falEdg1.not_u,opeModSel.falEdg1.not_u,$PRE.opeModSel.hys2.y,opeModSel.hys2.y,$PRE.opeModSel.hys3.y,opeModSel.hys3.y,$PRE.opeModSel.hys4.y,opeModSel.hys4.y,$PRE.opeModSel.hys5.y,opeModSel.hys5.y,$PRE.opeModSel.hys9.y,opeModSel.hys9.y,$PRE.opeModSel.hys10.y,opeModSel.hys10.y,$PRE.opeModSel.lat3.u,opeModSel.lat3.u,$PRE.opeModSel.lat3.clr,opeModSel.lat3.clr,opeModSel.lat3.y,$PRE.opeModSel.lat4.u,opeModSel.lat4.u,$PRE.opeModSel.lat4.clr,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 141 * 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.0004851/1.215, allocations: 180.3 kB / 1.054 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/1.215, allocations: 82.97 kB / 1.054 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/1.218, allocations: 0.7786 MB / 1.055 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.16e-05/1.218, allocations: 8 kB / 1.055 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/1.218, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.181e-05/1.218, allocations: 3.984 kB / 1.055 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/1.223, allocations: 1.657 MB / 1.057 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/1.223, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.224, allocations: 107.1 kB / 1.057 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.51e-05/1.224, allocations: 8 kB / 1.057 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.224, allocations: 23.47 kB / 1.057 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/1.224, allocations: 0 / 1.057 GB, free: 3.859 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/1.224, allocations: 4 kB / 1.057 GB, free: 3.855 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00253/1.227, allocations: 0.8407 MB / 1.058 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/1.227, allocations: 151.3 kB / 1.058 GB, free: 3.047 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003599/1.227, allocations: 29.86 kB / 1.058 GB, free: 3.031 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.229, allocations: 79.86 kB / 1.058 GB, free: 2.953 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007364/1.229, allocations: 184.8 kB / 1.058 GB, free: 2.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001726/1.23, allocations: 42.22 kB / 1.058 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0007576/1.23, allocations: 332.1 kB / 1.058 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001527/1.232, allocations: 204.1 kB / 1.059 GB, free: 2.344 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 75 ($whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition17,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition1,occTim.tab.nextTimeEvent,occTim.tab.nextTimeEventScaled,lesEqu.y,lesEqu1.y,occ.y,opeModSel.yOpeMod,opeModSel.intGreThr.y,opeModSel.intGreThr1.y,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.lat.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat1.y,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat2.y,opeModSel.falEdg1.not_u,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat3.y,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.lat4.y,opeModSel.intGreThr2.y,opeModSel.intGreThr3.y,opeModSel.addInt.u1,opeModSel.addInt.u2,opeModSel.addInt.y,opeModSel.addInt1.u1,opeModSel.addInt1.y,opeModSel.addInt2.u1,opeModSel.addInt2.u2,opeModSel.addInt2.y,opeModSel.addInt3.u2,opeModSel.addInt3.y,opeModSel.addInt4.u2,opeModSel.addInt4.y,opeModSel.booToInt3.u,opeModSel.and1.y,opeModSel.and2.y,opeModSel.or3.y,opeModSel.or5.y,opeModSel.and3.u2,opeModSel.not1.y,booToInt.y,booToInt1.y) * Number of discrete states: 25 (occTim.tab.nextTimeEvent,opeModSel.hys2.y,opeModSel.hys3.y,opeModSel.hys4.y,opeModSel.hys5.y,opeModSel.hys9.y,opeModSel.hys10.y,opeModSel.lat1.u,opeModSel.lat1.clr,opeModSel.lat3.u,opeModSel.lat3.clr,opeModSel.lat4.u,opeModSel.lat4.clr,opeModSel.falEdg.not_u,opeModSel.lat.u,opeModSel.lat.clr,opeModSel.falEdg1.not_u,opeModSel.lat2.u,opeModSel.lat2.clr,opeModSel.lat4.y,opeModSel.lat3.y,opeModSel.lat2.y,opeModSel.lat1.y,opeModSel.lat.y,occTim.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001373/1.233, allocations: 398.1 kB / 1.059 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003006/1.236, allocations: 0.8162 MB / 1.06 GB, free: 1.516 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.237, allocations: 3.938 kB / 1.06 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001525/1.238, allocations: 0.4932 MB / 1.06 GB, free: 1.199 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/1.239, allocations: 64.11 kB / 1.06 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.244, allocations: 1.22 MB / 1.061 GB, free: 104 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/1.246, allocations: 1.15 MB / 1.063 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.814e-06/1.247, allocations: 0 / 1.063 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.0483/1.295, allocations: 11.05 MB / 1.073 GB, free: 3.973 MB / 0.6823 GB