Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",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 3.008/3.008, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001698/0.001697, allocations: 185.2 kB / 360.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.002041/0.00204, allocations: 84.27 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.335/0.3371, allocations: 121.4 MB / 0.8502 GB, free: 3.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7439/1.081, allocations: 115.2 MB / 0.9627 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3218/1.403, allocations: 141.1 MB / 1.1 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004848/1.403, allocations: 86.38 kB / 1.101 GB, free: 15.72 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.03659/1.44, allocations: 7.799 MB / 1.108 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.44, allocations: 8 kB / 1.108 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/1.44, allocations: 55.34 kB / 1.108 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/1.442, allocations: 396 kB / 1.109 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/1.442, allocations: 12 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/1.442, allocations: 28 kB / 1.109 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009788/1.443, allocations: 277.9 kB / 1.109 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/1.444, allocations: 360.2 kB / 1.109 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/1.444, allocations: 3.938 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/1.444, allocations: 2.625 kB / 1.109 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.444, allocations: 12 kB / 1.109 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/1.447, allocations: 1.264 MB / 1.111 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/1.448, allocations: 244 kB / 1.111 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/1.449, allocations: 117.3 kB / 1.111 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/1.449, allocations: 8.297 kB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004442/1.449, allocations: 191.7 kB / 1.111 GB, free: 4.875 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.286e-06/1.449, allocations: 4 kB / 1.111 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.000922/1.45, allocations: 237.3 kB / 1.111 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.45, allocations: 162.2 kB / 1.111 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/1.451, allocations: 251.4 kB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/1.451, allocations: 25.7 kB / 1.112 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/1.451, allocations: 208 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/1.451, allocations: 90.66 kB / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/1.452, allocations: 0 / 1.112 GB, free: 3.863 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.452, allocations: 338.8 kB / 1.112 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003803/1.452, allocations: 109.2 kB / 1.112 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/1.453, allocations: 167.1 kB / 1.113 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/1.453, allocations: 124.2 kB / 1.113 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/1.453, allocations: 0 / 1.113 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00126/1.455, allocations: 350.7 kB / 1.113 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.455, allocations: 273.3 kB / 1.113 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.455, allocations: 8.062 kB / 1.113 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.455, allocations: 0 / 1.113 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/1.455, allocations: 59.91 kB / 1.113 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/1.455, allocations: 7.938 kB / 1.113 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/1.456, allocations: 79.64 kB / 1.113 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/1.456, allocations: 16.73 kB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/1.456, allocations: 4 kB / 1.113 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/1.457, allocations: 268.5 kB / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.457, allocations: 0 / 1.114 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/1.457, allocations: 4 kB / 1.114 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/1.458, allocations: 55.91 kB / 1.114 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.458, allocations: 8.062 kB / 1.114 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007107/1.459, allocations: 67.7 kB / 1.114 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/1.459, allocations: 22.83 kB / 1.114 GB, free: 1.891 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0002082/1.459, allocations: 112.7 kB / 1.114 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/1.459, allocations: 27.62 kB / 1.114 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009324/1.46, allocations: 291 kB / 1.114 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.46, allocations: 7.906 kB / 1.114 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/1.46, allocations: 0 / 1.114 GB, free: 1.445 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.46, allocations: 3.984 kB / 1.114 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/1.462, allocations: 0.7557 MB / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.462, allocations: 0 / 1.115 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/1.462, allocations: 55.91 kB / 1.115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/1.463, allocations: 4 kB / 1.115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/1.463, allocations: 4 kB / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/1.463, allocations: 0 / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.463, allocations: 0 / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001328/1.464, allocations: 0.5544 MB / 1.116 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001717/1.466, allocations: 1.035 MB / 1.117 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002045/1.466, allocations: 112.7 kB / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/1.466, allocations: 0 / 1.117 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/1.467, allocations: 31.47 kB / 1.117 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/1.467, allocations: 27.81 kB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/1.467, allocations: 8 kB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003404/1.467, allocations: 195.1 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00269/1.47, allocations: 171.2 kB / 1.117 GB, free: 14.34 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003561/1.47, allocations: 119.1 kB / 1.117 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001447/1.472, allocations: 473.8 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/1.472, allocations: 0 / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/1.472, allocations: 123.9 kB / 1.118 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/1.473, allocations: 57.81 kB / 1.118 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/1.475, allocations: 0.4905 MB / 1.118 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007792/1.476, allocations: 0.8627 MB / 1.119 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/1.476, allocations: 0 / 1.119 GB, free: 12.15 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)