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.Validation.DamperValves.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.Validation.DamperValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves") [: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.275/2.275, allocations: 253.1 MB / 260.4 MB, free: 7.449 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.001709/0.001709, allocations: 189.2 kB / 319.6 MB, free: 3.332 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.207/2.207, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.00135/0.00135, allocations: 90.38 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.122e-05/1.143e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2296, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7503/0.98, allocations: 140.1 MB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.9804, allocations: 78.38 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07091/1.051, allocations: 17.06 MB / 1.042 GB, free: 392 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000115/1.051, allocations: 24 kB / 1.042 GB, free: 368 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.004426/1.056, allocations: 1.224 MB / 1.043 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.056, allocations: 8.031 kB / 1.043 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007513/1.057, allocations: 134.4 kB / 1.043 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/1.059, allocations: 0.5986 MB / 1.044 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/1.059, allocations: 43.38 kB / 1.044 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/1.059, allocations: 87.83 kB / 1.044 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/1.062, allocations: 0.7187 MB / 1.044 GB, free: 13.98 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/1.066, allocations: 0.9562 MB / 1.045 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/1.066, allocations: 0 / 1.045 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.066, allocations: 11.98 kB / 1.045 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.384e-05/1.066, allocations: 28 kB / 1.045 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009966/1.076, allocations: 3.5 MB / 1.049 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/1.079, allocations: 0.7126 MB / 1.049 GB, free: 9.992 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009752/1.08, allocations: 304 kB / 1.05 GB, free: 9.816 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.733e-05/1.08, allocations: 10.3 kB / 1.05 GB, free: 9.809 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/1.081, allocations: 453.4 kB / 1.05 GB, free: 9.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=83): time 4.047e-06/1.081, allocations: 4 kB / 1.05 GB, free: 9.477 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83): time 0.002099/1.083, allocations: 0.6127 MB / 1.051 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/1.083, allocations: 190.9 kB / 1.051 GB, free: 8.805 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/1.084, allocations: 482.2 kB / 1.051 GB, free: 8.449 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003329/1.085, allocations: 49.5 kB / 1.051 GB, free: 8.402 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000551/1.085, allocations: 405.6 kB / 1.052 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004919/1.086, allocations: 231.7 kB / 1.052 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/1.086, allocations: 0 / 1.052 GB, free: 7.852 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000267/1.086, allocations: 385 kB / 1.052 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008824/1.087, allocations: 254.7 kB / 1.053 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/1.088, allocations: 489.8 kB / 1.053 GB, free: 6.918 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/1.089, allocations: 275.8 kB / 1.053 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.089, allocations: 0 / 1.053 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002399/1.092, allocations: 0.7502 MB / 1.054 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009717/1.093, allocations: 1.918 MB / 1.056 GB, free: 4.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/1.093, allocations: 4 kB / 1.056 GB, free: 4.156 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/1.093, allocations: 8.094 kB / 1.056 GB, free: 4.148 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.094, allocations: 179.2 kB / 1.056 GB, free: 3.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/1.094, allocations: 8 kB / 1.056 GB, free: 3.973 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.096, allocations: 143.3 kB / 1.056 GB, free: 3.832 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.096, allocations: 35.62 kB / 1.056 GB, free: 3.805 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.096, allocations: 7.938 kB / 1.056 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002129/1.098, allocations: 0.6312 MB / 1.057 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/1.098, allocations: 8 kB / 1.057 GB, free: 3.352 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.098, allocations: 8 kB / 1.057 GB, free: 3.344 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/1.1, allocations: 158.1 kB / 1.057 GB, free: 3.199 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.418e-05/1.1, allocations: 15.94 kB / 1.057 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.101, allocations: 115.5 kB / 1.057 GB, free: 3.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.101, allocations: 38.67 kB / 1.057 GB, free: 3.039 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conVal.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 123 * 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.0004434/1.102, allocations: 171.5 kB / 1.057 GB, free: 2.871 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.102, allocations: 75.16 kB / 1.058 GB, free: 2.797 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.104, allocations: 0.6787 MB / 1.058 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.104, allocations: 12 kB / 1.058 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.104, allocations: 0 / 1.058 GB, free: 2.312 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.104, allocations: 7.984 kB / 1.058 GB, free: 2.305 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/1.109, allocations: 1.818 MB / 1.06 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/1.109, allocations: 0 / 1.06 GB, free: 0.9648 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.11, allocations: 118.7 kB / 1.06 GB, free: 0.8555 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/1.11, allocations: 8 kB / 1.06 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.996e-05/1.11, allocations: 14.84 kB / 1.06 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/1.11, allocations: 4 kB / 1.06 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.11, allocations: 4 kB / 1.06 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00331/1.114, allocations: 1.22 MB / 1.061 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003522/1.114, allocations: 156.7 kB / 1.062 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.114, allocations: 11.42 kB / 1.062 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.115, allocations: 95.36 kB / 1.062 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003366/1.116, allocations: 98.53 kB / 1.062 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.116, allocations: 38.59 kB / 1.062 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0007136/1.117, allocations: 319.5 kB / 1.062 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001777/1.118, allocations: 346.5 kB / 1.062 GB, free: 14.99 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (damVal.conVal.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00042/1.119, allocations: 160.2 kB / 1.063 GB, free: 14.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003392/1.122, allocations: 1.099 MB / 1.064 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.122, allocations: 0.875 kB / 1.064 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.124, allocations: 403.3 kB / 1.064 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.125, allocations: 105.5 kB / 1.064 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/1.132, allocations: 1.218 MB / 1.065 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00226/1.134, allocations: 1.132 MB / 1.066 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of SimCode: time 5.089e-06/1.134, allocations: 0 / 1.066 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.08612/1.22, allocations: 12.89 MB / 1.079 GB, free: 14.74 MB / 0.698 GB