Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.479/2.479, allocations: 284.8 MB / 292.1 MB, free: 10.7 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.001654/0.001653, allocations: 177.3 kB / 360.3 MB, free: 7.52 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.938/1.938, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.002421/0.00242, allocations: 87.73 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2812/0.2836, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6908/0.9745, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2518/1.226, allocations: 139 MB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.227, allocations: 81.17 kB / 1.099 GB, free: 1.75 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.01885/1.246, allocations: 3.053 MB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.923e-05/1.246, allocations: 16.75 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.899e-05/1.246, allocations: 7.906 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/1.246, allocations: 168 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/1.246, allocations: 0.875 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/1.246, allocations: 9.297 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001966/1.246, allocations: 20 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/1.247, allocations: 53.67 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.247, allocations: 1.25 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/1.247, allocations: 1.156 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1.247, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/1.248, allocations: 283.6 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/1.248, allocations: 42.56 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/1.248, allocations: 24.98 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.368e-05/1.248, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/1.248, allocations: 73.42 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 4.248e-06/1.248, allocations: 0 / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0005736/1.249, allocations: 77.53 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/1.249, allocations: 55.41 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/1.249, allocations: 116.9 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/1.249, allocations: 25.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/1.249, allocations: 88.31 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/1.249, allocations: 15.83 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.213e-05/1.249, allocations: 3.75 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002365/1.25, allocations: 322.8 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.355e-05/1.25, allocations: 19.94 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/1.25, allocations: 43.55 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/1.25, allocations: 19.98 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.25, allocations: 0 / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004236/1.251, allocations: 93.52 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.251, allocations: 8 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.251, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.251, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/1.251, allocations: 23.98 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.251, allocations: 0 / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/1.251, allocations: 7.906 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/1.251, allocations: 4 kB / 1.103 GB, free: 12.96 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.0001364/1.251, allocations: 108.8 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/1.251, allocations: 4.516 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.087e-05/1.251, allocations: 16.36 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/1.252, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.252, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.252, allocations: 2.062 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/1.252, allocations: 327 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.252, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/1.252, allocations: 7.984 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.252, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.252, allocations: 4 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/1.252, allocations: 3.906 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.252, allocations: 4 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002743/1.253, allocations: 173.6 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004217/1.253, allocations: 0.5467 MB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/1.253, allocations: 85.02 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/1.253, allocations: 4 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/1.253, allocations: 7.984 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/1.253, allocations: 3.984 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/1.253, allocations: 13.86 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.924e-05/1.253, allocations: 89.47 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001285/1.255, allocations: 59.83 kB / 1.105 GB, free: 11.42 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.0005301/1.255, allocations: 166.8 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002458/1.256, allocations: 51.94 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/1.256, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/1.256, allocations: 27.98 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.256, allocations: 4.859 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004874/1.256, allocations: 105.9 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/1.257, allocations: 0.7036 MB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of SimCode: time 8.62e-07/1.257, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)