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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir",fmuType="me",version="2.0",platforms={"static"}) [: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.389/1.389, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001138/0.001138, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.112/1.112, allocations: 205.1 MB / 0.6256 GB, free: 7.477 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.0008526/0.0008526, allocations: 90.25 kB / 0.7396 GB, free: 39.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1976/0.1985, allocations: 122.4 MB / 0.8591 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4423/0.6408, allocations: 116.3 MB / 0.9727 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.7798, allocations: 139.6 MB / 1.109 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001695/0.78, allocations: 68.66 kB / 1.109 GB, free: 10.86 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.01015/0.7902, allocations: 4.236 MB / 1.113 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7903, allocations: 8 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.7903, allocations: 27.62 kB / 1.113 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.7907, allocations: 279.6 kB / 1.113 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.7907, allocations: 8 kB / 1.113 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.7908, allocations: 15.91 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002689/0.791, allocations: 124.9 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003169/0.7914, allocations: 197 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.7914, allocations: 4 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.7914, allocations: 3.984 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.7914, allocations: 4 kB / 1.114 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.7926, allocations: 0.8077 MB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/0.7934, allocations: 314.7 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.7936, allocations: 68.86 kB / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.7936, allocations: 0 / 1.115 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.7937, allocations: 101 kB / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.7937, allocations: 0 / 1.115 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0002787/0.794, allocations: 144.3 kB / 1.115 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.7941, allocations: 81.11 kB / 1.115 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.7943, allocations: 200.6 kB / 1.115 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.7943, allocations: 29.7 kB / 1.115 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.7944, allocations: 144.1 kB / 1.116 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.7944, allocations: 47.36 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/0.7944, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.7946, allocations: 326.8 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.7946, allocations: 40.56 kB / 1.116 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.7947, allocations: 83.33 kB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.7948, allocations: 55.92 kB / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7948, allocations: 0 / 1.116 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002437/0.7951, allocations: 153.4 kB / 1.116 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-05/0.7952, allocations: 191.1 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.7952, allocations: 1.125 kB / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.7952, allocations: 0 / 1.116 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.7954, allocations: 35.97 kB / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7954, allocations: 0 / 1.117 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7956, allocations: 31.83 kB / 1.117 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.7956, allocations: 4 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.7956, allocations: 4 kB / 1.117 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001751/0.7958, allocations: 99.92 kB / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.7958, allocations: 0 / 1.117 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-06/0.7958, allocations: 3.984 kB / 1.117 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7959, allocations: 31.97 kB / 1.117 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.7959, allocations: 3.984 kB / 1.117 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.796, allocations: 20.5 kB / 1.117 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.7961, allocations: 6.375 kB / 1.117 GB, free: 2.805 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 6.487e-05/0.7961, allocations: 105 kB / 1.117 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.7962, allocations: 23.72 kB / 1.117 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.7962, allocations: 21.77 kB / 1.117 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7962, allocations: 4 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.7962, allocations: 0 / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7962, allocations: 0.5625 kB / 1.117 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004566/0.7967, allocations: 0.4961 MB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.7967, allocations: 4 kB / 1.117 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.7969, allocations: 35.97 kB / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7969, allocations: 0 / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.7969, allocations: 0 / 1.117 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.7969, allocations: 8.656 kB / 1.117 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.7969, allocations: 3.938 kB / 1.117 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003508/0.7973, allocations: 313.4 kB / 1.118 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005046/0.7978, allocations: 0.7488 MB / 1.118 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.7979, allocations: 101.1 kB / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.7979, allocations: 0 / 1.119 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.7981, allocations: 19.89 kB / 1.119 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.7981, allocations: 10.19 kB / 1.119 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.7981, allocations: 8.609 kB / 1.119 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001279/0.7982, allocations: 156.5 kB / 1.119 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001535/0.7998, allocations: 75.58 kB / 1.119 GB, free: 0.5977 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.0001156/0.7999, allocations: 103.2 kB / 1.119 GB, free: 500 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002846/0.8002, allocations: 185.2 kB / 1.119 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8002, allocations: 0 / 1.119 GB, free: 312 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.8003, allocations: 61.81 kB / 1.119 GB, free: 252 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.8006, allocations: 36.77 kB / 1.119 GB, free: 212 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.8012, allocations: 285.6 kB / 1.119 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.8016, allocations: 0.7789 MB / 1.12 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/0.8016, allocations: 0 / 1.12 GB, free: 15.1 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_Validation_FreezeProtectionMixedAir.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.Validation.FreezeProtectionMixedAir.pipe 2>&1)