Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.126/2.126, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001621/0.001621, allocations: 181.3 kB / 360.4 MB, free: 7.496 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.698/1.698, 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.001243/0.001242, allocations: 96.64 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.323e-06, allocations: 0 / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5536/0.5536, allocations: 115.2 MB / 0.9628 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/0.767, allocations: 142.5 MB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/0.7674, allocations: 97.28 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03545/0.8029, allocations: 8.47 MB / 1.11 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.832e-05/0.803, allocations: 11.94 kB / 1.11 GB, free: 5.789 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.001417/0.8044, allocations: 0.6888 MB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.8045, allocations: 8.531 kB / 1.111 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.8046, allocations: 55.34 kB / 1.111 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.8057, allocations: 473.3 kB / 1.112 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.8057, allocations: 12 kB / 1.112 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.8058, allocations: 19.91 kB / 1.112 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007154/0.8066, allocations: 213.3 kB / 1.112 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008757/0.8074, allocations: 335.5 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.8075, allocations: 0 / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/0.8075, allocations: 0 / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.8076, allocations: 8 kB / 1.112 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003352/0.8109, allocations: 1.516 MB / 1.114 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009099/0.8119, allocations: 252.3 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.8123, allocations: 105.3 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.8123, allocations: 3.859 kB / 1.114 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.8124, allocations: 34.56 kB / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 3.326e-06/0.8124, allocations: 0 / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.0008838/0.8133, allocations: 249.6 kB / 1.114 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.671e-05/0.8134, allocations: 158.2 kB / 1.114 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.8141, allocations: 337.1 kB / 1.115 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.224e-05/0.8142, allocations: 33.7 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.8144, allocations: 188.2 kB / 1.115 GB, free: 0.8867 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.8145, allocations: 74.81 kB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.8145, allocations: 0 / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.8147, allocations: 358.8 kB / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.815, allocations: 80.66 kB / 1.115 GB, free: 384 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.8154, allocations: 165.9 kB / 1.116 GB, free: 184 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.8158, allocations: 101.6 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8158, allocations: 7.938 kB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009047/0.8167, allocations: 292.8 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8167, allocations: 4 kB / 1.116 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.8168, allocations: 4 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.8168, allocations: 1.406 kB / 1.116 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.8175, allocations: 80.08 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8175, allocations: 4 kB / 1.116 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.8181, allocations: 43.81 kB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.8182, allocations: 8 kB / 1.116 GB, free: 15.64 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 0.0001657/0.8183, allocations: 128.3 kB / 1.116 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.8185, allocations: 47.42 kB / 1.116 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.8187, allocations: 39.8 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8187, allocations: 8 kB / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.8187, allocations: 0 / 1.116 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.8187, allocations: 3.984 kB / 1.116 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007356/0.8195, allocations: 431.8 kB / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8195, allocations: 0 / 1.117 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/0.8201, allocations: 67.89 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.8202, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.8202, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.8202, allocations: 6.344 kB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8202, allocations: 0 / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001136/0.8214, allocations: 489.3 kB / 1.117 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.8216, allocations: 152.4 kB / 1.117 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.59e-05/0.8218, allocations: 8.062 kB / 1.117 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.8223, allocations: 35.97 kB / 1.117 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/0.8224, allocations: 11.97 kB / 1.117 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.8224, allocations: 9.625 kB / 1.117 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005025/0.8229, allocations: 263.2 kB / 1.118 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000555/0.8235, allocations: 71.69 kB / 1.118 GB, free: 13.84 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.000181/0.8237, allocations: 103.2 kB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006543/0.8244, allocations: 216.2 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.8244, allocations: 4.062 kB / 1.118 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/0.8248, allocations: 107.9 kB / 1.118 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.8258, allocations: 100.7 kB / 1.118 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.8276, allocations: 0.5112 MB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006573/0.8283, allocations: 0.8638 MB / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.8283, allocations: 0 / 1.12 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of Templates: time 0.01477/0.8431, allocations: 4.532 MB / 1.124 GB, free: 7.492 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)