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.Validation.FreezeProtectionMixedAir.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.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") [: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.462/2.462, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.002229/0.002229, allocations: 181.2 kB / 319.6 MB, free: 3.328 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.06/2.06, allocations: 205.4 MB / 0.5704 GB, free: 15.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.00144/0.00144, allocations: 94.91 kB / 0.6746 GB, free: 4.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.598e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2396, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7864/1.026, allocations: 134.6 MB / 1.019 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/1.026, allocations: 77.08 kB / 1.02 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01965/1.046, allocations: 4.669 MB / 1.024 GB, free: 16 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.266e-05/1.046, allocations: 8 kB / 1.024 GB, free: 8 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009647/1.047, allocations: 0.5067 MB / 1.025 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/1.047, allocations: 12.03 kB / 1.025 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/1.047, allocations: 35.53 kB / 1.025 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/1.048, allocations: 280 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/1.048, allocations: 11.98 kB / 1.025 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.609e-05/1.048, allocations: 15.91 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004582/1.049, allocations: 136.2 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005205/1.049, allocations: 201.2 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.049, allocations: 0 / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/1.049, allocations: 4 kB / 1.025 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/1.049, allocations: 4 kB / 1.025 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001982/1.051, allocations: 0.9623 MB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/1.052, allocations: 166.1 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.052, allocations: 84 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/1.052, allocations: 3.984 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.052, allocations: 38.5 kB / 1.027 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.875e-06/1.052, allocations: 0 / 1.027 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004833/1.053, allocations: 144.7 kB / 1.027 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/1.053, allocations: 81.11 kB / 1.027 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/1.053, allocations: 200.2 kB / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/1.053, allocations: 33.7 kB / 1.027 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.053, allocations: 142.6 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.448e-05/1.053, allocations: 46.3 kB / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/1.053, allocations: 0 / 1.027 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.053, allocations: 333.8 kB / 1.027 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/1.054, allocations: 49.19 kB / 1.028 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/1.054, allocations: 79.36 kB / 1.028 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/1.054, allocations: 54.02 kB / 1.028 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.054, allocations: 0 / 1.028 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004312/1.054, allocations: 167.7 kB / 1.028 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.055, allocations: 185.8 kB / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.055, allocations: 0 / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.055, allocations: 4.031 kB / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/1.055, allocations: 39.97 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.055, allocations: 0 / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/1.055, allocations: 27.83 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/1.055, allocations: 7.625 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/1.055, allocations: 4 kB / 1.028 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003164/1.056, allocations: 108.4 kB / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/1.056, allocations: 0 / 1.028 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/1.056, allocations: 7.984 kB / 1.028 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002593/1.056, allocations: 26.62 kB / 1.028 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.056, allocations: 7.984 kB / 1.028 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/1.056, allocations: 15.94 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/1.056, allocations: 4 kB / 1.028 GB, free: 12.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (freProTMix.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001176/1.056, allocations: 104.9 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/1.056, allocations: 27.66 kB / 1.028 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.057, allocations: 23.7 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/1.057, allocations: 4 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.057, allocations: 0 / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.057, allocations: 4 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/1.058, allocations: 0.5118 MB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.058, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003295/1.058, allocations: 35.17 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/1.058, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.058, allocations: 4 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.058, allocations: 4.031 kB / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/1.058, allocations: 0 / 1.029 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000683/1.059, allocations: 339.9 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-05/1.059, allocations: 92.83 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/1.059, allocations: 4 kB / 1.029 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/1.059, allocations: 16.05 kB / 1.029 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.075e-05/1.059, allocations: 14.52 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/1.059, allocations: 4 kB / 1.029 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002369/1.059, allocations: 165.4 kB / 1.03 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000568/1.06, allocations: 79.77 kB / 1.03 GB, free: 10.98 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001802/1.06, allocations: 115.2 kB / 1.03 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005408/1.061, allocations: 180 kB / 1.03 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.061, allocations: 0 / 1.03 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/1.061, allocations: 59.5 kB / 1.03 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006152/1.062, allocations: 55.61 kB / 1.03 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/1.063, allocations: 290.8 kB / 1.03 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005081/1.063, allocations: 0.7814 MB / 1.031 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of SimCode: time 1.232e-06/1.063, allocations: 4 kB / 1.031 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of Templates: time 0.01095/1.074, allocations: 3.009 MB / 1.034 GB, free: 6.633 MB / 0.6511 GB