Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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 2.444/2.444, 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.001676/0.001676, allocations: 169.3 kB / 360.3 MB, free: 7.551 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.877/1.877, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001752/0.001752, allocations: 92.34 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.305/0.3068, allocations: 121.4 MB / 0.8502 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6526/0.9595, allocations: 115.2 MB / 0.9627 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2435/1.203, allocations: 139 MB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/1.204, allocations: 81.72 kB / 1.099 GB, free: 1.652 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.01781/1.221, allocations: 3.062 MB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/1.221, allocations: 12 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/1.222, allocations: 7.891 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/1.222, allocations: 171.4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/1.222, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/1.222, allocations: 5.219 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002721/1.222, allocations: 21.19 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/1.223, allocations: 53.67 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/1.223, allocations: 3.938 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/1.223, allocations: 0.7188 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.223, allocations: 4.609 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/1.224, allocations: 283.9 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/1.224, allocations: 35.17 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/1.224, allocations: 25.77 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/1.224, allocations: 0.6875 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/1.225, allocations: 74.27 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.829e-06/1.225, allocations: 1.297 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000351/1.225, allocations: 79.53 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/1.225, allocations: 56.41 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/1.225, allocations: 117.6 kB / 1.102 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/1.225, allocations: 25.7 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/1.225, allocations: 80.33 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.936e-05/1.225, allocations: 19.75 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.688e-05/1.226, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002272/1.226, allocations: 322.8 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/1.226, allocations: 15.94 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.626e-05/1.226, allocations: 46.81 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/1.226, allocations: 16 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.226, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002744/1.226, allocations: 98.11 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/1.226, allocations: 8.062 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/1.226, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.226, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/1.227, allocations: 15.92 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/1.227, allocations: 4 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/1.227, allocations: 7.906 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/1.227, allocations: 7.984 kB / 1.103 GB, free: 12.87 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: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001085/1.227, allocations: 112.8 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/1.227, allocations: 3.906 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.696e-05/1.227, allocations: 13.08 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.227, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.227, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/1.227, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/1.228, allocations: 323.9 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.228, allocations: 3.984 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.822e-05/1.228, allocations: 8 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/1.228, allocations: 0.6094 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.228, allocations: 1.875 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/1.228, allocations: 7.906 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/1.228, allocations: 3.672 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002711/1.228, allocations: 175.4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003992/1.228, allocations: 0.5467 MB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/1.229, allocations: 85 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/1.229, allocations: 6.438 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/1.229, allocations: 4 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.229, allocations: 3.984 kB / 1.104 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/1.229, allocations: 8.594 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.054e-05/1.229, allocations: 95.27 kB / 1.104 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001343/1.23, allocations: 51.84 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005092/1.231, allocations: 170.1 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002699/1.231, allocations: 51.97 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.231, allocations: 6.188 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/1.231, allocations: 27.94 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/1.231, allocations: 11.98 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004563/1.232, allocations: 97.83 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/1.232, allocations: 0.6997 MB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/1.232, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)