Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.412/1.412, allocations: 289.8 MB / 297 MB, free: 9.023 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.0009871/0.0009871, allocations: 181.3 kB / 366.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.147/1.147, allocations: 205.1 MB / 0.6256 GB, free: 11.41 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009101/0.0009101, allocations: 85.22 kB / 0.7396 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.4089/0.4098, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.5806, allocations: 116.3 MB / 0.9726 GB, free: 31.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/1.079, allocations: 142 MB / 1.111 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/1.079, allocations: 81.03 kB / 1.111 GB, free: 16.4 MB / 0.6823 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.02211/1.101, allocations: 9.371 MB / 1.121 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.101, allocations: 9.875 kB / 1.121 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/1.101, allocations: 71.47 kB / 1.121 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005673/1.102, allocations: 449.1 kB / 1.121 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.102, allocations: 16.19 kB / 1.121 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.24e-05/1.102, allocations: 32.19 kB / 1.121 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006186/1.103, allocations: 333.3 kB / 1.121 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007203/1.103, allocations: 446.3 kB / 1.122 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/1.103, allocations: 4 kB / 1.122 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/1.104, allocations: 5.734 kB / 1.122 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/1.104, allocations: 12.88 kB / 1.122 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/1.106, allocations: 1.653 MB / 1.124 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/1.107, allocations: 481.9 kB / 1.124 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002344/1.107, allocations: 164.6 kB / 1.124 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/1.107, allocations: 6.156 kB / 1.124 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/1.108, allocations: 226 kB / 1.124 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=37): time 1.914e-06/1.108, allocations: 0 / 1.124 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=37): time 0.0005337/1.108, allocations: 306 kB / 1.125 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/1.108, allocations: 160 kB / 1.125 GB, free: 14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/1.109, allocations: 343.5 kB / 1.125 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.109, allocations: 31.3 kB / 1.125 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/1.109, allocations: 240.1 kB / 1.125 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/1.109, allocations: 112 kB / 1.125 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.723e-05/1.109, allocations: 1.406 kB / 1.125 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.466e-05/1.109, allocations: 354.8 kB / 1.126 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001917/1.109, allocations: 108.7 kB / 1.126 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/1.109, allocations: 191.4 kB / 1.126 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/1.11, allocations: 125.5 kB / 1.126 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.11, allocations: 0 / 1.126 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005277/1.11, allocations: 345.1 kB / 1.127 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/1.11, allocations: 366.6 kB / 1.127 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.11, allocations: 2.328 kB / 1.127 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.11, allocations: 2.375 kB / 1.127 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003941/1.111, allocations: 93.31 kB / 1.127 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/1.111, allocations: 3.422 kB / 1.127 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/1.111, allocations: 78.22 kB / 1.127 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/1.111, allocations: 15.16 kB / 1.127 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.56e-06/1.111, allocations: 7.781 kB / 1.127 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004209/1.112, allocations: 256.3 kB / 1.127 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/1.112, allocations: 1.734 kB / 1.127 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.359e-06/1.112, allocations: 3.906 kB / 1.127 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/1.112, allocations: 80.48 kB / 1.127 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.105e-06/1.112, allocations: 3.5 kB / 1.127 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/1.112, allocations: 58.45 kB / 1.128 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/1.112, allocations: 12.66 kB / 1.128 GB, free: 12.71 MB / 0.6823 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 8.517e-05/1.112, allocations: 110.6 kB / 1.128 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/1.112, allocations: 48.53 kB / 1.128 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005672/1.113, allocations: 324.3 kB / 1.128 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/1.113, allocations: 4.438 kB / 1.128 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.113, allocations: 3.906 kB / 1.128 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/1.113, allocations: 5.547 kB / 1.128 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009913/1.114, allocations: 0.9741 MB / 1.129 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.114, allocations: 1.688 kB / 1.129 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/1.114, allocations: 84.83 kB / 1.129 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/1.114, allocations: 1.219 kB / 1.129 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.524e-05/1.114, allocations: 2.625 kB / 1.129 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.114, allocations: 9.266 kB / 1.129 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.114, allocations: 1.344 kB / 1.129 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006969/1.115, allocations: 0.5894 MB / 1.13 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009343/1.116, allocations: 1.128 MB / 1.131 GB, free: 11.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.014e-05/1.116, allocations: 128.6 kB / 1.131 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.177e-05/1.116, allocations: 5.156 kB / 1.131 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003134/1.117, allocations: 49.52 kB / 1.131 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/1.117, allocations: 34.05 kB / 1.131 GB, free: 11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/1.117, allocations: 7.688 kB / 1.131 GB, free: 11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002511/1.117, allocations: 269 kB / 1.131 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001717/1.119, allocations: 177.9 kB / 1.131 GB, free: 10.84 MB / 0.6823 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.00014/1.119, allocations: 110.9 kB / 1.131 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006863/1.119, allocations: 453.1 kB / 1.132 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.119, allocations: 1.688 kB / 1.132 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/1.12, allocations: 153.1 kB / 1.132 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/1.12, allocations: 74.62 kB / 1.132 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/1.122, allocations: 0.6491 MB / 1.133 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005842/1.122, allocations: 0.9236 MB / 1.134 GB, free: 25.58 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.122, allocations: 4 kB / 1.134 GB, free: 25.58 MB / 0.698 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)