Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") [: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.023/2.023, allocations: 253.1 MB / 260.4 MB, free: 0.5664 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.001683/0.001683, allocations: 189.5 kB / 319.6 MB, free: 7.656 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.097/2.097, allocations: 205.4 MB / 0.5704 GB, free: 25.86 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.001262/0.001262, allocations: 97.02 kB / 0.6746 GB, free: 3.125 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.216e-05/1.231e-05, allocations: 4 kB / 0.7843 GB, free: 2.75 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.486/0.4861, allocations: 106.2 MB / 0.888 GB, free: 77.13 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.7019, allocations: 135.3 MB / 1.02 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.7023, allocations: 91.92 kB / 1.02 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.03714/0.7394, allocations: 9.188 MB / 1.029 GB, free: 12.33 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.475e-05/0.7395, allocations: 12 kB / 1.029 GB, free: 12.32 MB / 0.6824 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001722/0.7413, allocations: 0.7476 MB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7413, allocations: 8.031 kB / 1.03 GB, free: 11.52 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.7415, allocations: 67.16 kB / 1.03 GB, free: 11.45 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009832/0.7425, allocations: 432.8 kB / 1.03 GB, free: 10.98 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.7425, allocations: 12 kB / 1.03 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.7427, allocations: 28 kB / 1.031 GB, free: 10.95 MB / 0.6824 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001015/0.7437, allocations: 297.9 kB / 1.031 GB, free: 10.66 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7448, allocations: 416.4 kB / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.7448, allocations: 4 kB / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.7449, allocations: 0 / 1.031 GB, free: 10.22 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.7449, allocations: 15.98 kB / 1.031 GB, free: 10.2 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.749, allocations: 1.816 MB / 1.033 GB, free: 8.324 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.7501, allocations: 311.3 kB / 1.033 GB, free: 8.012 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.7506, allocations: 155.1 kB / 1.033 GB, free: 7.855 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.7507, allocations: 4 kB / 1.033 GB, free: 7.852 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7507, allocations: 30.56 kB / 1.033 GB, free: 7.812 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=32): time 2.594e-06/0.7507, allocations: 0 / 1.033 GB, free: 7.812 MB / 0.6824 GB Notification: Performance of matching and sorting (n=32): time 0.000916/0.7516, allocations: 277.6 kB / 1.034 GB, free: 7.535 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/0.7517, allocations: 110.8 kB / 1.034 GB, free: 7.402 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.7524, allocations: 341.2 kB / 1.034 GB, free: 7.062 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.7525, allocations: 25.7 kB / 1.034 GB, free: 7.031 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.7527, allocations: 220 kB / 1.034 GB, free: 6.812 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.7528, allocations: 106.3 kB / 1.034 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.7529, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.7531, allocations: 350.8 kB / 1.035 GB, free: 6.355 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.7534, allocations: 100.7 kB / 1.035 GB, free: 6.254 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.7538, allocations: 159 kB / 1.035 GB, free: 6.078 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003665/0.7542, allocations: 115.7 kB / 1.035 GB, free: 5.965 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7542, allocations: 0 / 1.035 GB, free: 5.965 MB / 0.6824 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009234/0.7552, allocations: 316.5 kB / 1.035 GB, free: 5.648 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/0.7553, allocations: 278 kB / 1.036 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7554, allocations: 0 / 1.036 GB, free: 5.359 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.7554, allocations: 4 kB / 1.036 GB, free: 5.355 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00078/0.7562, allocations: 87.89 kB / 1.036 GB, free: 5.27 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.7562, allocations: 4 kB / 1.036 GB, free: 5.266 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005599/0.7568, allocations: 59.7 kB / 1.036 GB, free: 5.207 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.46e-05/0.7568, allocations: 19.94 kB / 1.036 GB, free: 5.188 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.7569, allocations: 4 kB / 1.036 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008123/0.7577, allocations: 227.6 kB / 1.036 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.7577, allocations: 3.938 kB / 1.036 GB, free: 4.957 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.7577, allocations: 0 / 1.036 GB, free: 4.957 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/0.7583, allocations: 75.89 kB / 1.036 GB, free: 4.883 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.7584, allocations: 15.91 kB / 1.036 GB, free: 4.867 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004389/0.7588, allocations: 31.83 kB / 1.036 GB, free: 4.836 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/0.7589, allocations: 16 kB / 1.036 GB, free: 4.82 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001698/0.7591, allocations: 112.9 kB / 1.036 GB, free: 4.703 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.7592, allocations: 43.44 kB / 1.036 GB, free: 4.66 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009713/0.7602, allocations: 301.9 kB / 1.037 GB, free: 4.359 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.7602, allocations: 4 kB / 1.037 GB, free: 4.355 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.7602, allocations: 3.906 kB / 1.037 GB, free: 4.352 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.7602, allocations: 0 / 1.037 GB, free: 4.352 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.762, allocations: 0.8491 MB / 1.038 GB, free: 3.449 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.7621, allocations: 3.984 kB / 1.038 GB, free: 3.445 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007441/0.7628, allocations: 83.98 kB / 1.038 GB, free: 3.363 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.7628, allocations: 4 kB / 1.038 GB, free: 3.359 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.7629, allocations: 0 / 1.038 GB, free: 3.359 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.7629, allocations: 4 kB / 1.038 GB, free: 3.355 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/0.7629, allocations: 3.938 kB / 1.038 GB, free: 3.352 MB / 0.6824 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001319/0.7642, allocations: 0.5843 MB / 1.038 GB, free: 2.723 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001526/0.7644, allocations: 128.5 kB / 1.038 GB, free: 2.578 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.488e-05/0.7645, allocations: 4 kB / 1.038 GB, free: 2.574 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005244/0.765, allocations: 40.03 kB / 1.038 GB, free: 2.535 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.216e-05/0.7651, allocations: 19.97 kB / 1.038 GB, free: 2.516 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.7652, allocations: 12 kB / 1.038 GB, free: 2.504 MB / 0.6824 GB Notification: Performance of sort global known variables: time 0.0005051/0.7657, allocations: 259.2 kB / 1.039 GB, free: 2.25 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0007789/0.7665, allocations: 151.1 kB / 1.039 GB, free: 2.102 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001973/0.7667, allocations: 111.2 kB / 1.039 GB, free: 1.984 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.001165/0.7679, allocations: 408 kB / 1.039 GB, free: 1.586 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7679, allocations: 0 / 1.039 GB, free: 1.586 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0003925/0.7683, allocations: 140.2 kB / 1.039 GB, free: 1.449 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009333/0.7693, allocations: 94.55 kB / 1.04 GB, free: 1.355 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.7714, allocations: 0.61 MB / 1.04 GB, free: 0.707 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.3066/1.078, allocations: 0.8948 MB / 1.041 GB, free: 206.8 MB / 0.6824 GB Notification: Performance of SimCode: time 1.263e-06/1.078, allocations: 0 / 1.041 GB, free: 206.8 MB / 0.6824 GB Notification: Performance of Templates: time 0.01828/1.096, allocations: 6.031 MB / 1.047 GB, free: 206.7 MB / 0.6824 GB