Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009133/0.0009133, allocations: 189.2 kB / 361.1 MB, free: 7.102 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007612/0.0007613, allocations: 92.53 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1689/0.1697, allocations: 121.5 MB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.5966, allocations: 115.3 MB / 0.9638 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.7354, allocations: 142.7 MB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.7356, allocations: 103.4 kB / 1.103 GB, free: 13.14 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.02146/0.7571, allocations: 9.165 MB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.7572, allocations: 12.5 kB / 1.112 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.7573, allocations: 55.34 kB / 1.112 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006703/0.758, allocations: 473.3 kB / 1.113 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.758, allocations: 8 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.758, allocations: 27.84 kB / 1.113 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003999/0.7585, allocations: 209.3 kB / 1.113 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/0.759, allocations: 343.5 kB / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.759, allocations: 0 / 1.113 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.759, allocations: 7.984 kB / 1.113 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.759, allocations: 9.688 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.7608, allocations: 1.506 MB / 1.115 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.7613, allocations: 252.1 kB / 1.115 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.7614, allocations: 101.3 kB / 1.115 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.7615, allocations: 7.859 kB / 1.115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.7615, allocations: 34.56 kB / 1.115 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.7615, allocations: 0 / 1.115 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.000444/0.762, allocations: 247.5 kB / 1.115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.762, allocations: 166.2 kB / 1.115 GB, free: 420 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.7624, allocations: 337.1 kB / 1.116 GB, free: 80 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.7624, allocations: 29.69 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.7625, allocations: 188.2 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.7626, allocations: 74.83 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.321e-05/0.7626, allocations: 0 / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.7628, allocations: 358.5 kB / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.7629, allocations: 80 kB / 1.117 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.7631, allocations: 170.7 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.7633, allocations: 103.9 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7633, allocations: 3.938 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004317/0.7637, allocations: 285 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.7637, allocations: 6.344 kB / 1.117 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7637, allocations: 7.938 kB / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.7638, allocations: 0 / 1.117 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.7641, allocations: 76.14 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.7641, allocations: 10.67 kB / 1.117 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.7644, allocations: 43.81 kB / 1.117 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.7644, allocations: 8 kB / 1.117 GB, free: 14.61 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.372e-05/0.7645, allocations: 120.8 kB / 1.117 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.798e-05/0.7646, allocations: 49.19 kB / 1.117 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.7647, allocations: 43.8 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7647, allocations: 4 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.7647, allocations: 0 / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7647, allocations: 3.984 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.7652, allocations: 433.6 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.7652, allocations: 0 / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.7655, allocations: 59.95 kB / 1.118 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.7655, allocations: 4 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.7655, allocations: 0 / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.7655, allocations: 0 / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7655, allocations: 3.938 kB / 1.118 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006008/0.7661, allocations: 491.7 kB / 1.118 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008493/0.767, allocations: 0.9855 MB / 1.119 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.7672, allocations: 152.4 kB / 1.119 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.7672, allocations: 4 kB / 1.119 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.7675, allocations: 28.11 kB / 1.119 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.7676, allocations: 24 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.7676, allocations: 4 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002603/0.7679, allocations: 271.1 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008536/0.7687, allocations: 75.69 kB / 1.12 GB, free: 11.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.0001095/0.7688, allocations: 103 kB / 1.12 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.7692, allocations: 223.1 kB / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7692, allocations: 0 / 1.12 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.7694, allocations: 107.9 kB / 1.12 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.7699, allocations: 105.2 kB / 1.12 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.771, allocations: 0.5131 MB / 1.121 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.7715, allocations: 0.869 MB / 1.122 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.7715, allocations: 0 / 1.122 GB, free: 9.84 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)