Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 9.883 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.0009201/0.0009201, allocations: 191.5 kB / 361.1 MB, free: 352 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 2.914 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.0007547/0.0007547, allocations: 94.17 kB / 0.7326 GB, free: 1.059 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3404/0.3412, allocations: 121.4 MB / 0.8512 GB, free: 152 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.4803, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4074/0.8877, allocations: 141.1 MB / 1.102 GB, free: 23.98 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.8879, allocations: 81.39 kB / 1.102 GB, free: 23.98 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.01822/0.9061, allocations: 9.374 MB / 1.111 GB, free: 22.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.9062, allocations: 12.45 kB / 1.111 GB, free: 22.92 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.9063, allocations: 70.03 kB / 1.111 GB, free: 22.89 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.9068, allocations: 452.1 kB / 1.111 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.9068, allocations: 18.81 kB / 1.111 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.9069, allocations: 30.25 kB / 1.111 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005227/0.9074, allocations: 333.5 kB / 1.112 GB, free: 22.61 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.908, allocations: 439.2 kB / 1.112 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.908, allocations: 224 / 1.112 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.9081, allocations: 3.969 kB / 1.112 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.9081, allocations: 17.88 kB / 1.112 GB, free: 22.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.91, allocations: 1.654 MB / 1.114 GB, free: 22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.9109, allocations: 482.5 kB / 1.114 GB, free: 21.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.9111, allocations: 162.3 kB / 1.114 GB, free: 21.95 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.9111, allocations: 7.703 kB / 1.114 GB, free: 21.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.9114, allocations: 221 kB / 1.115 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.9114, allocations: 0 / 1.115 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=37): time 0.000442/0.9118, allocations: 305.6 kB / 1.115 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.9119, allocations: 166 kB / 1.115 GB, free: 21.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.9122, allocations: 344.2 kB / 1.115 GB, free: 21.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.9122, allocations: 25.7 kB / 1.115 GB, free: 21.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.519e-05/0.9123, allocations: 237.6 kB / 1.116 GB, free: 21.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.9123, allocations: 117.3 kB / 1.116 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.537e-05/0.9124, allocations: 0 / 1.116 GB, free: 21.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.9124, allocations: 352.3 kB / 1.116 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.9126, allocations: 104.4 kB / 1.116 GB, free: 36.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.9128, allocations: 195 kB / 1.116 GB, free: 36.85 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.913, allocations: 122 kB / 1.116 GB, free: 36.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.913, allocations: 4 kB / 1.116 GB, free: 36.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004253/0.9134, allocations: 341.5 kB / 1.117 GB, free: 36.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.9135, allocations: 374.5 kB / 1.117 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.9135, allocations: 0 / 1.117 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.9135, allocations: 3.875 kB / 1.117 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.9139, allocations: 87.84 kB / 1.117 GB, free: 36.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.9139, allocations: 7.844 kB / 1.117 GB, free: 36.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.9142, allocations: 74.52 kB / 1.117 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.9143, allocations: 13.67 kB / 1.117 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.558e-06/0.9143, allocations: 7.875 kB / 1.117 GB, free: 36.37 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003398/0.9146, allocations: 259 kB / 1.118 GB, free: 36.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-06/0.9146, allocations: 0 / 1.118 GB, free: 36.35 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.9146, allocations: 10.62 kB / 1.118 GB, free: 36.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.9149, allocations: 76.94 kB / 1.118 GB, free: 36.34 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.9149, allocations: 4.094 kB / 1.118 GB, free: 36.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.9152, allocations: 61.22 kB / 1.118 GB, free: 36.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.9152, allocations: 11.38 kB / 1.118 GB, free: 36.32 MB / 0.7292 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 9.815e-05/0.9153, allocations: 108.8 kB / 1.118 GB, free: 36.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.9154, allocations: 46.31 kB / 1.118 GB, free: 36.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.9158, allocations: 327.5 kB / 1.118 GB, free: 36.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9158, allocations: 3.812 kB / 1.118 GB, free: 36.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9159, allocations: 7.906 kB / 1.118 GB, free: 36.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.9159, allocations: 3.141 kB / 1.118 GB, free: 36.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000845/0.9167, allocations: 0.9742 MB / 1.119 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.9167, allocations: 0 / 1.119 GB, free: 35.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.9171, allocations: 87.12 kB / 1.119 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9171, allocations: 0 / 1.119 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.9171, allocations: 7 kB / 1.119 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9171, allocations: 0 / 1.119 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9171, allocations: 0 / 1.119 GB, free: 35.75 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006093/0.9177, allocations: 0.5901 MB / 1.12 GB, free: 35.56 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008931/0.9186, allocations: 1.136 MB / 1.121 GB, free: 34.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.9187, allocations: 130.1 kB / 1.121 GB, free: 34.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.9188, allocations: 9.828 kB / 1.121 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002889/0.9191, allocations: 46.73 kB / 1.121 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.9191, allocations: 27.94 kB / 1.121 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.9192, allocations: 10.81 kB / 1.121 GB, free: 34.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.00021/0.9194, allocations: 264.9 kB / 1.121 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001509/0.9209, allocations: 174.8 kB / 1.122 GB, free: 34.73 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.0001148/0.921, allocations: 112.9 kB / 1.122 GB, free: 34.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000536/0.9216, allocations: 456.8 kB / 1.122 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9216, allocations: 0 / 1.122 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/0.9218, allocations: 152.2 kB / 1.122 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.9222, allocations: 78.2 kB / 1.122 GB, free: 34.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.9232, allocations: 0.6441 MB / 1.123 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.9237, allocations: 0.9245 MB / 1.124 GB, free: 33.62 MB / 0.7292 GB Notification: Performance of SimCode: time 3.3e-07/0.9237, allocations: 0 / 1.124 GB, free: 33.62 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)