Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.152/2.152, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001614, allocations: 187.2 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.645/1.645, allocations: 205.1 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001236/0.001235, allocations: 96.44 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.047e-05, allocations: 4 kB / 0.8503 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5622/0.5623, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.7639, allocations: 138.4 MB / 1.098 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.7642, allocations: 73.06 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.016/0.7803, allocations: 3.732 MB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.7803, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 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.0008781/0.7812, allocations: 0.4951 MB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7813, allocations: 12.53 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.745e-05/0.7814, allocations: 27.62 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.7819, allocations: 280.9 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.7819, allocations: 8 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.782, allocations: 16.61 kB / 1.102 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004381/0.7824, allocations: 128.9 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005436/0.783, allocations: 205 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.783, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.783, allocations: 0 / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.7831, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.7848, allocations: 0.7993 MB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.7862, allocations: 306.1 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.7864, allocations: 73.52 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.7865, allocations: 4 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/0.7867, allocations: 103.4 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 3.647e-06/0.7867, allocations: 224 / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0004068/0.7871, allocations: 145.3 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.7872, allocations: 85.05 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.7875, allocations: 191.9 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.7875, allocations: 25.7 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.7877, allocations: 148.1 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.399e-05/0.7878, allocations: 47.36 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.259e-05/0.7878, allocations: 0 / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7879, allocations: 334.8 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7881, allocations: 40 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.7882, allocations: 75.97 kB / 1.105 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.7884, allocations: 55.92 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.7884, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000395/0.7888, allocations: 156.7 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.898e-05/0.7889, allocations: 186 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.7889, allocations: 0 / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.789, allocations: 0.6562 kB / 1.105 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.7893, allocations: 45.72 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.7893, allocations: 4 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.7896, allocations: 27.83 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.7896, allocations: 4 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/0.7896, allocations: 5.562 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002871/0.7899, allocations: 99.97 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/0.7899, allocations: 4.031 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.7899, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.7902, allocations: 31.92 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.7902, allocations: 0 / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001847/0.7904, allocations: 16.5 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.7904, allocations: 4 kB / 1.106 GB, free: 10.25 MB / 0.7136 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 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.941e-05/0.7905, allocations: 120.8 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.7906, allocations: 24.17 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.7907, allocations: 17.78 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.7907, allocations: 4 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.7907, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.7907, allocations: 9.844 kB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007424/0.7915, allocations: 498.8 kB / 1.106 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.7915, allocations: 0 / 1.106 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003197/0.7918, allocations: 39.98 kB / 1.106 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7918, allocations: 7.875 kB / 1.106 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.7919, allocations: 0 / 1.106 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.7919, allocations: 3.906 kB / 1.106 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7919, allocations: 4 kB / 1.106 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005935/0.7925, allocations: 315.5 kB / 1.107 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.7926, allocations: 101.1 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.758e-05/0.7927, allocations: 5.297 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.7929, allocations: 15.98 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.793, allocations: 11.89 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.793, allocations: 0 / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0002129/0.7932, allocations: 160.5 kB / 1.107 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005093/0.7937, allocations: 75.69 kB / 1.107 GB, free: 8.793 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (freProTMix.con.I.y) * Number of discrete variables: 1 ($whenCondition1) * 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.0001538/0.7939, allocations: 103.2 kB / 1.107 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000507/0.7944, allocations: 177.2 kB / 1.107 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.7944, allocations: 4 kB / 1.107 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.7946, allocations: 59.92 kB / 1.107 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.7952, allocations: 40.77 kB / 1.107 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.7961, allocations: 282.5 kB / 1.108 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/0.7967, allocations: 0.7742 MB / 1.108 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/0.7967, allocations: 0 / 1.108 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of Templates: time 0.009496/0.8062, allocations: 2.796 MB / 1.111 GB, free: 4.598 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)