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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper.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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.ExhaustDamper") [: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.191/2.191, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.00163/0.001629, allocations: 181.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 1.932/1.932, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001348/0.001348, allocations: 91.69 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.262e-05/1.267e-05, allocations: 4 kB / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2199, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.636/0.8559, allocations: 132.5 MB / 1.017 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.8563, allocations: 85.23 kB / 1.018 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007205/0.8635, allocations: 1.537 MB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.8636, allocations: 0 / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007791/0.8644, allocations: 419.2 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.8644, allocations: 8.031 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.8645, allocations: 16.56 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.8648, allocations: 211.5 kB / 1.02 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.8649, allocations: 4 kB / 1.02 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.81e-05/0.8649, allocations: 11.91 kB / 1.02 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00027/0.8652, allocations: 80.39 kB / 1.02 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.8655, allocations: 93.25 kB / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8655, allocations: 0 / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.8656, allocations: 0 / 1.02 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.8656, allocations: 4 kB / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.8669, allocations: 488.5 kB / 1.02 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.8671, allocations: 60.03 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.483e-05/0.8672, allocations: 31.17 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.8672, allocations: 4 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.8673, allocations: 30.56 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.017e-06/0.8673, allocations: 0 / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003191/0.8676, allocations: 86.58 kB / 1.021 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.8676, allocations: 51.41 kB / 1.021 GB, free: 3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.8678, allocations: 138.2 kB / 1.021 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.8679, allocations: 25.7 kB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.947e-05/0.868, allocations: 122.3 kB / 1.021 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.868, allocations: 11.81 kB / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.368e-06/0.868, allocations: 0 / 1.021 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.8682, allocations: 321 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.427e-05/0.8683, allocations: 22.06 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.8684, allocations: 39.59 kB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.605e-05/0.8685, allocations: 26.86 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.8685, allocations: 3.906 kB / 1.021 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002479/0.8688, allocations: 90.62 kB / 1.021 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.8688, allocations: 4 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.8688, allocations: 288 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.8689, allocations: 0 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.8691, allocations: 27.48 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.8691, allocations: 3.938 kB / 1.021 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.8694, allocations: 20.2 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.8694, allocations: 4 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001025/0.8695, allocations: 112.8 kB / 1.022 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.8696, allocations: 7.906 kB / 1.022 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003061/0.8699, allocations: 94.47 kB / 1.022 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.8699, allocations: 4 kB / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8699, allocations: 0 / 1.022 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.8699, allocations: 4 kB / 1.022 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006114/0.8706, allocations: 361.6 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.8706, allocations: 0 / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/0.8708, allocations: 15.98 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.966e-06/0.8708, allocations: 8.031 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.8708, allocations: 7.891 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.8709, allocations: 3.938 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8709, allocations: 0 / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002761/0.8712, allocations: 196.5 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.8712, allocations: 84.92 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.8713, allocations: 8 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.8715, allocations: 19.97 kB / 1.022 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.8716, allocations: 10.73 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.8716, allocations: 4 kB / 1.022 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001099/0.8717, allocations: 111.9 kB / 1.022 GB, free: 1.164 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003883/0.8722, allocations: 23.91 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0002096/0.8724, allocations: 103.2 kB / 1.023 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.8726, allocations: 60.98 kB / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.8726, allocations: 0 / 1.023 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8727, allocations: 37.67 kB / 1.023 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.8732, allocations: 27.55 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005875/0.8738, allocations: 151.7 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.8742, allocations: 0.727 MB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of SimCode: time 8.11e-07/0.8742, allocations: 0 / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of Templates: time 0.005532/0.8798, allocations: 1.348 MB / 1.025 GB, free: 14.74 MB / 0.6511 GB