Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.217/1.217, allocations: 249.4 MB / 256.7 MB, free: 6.941 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.001023/0.001023, allocations: 180.2 kB / 316 MB, free: 3.652 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.128/1.128, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008195/0.0008195, allocations: 84.08 kB / 0.671 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3469/0.3478, allocations: 112.5 MB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.5245, allocations: 106.3 MB / 0.8847 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.523/1.048, allocations: 134 MB / 1.015 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.048, allocations: 79.08 kB / 1.016 GB, free: 4.668 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008819/1.057, allocations: 3.056 MB / 1.019 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/1.057, allocations: 8 kB / 1.019 GB, free: 2.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/1.057, allocations: 11.84 kB / 1.019 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.057, allocations: 174.9 kB / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.057, allocations: 0 / 1.019 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/1.057, allocations: 4 kB / 1.019 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.851e-05/1.057, allocations: 23.61 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/1.057, allocations: 57.36 kB / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.057, allocations: 0 / 1.019 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/1.057, allocations: 7.906 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.057, allocations: 3.75 kB / 1.019 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/1.058, allocations: 275 kB / 1.019 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.479e-05/1.058, allocations: 41.95 kB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/1.058, allocations: 27.23 kB / 1.019 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/1.058, allocations: 8.047 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/1.058, allocations: 57.91 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/1.058, allocations: 0 / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002182/1.058, allocations: 80.52 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.058, allocations: 55.41 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/1.058, allocations: 121.7 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/1.058, allocations: 25.7 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/1.058, allocations: 87.7 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/1.058, allocations: 19.17 kB / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/1.058, allocations: 0 / 1.02 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.059, allocations: 322.5 kB / 1.02 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/1.059, allocations: 15.48 kB / 1.02 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.864e-05/1.059, allocations: 38.45 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.778e-05/1.059, allocations: 24.17 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/1.059, allocations: 0 / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001732/1.059, allocations: 91.27 kB / 1.02 GB, free: 440 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.059, allocations: 11.94 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/1.059, allocations: 3.984 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/1.059, allocations: 0 / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/1.059, allocations: 16.06 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/1.059, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/1.059, allocations: 7.984 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/1.059, allocations: 4 kB / 1.02 GB, free: 396 kB / 0.6355 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 7.571e-05/1.059, allocations: 116.2 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.559e-05/1.059, allocations: 7.906 kB / 1.02 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/1.059, allocations: 4.375 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.059, allocations: 7.984 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.059, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/1.059, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/1.06, allocations: 322.7 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.06, allocations: 7.875 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/1.06, allocations: 4 kB / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.06, allocations: 0 / 1.021 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.06, allocations: 11.97 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.06, allocations: 4 kB / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.06, allocations: 0 / 1.021 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00018/1.06, allocations: 173.9 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002917/1.06, allocations: 0.5477 MB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/1.06, allocations: 81.11 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/1.06, allocations: 7.906 kB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.06, allocations: 4 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/1.061, allocations: 11.05 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/1.061, allocations: 0.875 kB / 1.021 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.424e-05/1.061, allocations: 91.3 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008242/1.061, allocations: 54.88 kB / 1.021 GB, free: 14.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: 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.0003481/1.062, allocations: 174.6 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001319/1.062, allocations: 54.17 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/1.062, allocations: 0 / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/1.062, allocations: 25.62 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001736/1.062, allocations: 3.984 kB / 1.022 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/1.063, allocations: 111.8 kB / 1.022 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.063, allocations: 0.7036 MB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.063, allocations: 0 / 1.023 GB, free: 13.84 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)