Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll",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.672/2.672, 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.002695/0.002694, allocations: 177.3 kB / 360.3 MB, free: 7.547 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.871/1.871, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00117/0.001169, allocations: 91.97 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2545/0.2557, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.8394, allocations: 115.2 MB / 0.9628 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2414/1.081, allocations: 139 MB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/1.081, allocations: 82.64 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.01565/1.097, allocations: 3.058 MB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/1.097, allocations: 11.94 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/1.097, allocations: 8.562 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/1.097, allocations: 167 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/1.097, allocations: 4.5 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.097, allocations: 8.562 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/1.098, allocations: 26.47 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/1.098, allocations: 54.39 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.569e-06/1.098, allocations: 0.6562 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/1.098, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.098, allocations: 0.625 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/1.098, allocations: 279.9 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.099, allocations: 39.73 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/1.099, allocations: 32.97 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/1.099, allocations: 4.062 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/1.099, allocations: 65.7 kB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/1.099, allocations: 0 / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003862/1.099, allocations: 80.2 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/1.099, allocations: 51.41 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/1.1, allocations: 112.9 kB / 1.102 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/1.1, allocations: 29.7 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/1.1, allocations: 92.31 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/1.1, allocations: 19.75 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/1.1, allocations: 0 / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.1, allocations: 314.8 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.926e-05/1.1, allocations: 23.94 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.768e-05/1.1, allocations: 36.17 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/1.1, allocations: 27.98 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.1, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002768/1.1, allocations: 93.5 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.1, allocations: 4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/1.1, allocations: 4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/1.101, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.101, allocations: 11.94 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/1.101, allocations: 7.984 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/1.101, allocations: 11.97 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/1.101, 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.0001105/1.101, allocations: 108.8 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/1.101, allocations: 8.422 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/1.101, allocations: 12.36 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/1.101, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.101, allocations: 0 / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/1.101, allocations: 4.609 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/1.102, allocations: 323.7 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/1.102, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/1.102, allocations: 4 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/1.102, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/1.102, allocations: 3.984 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/1.102, allocations: 7.047 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.852e-06/1.102, allocations: 4 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002994/1.102, allocations: 179.4 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004452/1.103, allocations: 0.5454 MB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/1.103, allocations: 81.53 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/1.103, allocations: 4 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/1.103, allocations: 11.98 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.103, allocations: 0 / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/1.103, allocations: 11.94 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.618e-05/1.103, allocations: 93.45 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001383/1.105, allocations: 55.83 kB / 1.105 GB, free: 11.43 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.0005125/1.105, allocations: 171.9 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002403/1.105, allocations: 55.92 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.105, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/1.105, 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.0002594/1.106, allocations: 7.672 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/1.106, allocations: 101.8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004065/1.107, allocations: 0.7037 MB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.107, allocations: 0 / 1.106 GB, free: 10.34 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)