Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.234/1.234, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.8 kB / 316 MB, free: 7.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 0.5667 GB, free: 23.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009497/0.0009498, allocations: 93.94 kB / 0.671 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.2364/0.2374, allocations: 112.5 MB / 0.7808 GB, free: 388 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.6812, allocations: 106.3 MB / 0.8847 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.8405, allocations: 136.2 MB / 1.018 GB, free: 3.836 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.8408, allocations: 99.92 kB / 1.018 GB, free: 3.738 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.01618/0.857, allocations: 6.451 MB / 1.024 GB, free: 13.24 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.857, allocations: 8 kB / 1.024 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.8571, allocations: 43.44 kB / 1.024 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.8576, allocations: 355.5 kB / 1.024 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8576, allocations: 8 kB / 1.024 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.8577, allocations: 16 kB / 1.025 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002939/0.858, allocations: 144.9 kB / 1.025 GB, free: 12.63 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.8583, allocations: 241.1 kB / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.8584, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.8584, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.8584, allocations: 4 kB / 1.025 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.8596, allocations: 0.9291 MB / 1.026 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004238/0.8601, allocations: 186.8 kB / 1.026 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.8602, allocations: 72.77 kB / 1.026 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.8603, allocations: 0 / 1.026 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.8603, allocations: 38.56 kB / 1.026 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.8603, allocations: 0 / 1.026 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.000361/0.8607, allocations: 173.5 kB / 1.026 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.8607, allocations: 162.2 kB / 1.026 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.861, allocations: 266.1 kB / 1.027 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.861, allocations: 25.7 kB / 1.027 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.189e-05/0.8611, allocations: 144.2 kB / 1.027 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.486e-05/0.8612, allocations: 59.19 kB / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.8612, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.8613, allocations: 338.8 kB / 1.027 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.335e-05/0.8614, allocations: 51.94 kB / 1.027 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001217/0.8615, allocations: 99.09 kB / 1.027 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.845e-05/0.8616, allocations: 47.98 kB / 1.027 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8616, allocations: 0 / 1.027 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002621/0.8619, allocations: 173.2 kB / 1.028 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.8619, allocations: 8 kB / 1.028 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.8619, allocations: 3.984 kB / 1.028 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.862, allocations: 0 / 1.028 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.8622, allocations: 47.97 kB / 1.028 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8622, allocations: 0 / 1.028 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.8624, allocations: 43.81 kB / 1.028 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.8625, allocations: 8 kB / 1.028 GB, free: 9.363 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.436e-05/0.8626, allocations: 111 kB / 1.028 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.917e-05/0.8626, allocations: 35.53 kB / 1.028 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.25e-05/0.8627, allocations: 34.92 kB / 1.028 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.8627, allocations: 3.984 kB / 1.028 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8627, allocations: 0 / 1.028 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8627, allocations: 0 / 1.028 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.8631, allocations: 337.8 kB / 1.028 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8631, allocations: 0 / 1.028 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.8633, allocations: 51.97 kB / 1.028 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.8633, allocations: 0 / 1.028 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.8634, allocations: 7.984 kB / 1.028 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8634, allocations: 0 / 1.028 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.8634, allocations: 0 / 1.028 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003039/0.8637, allocations: 286.4 kB / 1.028 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003898/0.8641, allocations: 0.6324 MB / 1.029 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.8642, allocations: 140.5 kB / 1.029 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.774e-05/0.8643, allocations: 8 kB / 1.029 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.8645, allocations: 27.98 kB / 1.029 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.742e-05/0.8646, allocations: 16 kB / 1.029 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.8646, allocations: 8 kB / 1.029 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001899/0.8648, allocations: 208.6 kB / 1.029 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008144/0.8656, allocations: 55.75 kB / 1.03 GB, free: 7.332 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001099/0.8657, allocations: 103.2 kB / 1.03 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.866, allocations: 123.9 kB / 1.03 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.866, allocations: 0 / 1.03 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8661, allocations: 75.92 kB / 1.03 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.8666, allocations: 70.72 kB / 1.03 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008387/0.8674, allocations: 334.2 kB / 1.03 GB, free: 6.605 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.8679, allocations: 0.8123 MB / 1.031 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of SimCode: time 3.327e-06/0.868, allocations: 0 / 1.031 GB, free: 5.766 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_maint.7.0.x_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)