Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout",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.251/1.251, allocations: 249.4 MB / 256.7 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009826, allocations: 188.6 kB / 316 MB, free: 3.574 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.142/1.142, allocations: 205.2 MB / 0.5667 GB, free: 15.71 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.0008699/0.0008699, allocations: 94.08 kB / 0.671 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3639/0.3648, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.5401, allocations: 106.3 MB / 0.8847 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.515/1.055, allocations: 134.2 MB / 1.016 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.055, allocations: 74.7 kB / 1.016 GB, free: 4.613 MB / 0.6355 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.01117/1.067, allocations: 3.733 MB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/1.067, allocations: 8 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/1.067, allocations: 11.84 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.067, allocations: 186 kB / 1.02 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/1.067, allocations: 4 kB / 1.02 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/1.067, allocations: 4 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001106/1.067, allocations: 47.62 kB / 1.02 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.067, allocations: 81.52 kB / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/1.067, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/1.067, allocations: 0 / 1.02 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.067, allocations: 4 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/1.068, allocations: 330.9 kB / 1.02 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.883e-05/1.068, allocations: 52.14 kB / 1.02 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.461e-05/1.068, allocations: 36.95 kB / 1.02 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/1.068, allocations: 7.984 kB / 1.02 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/1.068, allocations: 96.39 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/1.068, allocations: 0 / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002742/1.068, allocations: 102.6 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/1.068, allocations: 59.22 kB / 1.02 GB, free: 364 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/1.069, allocations: 127.6 kB / 1.021 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/1.069, allocations: 25.7 kB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/1.069, allocations: 91.59 kB / 1.021 GB, free: 112 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/1.069, allocations: 19.17 kB / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/1.069, allocations: 0 / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.069, allocations: 333.8 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/1.069, allocations: 26.06 kB / 1.021 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/1.069, allocations: 58.28 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/1.069, allocations: 33.98 kB / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.069, allocations: 0 / 1.021 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001996/1.069, allocations: 117.8 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.069, allocations: 4 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/1.069, allocations: 4.109 kB / 1.021 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/1.069, allocations: 3.938 kB / 1.021 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/1.069, allocations: 27.11 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/1.069, allocations: 4.078 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.07, allocations: 27.88 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.07, allocations: 4 kB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.949e-05/1.07, allocations: 101 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/1.07, allocations: 19.8 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/1.07, allocations: 8.172 kB / 1.021 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/1.07, allocations: 7.984 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/1.07, allocations: 4 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.07, allocations: 0 / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/1.07, allocations: 377 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/1.07, allocations: 4 kB / 1.022 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.208e-05/1.07, allocations: 11.98 kB / 1.022 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.07, allocations: 3.938 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.07, allocations: 3.984 kB / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.07, allocations: 0 / 1.022 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.07, allocations: 4 kB / 1.022 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002373/1.071, allocations: 214.1 kB / 1.022 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003559/1.071, allocations: 0.5789 MB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.071, allocations: 85.02 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/1.071, allocations: 4 kB / 1.023 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/1.071, allocations: 11.98 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/1.071, allocations: 4.094 kB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/1.071, allocations: 7.984 kB / 1.023 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.588e-05/1.071, allocations: 104.5 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008474/1.072, allocations: 70.34 kB / 1.023 GB, free: 13.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003576/1.073, allocations: 161.6 kB / 1.023 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001836/1.073, allocations: 80.67 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.073, allocations: 3.938 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/1.073, allocations: 51.8 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/1.073, allocations: 15.11 kB / 1.023 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/1.073, allocations: 131.3 kB / 1.023 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/1.074, allocations: 0.7153 MB / 1.024 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/1.074, allocations: 0 / 1.024 GB, free: 12.78 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)