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.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable.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.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Limits_LoopDisable") [: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.242/2.242, allocations: 253.1 MB / 260.4 MB, free: 7.461 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.00166/0.00166, allocations: 185 kB / 319.6 MB, free: 3.34 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.016/2.016, allocations: 205.4 MB / 0.5704 GB, free: 15 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.001972/0.001972, allocations: 99.64 kB / 0.6746 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.115e-05/1.13e-05, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2043, allocations: 106.2 MB / 0.8881 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7411/0.9454, allocations: 136.7 MB / 1.022 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/0.9458, allocations: 80.5 kB / 1.022 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.08685/1.033, allocations: 21.55 MB / 1.043 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001536/1.033, allocations: 28 kB / 1.043 GB, free: 15.75 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004674/1.038, allocations: 1.421 MB / 1.044 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/1.038, allocations: 8.031 kB / 1.044 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008279/1.039, allocations: 177.8 kB / 1.044 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/1.042, allocations: 0.8555 MB / 1.045 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/1.042, allocations: 47.98 kB / 1.045 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003202/1.042, allocations: 87.84 kB / 1.045 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00303/1.045, allocations: 0.8298 MB / 1.046 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/1.048, allocations: 1.048 MB / 1.047 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.838e-05/1.049, allocations: 8 kB / 1.047 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/1.049, allocations: 0 / 1.047 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/1.049, allocations: 32 kB / 1.047 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/1.059, allocations: 3.689 MB / 1.051 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/1.062, allocations: 0.7271 MB / 1.051 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/1.063, allocations: 339.7 kB / 1.052 GB, free: 8.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/1.063, allocations: 21.28 kB / 1.052 GB, free: 8.555 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/1.065, allocations: 443.3 kB / 1.052 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=84): time 5.049e-06/1.065, allocations: 4 kB / 1.052 GB, free: 8.207 MB / 0.6667 GB Notification: Performance of matching and sorting (n=84): time 0.002667/1.067, allocations: 0.616 MB / 1.053 GB, free: 7.766 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002649/1.068, allocations: 354.1 kB / 1.053 GB, free: 7.34 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.07, allocations: 0.6283 MB / 1.054 GB, free: 6.879 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002272/1.07, allocations: 29.64 kB / 1.054 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005682/1.07, allocations: 488.4 kB / 1.054 GB, free: 6.418 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004348/1.071, allocations: 260 kB / 1.055 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/1.071, allocations: 0 / 1.055 GB, free: 6.191 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000281/1.071, allocations: 340.6 kB / 1.055 GB, free: 5.867 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00113/1.072, allocations: 237.5 kB / 1.055 GB, free: 5.742 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.074, allocations: 412.1 kB / 1.055 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.075, allocations: 273.4 kB / 1.056 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/1.075, allocations: 7.875 kB / 1.056 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.003433/1.079, allocations: 0.7058 MB / 1.056 GB, free: 4.723 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005286/1.079, allocations: 0.786 MB / 1.057 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/1.079, allocations: 4 kB / 1.057 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.095e-05/1.079, allocations: 7.984 kB / 1.057 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/1.082, allocations: 202.9 kB / 1.057 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/1.082, allocations: 4 kB / 1.057 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.084, allocations: 139.3 kB / 1.058 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001545/1.084, allocations: 35.61 kB / 1.058 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.084, allocations: 4 kB / 1.058 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002474/1.087, allocations: 0.558 MB / 1.058 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.087, allocations: 4 kB / 1.058 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.087, allocations: 4 kB / 1.058 GB, free: 3.137 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001949/1.089, allocations: 175.5 kB / 1.058 GB, free: 2.973 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/1.089, allocations: 11.92 kB / 1.058 GB, free: 2.961 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.09, allocations: 111.5 kB / 1.058 GB, free: 2.852 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/1.09, allocations: 35.06 kB / 1.058 GB, free: 2.824 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,damLim2.and2.y,damLim2.and3.y,damLim2.and3.u2,damLim2.and2.u2,damLim1.and2.y,damLim1.and3.y,damLim1.and3.u2,damLim1.and2.u2,damLim.and2.y,damLim.and3.y,damLim.and3.u2,damLim.and2.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0004585/1.091, allocations: 136.6 kB / 1.059 GB, free: 2.688 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003605/1.091, allocations: 94.86 kB / 1.059 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003386/1.095, allocations: 0.7092 MB / 1.059 GB, free: 2.109 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/1.095, allocations: 12 kB / 1.059 GB, free: 2.098 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/1.095, allocations: 4 kB / 1.059 GB, free: 2.094 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/1.095, allocations: 3.984 kB / 1.059 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008019/1.103, allocations: 2.388 MB / 1.062 GB, free: 272 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-05/1.103, allocations: 4 kB / 1.062 GB, free: 268 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.105, allocations: 199.1 kB / 1.062 GB, free: 76 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.685e-05/1.105, allocations: 12 kB / 1.062 GB, free: 64 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000134/1.105, allocations: 12 kB / 1.062 GB, free: 52 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-05/1.105, allocations: 11.98 kB / 1.062 GB, free: 40 kB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/1.106, allocations: 11.94 kB / 1.062 GB, free: 28 kB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00521/1.111, allocations: 1.832 MB / 1.064 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.112, allocations: 274.8 kB / 1.064 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.112, allocations: 15.98 kB / 1.064 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001985/1.114, allocations: 95.84 kB / 1.064 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003203/1.114, allocations: 77.5 kB / 1.064 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/1.115, allocations: 35.56 kB / 1.064 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001403/1.116, allocations: 456 kB / 1.065 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002888/1.119, allocations: 425.5 kB / 1.065 GB, free: 13.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (damLim.damLimCon.I.y,damLim1.damLimCon.I.y,damLim2.damLimCon.I.y) * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition3,damLim.and3.y,damLim.and2.y,damLim1.and3.y,damLim1.and2.y,damLim2.and3.y,damLim2.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 90 * 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 Backend phase and start with SimCode phase: time 0.0004057/1.119, allocations: 130.7 kB / 1.065 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004175/1.124, allocations: 0.9994 MB / 1.066 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-05/1.124, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001805/1.126, allocations: 372.8 kB / 1.067 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/1.13, allocations: 332.9 kB / 1.067 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008333/1.138, allocations: 1.631 MB / 1.068 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/1.141, allocations: 1.245 MB / 1.07 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of SimCode: time 1.703e-06/1.141, allocations: 0 / 1.07 GB, free: 9.055 MB / 0.6823 GB Notification: Performance of Templates: time 0.05275/1.194, allocations: 15.19 MB / 1.084 GB, free: 10.02 MB / 0.698 GB