Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.366/1.366, allocations: 289.8 MB / 297.1 MB, free: 6.652 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 180.1 kB / 366.3 MB, free: 1.973 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.094/1.094, allocations: 205.1 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007669/0.0007672, allocations: 87.09 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.111e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4363/0.4364, allocations: 116.3 MB / 0.9726 GB, free: 68.38 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5798, allocations: 139.6 MB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.58, allocations: 79.52 kB / 1.109 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.009121/0.5892, allocations: 3.729 MB / 1.113 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.5892, allocations: 4 kB / 1.113 GB, free: 5.09 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.0005945/0.5898, allocations: 0.4942 MB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.5899, allocations: 11.97 kB / 1.113 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.738e-05/0.5899, allocations: 31.62 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.5903, allocations: 276.6 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5903, allocations: 12 kB / 1.113 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.5903, allocations: 15.91 kB / 1.113 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002543/0.5906, allocations: 128.9 kB / 1.114 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.5909, allocations: 189 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.5909, allocations: 7.938 kB / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.591, allocations: 0 / 1.114 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.591, allocations: 4 kB / 1.114 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.5921, allocations: 0.8065 MB / 1.114 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.5929, allocations: 299.3 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.593, allocations: 69.89 kB / 1.115 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.593, allocations: 8 kB / 1.115 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.5931, allocations: 100.9 kB / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5932, allocations: 0 / 1.115 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002733/0.5934, allocations: 153.5 kB / 1.115 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.5935, allocations: 77.11 kB / 1.115 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.5937, allocations: 199.9 kB / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.5937, allocations: 25.7 kB / 1.115 GB, free: 2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.5938, allocations: 144.2 kB / 1.116 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.5938, allocations: 43.36 kB / 1.116 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.5938, allocations: 0 / 1.116 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5939, allocations: 335.5 kB / 1.116 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.359e-05/0.594, allocations: 44 kB / 1.116 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/0.5941, allocations: 75.34 kB / 1.116 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.32e-05/0.5942, allocations: 49.33 kB / 1.116 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5942, allocations: 4.031 kB / 1.116 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002602/0.5945, allocations: 158.1 kB / 1.116 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.179e-05/0.5946, allocations: 181.9 kB / 1.116 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5946, allocations: 1.125 kB / 1.116 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.5946, allocations: 4 kB / 1.116 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.5948, allocations: 47.94 kB / 1.116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5948, allocations: 0 / 1.116 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.5949, allocations: 27.83 kB / 1.116 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.5949, allocations: 8 kB / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-06/0.595, allocations: 0 / 1.116 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001643/0.5951, allocations: 101.9 kB / 1.117 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-06/0.5951, allocations: 0 / 1.117 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.5951, allocations: 4 kB / 1.117 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.5953, allocations: 31.92 kB / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-06/0.5953, allocations: 0 / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.608e-05/0.5954, allocations: 20.53 kB / 1.117 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.5954, allocations: 4 kB / 1.117 GB, free: 0.6992 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 7.054e-05/0.5955, allocations: 109 kB / 1.117 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.5955, allocations: 23.72 kB / 1.117 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/0.5956, allocations: 17.78 kB / 1.117 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.5956, allocations: 0 / 1.117 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5956, allocations: 7.938 kB / 1.117 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.5956, allocations: 5.016 kB / 1.117 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.5961, allocations: 0.491 MB / 1.117 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.5961, allocations: 0 / 1.117 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.5963, allocations: 31.98 kB / 1.117 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5963, allocations: 4 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5963, allocations: 3.938 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.5963, allocations: 7.844 kB / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5963, allocations: 0 / 1.117 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003532/0.5967, allocations: 317.8 kB / 1.118 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.5967, allocations: 101 kB / 1.118 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.5968, allocations: 0 / 1.118 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.5969, allocations: 13.39 kB / 1.118 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.597, allocations: 11.95 kB / 1.118 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.597, allocations: 12 kB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001188/0.5971, allocations: 160.5 kB / 1.118 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003319/0.5974, allocations: 63.69 kB / 1.118 GB, free: 15.26 MB / 0.7292 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.0001116/0.5976, allocations: 120.7 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.5979, allocations: 173.2 kB / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5979, allocations: 0 / 1.118 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.394e-05/0.5979, allocations: 63.92 kB / 1.118 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003031/0.5983, allocations: 47.78 kB / 1.118 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005939/0.5989, allocations: 289.5 kB / 1.119 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003458/0.5992, allocations: 0.7742 MB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.5992, allocations: 0 / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of Templates: time 0.005635/0.6049, allocations: 2.771 MB / 1.122 GB, free: 11.05 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)