Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.22/2.22, allocations: 284.8 MB / 292.1 MB, free: 9.824 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.001583/0.001583, allocations: 182.9 kB / 360.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.739/1.739, allocations: 205.1 MB / 0.6187 GB, free: 3.301 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001223, allocations: 98.52 kB / 0.7317 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5554/0.5566, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.7516, allocations: 115.2 MB / 0.9628 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6354/1.387, allocations: 142.5 MB / 1.102 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/1.387, allocations: 93.92 kB / 1.102 GB, free: 32.88 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.03427/1.422, allocations: 9.171 MB / 1.111 GB, free: 31.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/1.422, allocations: 11.16 kB / 1.111 GB, free: 31.86 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001318/1.422, allocations: 52.53 kB / 1.111 GB, free: 31.83 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009407/1.423, allocations: 473.9 kB / 1.111 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/1.423, allocations: 7.75 kB / 1.112 GB, free: 31.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.346e-05/1.423, allocations: 19.41 kB / 1.112 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000656/1.424, allocations: 215.9 kB / 1.112 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/1.424, allocations: 336.3 kB / 1.112 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.424, allocations: 0 / 1.112 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.983e-05/1.424, allocations: 4 kB / 1.112 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/1.424, allocations: 7.75 kB / 1.112 GB, free: 31.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/1.427, allocations: 1.513 MB / 1.114 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/1.428, allocations: 246.9 kB / 1.114 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/1.428, allocations: 108.7 kB / 1.114 GB, free: 30.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/1.428, allocations: 7.609 kB / 1.114 GB, free: 30.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/1.428, allocations: 38.38 kB / 1.114 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.675e-06/1.428, allocations: 0 / 1.114 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.000666/1.429, allocations: 246.7 kB / 1.114 GB, free: 30.48 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/1.429, allocations: 162.1 kB / 1.114 GB, free: 30.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005122/1.429, allocations: 341.4 kB / 1.115 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.73e-05/1.429, allocations: 25.7 kB / 1.115 GB, free: 30.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/1.43, allocations: 186.2 kB / 1.115 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/1.43, allocations: 75.45 kB / 1.115 GB, free: 29.97 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/1.43, allocations: 0 / 1.115 GB, free: 29.97 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/1.43, allocations: 355.8 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/1.43, allocations: 81.5 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002992/1.43, allocations: 165.7 kB / 1.115 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/1.431, allocations: 110.3 kB / 1.116 GB, free: 29.55 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.808e-06/1.431, allocations: 7.906 kB / 1.116 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006741/1.431, allocations: 287 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.431, allocations: 7.75 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.431, allocations: 0 / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.431, allocations: 3.875 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006072/1.432, allocations: 79.28 kB / 1.116 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/1.432, allocations: 3.969 kB / 1.116 GB, free: 29.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/1.432, allocations: 42.84 kB / 1.116 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/1.432, allocations: 7.75 kB / 1.116 GB, free: 29.45 MB / 0.7136 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.0001155/1.433, allocations: 116.5 kB / 1.116 GB, free: 29.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/1.433, allocations: 50.72 kB / 1.116 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/1.433, allocations: 44.12 kB / 1.116 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/1.433, allocations: 3.906 kB / 1.116 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.433, allocations: 0 / 1.116 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/1.433, allocations: 3.875 kB / 1.116 GB, free: 29.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006023/1.434, allocations: 429 kB / 1.117 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.434, allocations: 0 / 1.117 GB, free: 29.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/1.434, allocations: 65.5 kB / 1.117 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.434, allocations: 0 / 1.117 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/1.434, allocations: 11.3 kB / 1.117 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.434, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/1.434, allocations: 0 / 1.117 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000978/1.435, allocations: 494.5 kB / 1.117 GB, free: 28.96 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001295/1.437, allocations: 0.9807 MB / 1.118 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/1.437, allocations: 151.7 kB / 1.118 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/1.437, allocations: 3.625 kB / 1.118 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/1.437, allocations: 36.05 kB / 1.118 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.352e-05/1.437, allocations: 12.98 kB / 1.118 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/1.438, allocations: 7.5 kB / 1.118 GB, free: 44.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0004108/1.438, allocations: 266.1 kB / 1.119 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001363/1.439, allocations: 73.88 kB / 1.119 GB, free: 44.2 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.000172/1.439, allocations: 108.7 kB / 1.119 GB, free: 44.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005659/1.44, allocations: 213.5 kB / 1.119 GB, free: 44.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.44, allocations: 0 / 1.119 GB, free: 44.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002617/1.44, allocations: 108.6 kB / 1.119 GB, free: 44.09 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/1.441, allocations: 108.9 kB / 1.119 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001597/1.443, allocations: 0.5172 MB / 1.12 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/1.444, allocations: 0.8779 MB / 1.121 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of SimCode: time 1.011e-06/1.444, allocations: 0 / 1.121 GB, free: 43.14 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)