Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.408/3.408, allocations: 284.8 MB / 292.1 MB, free: 9.906 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.003194/0.003193, allocations: 183.1 kB / 360.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.43/2.43, allocations: 205.2 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.001337/0.001337, allocations: 89.08 kB / 0.7317 GB, free: 1.801 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6143/0.6156, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.8675, allocations: 115.3 MB / 0.9628 GB, free: 56.96 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8598/1.727, allocations: 140.9 MB / 1.1 GB, free: 33.05 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005569/1.728, allocations: 79.59 kB / 1.1 GB, free: 33.05 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.07489/1.803, allocations: 9.369 MB / 1.11 GB, free: 32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.597e-05/1.803, allocations: 11.12 kB / 1.11 GB, free: 32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/1.804, allocations: 72.09 kB / 1.11 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/1.806, allocations: 449.5 kB / 1.11 GB, free: 31.69 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.092e-05/1.806, allocations: 14.75 kB / 1.11 GB, free: 31.69 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/1.806, allocations: 29.56 kB / 1.11 GB, free: 31.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002379/1.809, allocations: 342.6 kB / 1.11 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/1.811, allocations: 445.8 kB / 1.111 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.025e-05/1.811, allocations: 3.938 kB / 1.111 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000282/1.811, allocations: 224 / 1.111 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/1.811, allocations: 11.62 kB / 1.111 GB, free: 31.61 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008535/1.82, allocations: 1.657 MB / 1.113 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/1.824, allocations: 476.2 kB / 1.113 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008799/1.825, allocations: 157.8 kB / 1.113 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.7e-05/1.825, allocations: 11.36 kB / 1.113 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009522/1.826, allocations: 226.4 kB / 1.113 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 9.558e-06/1.826, allocations: 3.938 kB / 1.113 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.001826/1.828, allocations: 302.2 kB / 1.114 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.939e-05/1.828, allocations: 158.1 kB / 1.114 GB, free: 30.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/1.829, allocations: 342.2 kB / 1.114 GB, free: 30.58 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001849/1.829, allocations: 33.42 kB / 1.114 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/1.83, allocations: 241.7 kB / 1.114 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.83, allocations: 110.1 kB / 1.114 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/1.83, allocations: 0 / 1.114 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.83, allocations: 354.7 kB / 1.115 GB, free: 30 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/1.831, allocations: 105.1 kB / 1.115 GB, free: 30 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/1.832, allocations: 195.3 kB / 1.115 GB, free: 29.92 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/1.832, allocations: 117.2 kB / 1.115 GB, free: 29.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/1.832, allocations: 0 / 1.115 GB, free: 29.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001531/1.834, allocations: 346.1 kB / 1.116 GB, free: 29.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.834, allocations: 373.6 kB / 1.116 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/1.834, allocations: 0 / 1.116 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.603e-05/1.834, allocations: 10.19 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/1.835, allocations: 83.23 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.835, allocations: 5.844 kB / 1.116 GB, free: 29.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/1.836, allocations: 81.53 kB / 1.116 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/1.837, allocations: 10.03 kB / 1.116 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/1.837, allocations: 3.812 kB / 1.116 GB, free: 29.45 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001272/1.838, allocations: 258.8 kB / 1.116 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.838, allocations: 7.812 kB / 1.116 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.838, allocations: 0 / 1.116 GB, free: 29.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/1.839, allocations: 72.38 kB / 1.116 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/1.839, allocations: 6.391 kB / 1.116 GB, free: 29.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/1.84, allocations: 58.67 kB / 1.116 GB, free: 29.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.471e-05/1.84, allocations: 15.47 kB / 1.116 GB, free: 29.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002837/1.841, allocations: 117.5 kB / 1.117 GB, free: 29.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/1.841, allocations: 42.88 kB / 1.117 GB, free: 29.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.842, allocations: 322.8 kB / 1.117 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/1.842, allocations: 3.938 kB / 1.117 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/1.842, allocations: 7.875 kB / 1.117 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/1.843, allocations: 6.328 kB / 1.117 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/1.846, allocations: 0.9789 MB / 1.118 GB, free: 28.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.846, allocations: 0 / 1.118 GB, free: 28.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.847, allocations: 84.59 kB / 1.118 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.727e-05/1.847, allocations: 0 / 1.118 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/1.848, allocations: 7.625 kB / 1.118 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.191e-05/1.848, allocations: 2.953 kB / 1.118 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.912e-06/1.848, allocations: 0 / 1.118 GB, free: 28.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002331/1.85, allocations: 0.5916 MB / 1.119 GB, free: 28.62 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002986/1.853, allocations: 1.135 MB / 1.12 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/1.853, allocations: 126 kB / 1.12 GB, free: 43.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/1.854, allocations: 7.656 kB / 1.12 GB, free: 43.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.855, allocations: 50.06 kB / 1.12 GB, free: 43.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/1.855, allocations: 25.88 kB / 1.12 GB, free: 43.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/1.855, allocations: 13.98 kB / 1.12 GB, free: 43.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0008324/1.856, allocations: 265.3 kB / 1.12 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004962/1.861, allocations: 178 kB / 1.12 GB, free: 43.8 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.000492/1.862, allocations: 98.81 kB / 1.12 GB, free: 43.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00267/1.864, allocations: 465.4 kB / 1.121 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.279e-05/1.864, allocations: 0 / 1.121 GB, free: 43.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.867, allocations: 155.6 kB / 1.121 GB, free: 43.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/1.87, allocations: 79.59 kB / 1.121 GB, free: 43.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006495/1.877, allocations: 0.6368 MB / 1.122 GB, free: 43.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/1.879, allocations: 0.9268 MB / 1.123 GB, free: 42.69 MB / 0.7292 GB Notification: Performance of SimCode: time 2.604e-06/1.879, allocations: 0 / 1.123 GB, free: 42.69 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)