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: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [: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.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001075/0.001074, allocations: 181.3 kB / 361.1 MB, free: 7.098 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.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008042/0.0008045, allocations: 91.41 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.189e-06/5.219e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4505, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.5942, allocations: 142.7 MB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.5944, allocations: 94.03 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02131/0.6158, allocations: 8.474 MB / 1.111 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.185e-05/0.6158, allocations: 11.94 kB / 1.111 GB, free: 4.824 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.0009085/0.6167, allocations: 0.6771 MB / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.6168, allocations: 8.531 kB / 1.112 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001116/0.6169, allocations: 60.34 kB / 1.112 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006821/0.6176, allocations: 477.3 kB / 1.113 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.6176, allocations: 8 kB / 1.113 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.98e-05/0.6177, allocations: 23.91 kB / 1.113 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000409/0.6181, allocations: 209.3 kB / 1.113 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000478/0.6186, allocations: 343.5 kB / 1.113 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6186, allocations: 0 / 1.113 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.6186, allocations: 0 / 1.113 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.6186, allocations: 8 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.6204, allocations: 1.506 MB / 1.115 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.6209, allocations: 251 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.6211, allocations: 111.4 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.6211, allocations: 11.84 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.6212, allocations: 34.56 kB / 1.115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.6212, allocations: 0 / 1.115 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0004518/0.6216, allocations: 250 kB / 1.115 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.535e-05/0.6217, allocations: 158.2 kB / 1.115 GB, free: 492 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.6221, allocations: 337.1 kB / 1.116 GB, free: 152 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.6221, allocations: 25.7 kB / 1.116 GB, free: 120 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.6222, allocations: 196.2 kB / 1.116 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-05/0.6223, allocations: 74.81 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/0.6223, allocations: 1.312 kB / 1.116 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6224, allocations: 354.8 kB / 1.116 GB, free: 15.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.6226, allocations: 76 kB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.6228, allocations: 174.7 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.6229, allocations: 103.8 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.6229, allocations: 0 / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00043/0.6234, allocations: 288.9 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.6234, allocations: 4 kB / 1.117 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6234, allocations: 4 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6234, allocations: 3.984 kB / 1.117 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.6238, allocations: 80.08 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.6238, allocations: 4 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00028/0.6241, allocations: 39.83 kB / 1.117 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.6241, allocations: 13.94 kB / 1.117 GB, free: 14.68 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.5e-05/0.6242, allocations: 117.7 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.6243, allocations: 47.44 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.083e-05/0.6244, allocations: 39.8 kB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6244, allocations: 7.984 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6244, allocations: 0 / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6244, allocations: 4 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.6248, allocations: 433.4 kB / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6248, allocations: 0 / 1.118 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003188/0.6252, allocations: 65.77 kB / 1.118 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.6252, allocations: 4 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.6252, allocations: 3.984 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.6252, allocations: 0 / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6252, allocations: 4 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006122/0.6258, allocations: 485.1 kB / 1.118 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.626, allocations: 152.5 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.6261, allocations: 3.984 kB / 1.118 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.6264, allocations: 32.05 kB / 1.118 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.6264, allocations: 15.97 kB / 1.118 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.6264, allocations: 8 kB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002582/0.6267, allocations: 263.2 kB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003312/0.627, allocations: 75.67 kB / 1.119 GB, free: 12.88 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.0001121/0.6272, allocations: 107 kB / 1.119 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.6275, allocations: 213.9 kB / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6275, allocations: 0 / 1.119 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.6277, allocations: 112.2 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/0.6283, allocations: 113.9 kB / 1.119 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.6293, allocations: 0.4998 MB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.6298, allocations: 0.8651 MB / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of SimCode: time 2.8e-07/0.6298, allocations: 0 / 1.121 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of Templates: time 0.008067/0.6379, allocations: 4.531 MB / 1.125 GB, free: 6.535 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)