Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.1.4-maint.8.1.x/package.mo): time 1.515/1.515, allocations: 289.8 MB / 297.1 MB, free: 6.711 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.001144/0.001144, allocations: 173.3 kB / 366.3 MB, free: 2 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.225/1.225, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.001026/0.001026, allocations: 89.33 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2853/0.2864, allocations: 122.4 MB / 0.8591 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/1.042, allocations: 116.3 MB / 0.9726 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1917/1.233, allocations: 140.4 MB / 1.11 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.234, allocations: 77.45 kB / 1.11 GB, free: 10.04 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01054/1.244, allocations: 3.333 MB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/1.244, allocations: 9.156 kB / 1.113 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/1.244, allocations: 9.719 kB / 1.113 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/1.244, allocations: 171 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/1.245, allocations: 4.781 kB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/1.245, allocations: 7.984 kB / 1.113 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.911e-05/1.245, allocations: 24.75 kB / 1.113 GB, free: 6.422 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.245, allocations: 73.59 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/1.245, allocations: 1.75 kB / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/1.245, allocations: 0 / 1.113 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.245, allocations: 8.625 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005724/1.245, allocations: 300.2 kB / 1.114 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/1.246, allocations: 51.05 kB / 1.114 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.493e-05/1.246, allocations: 37.88 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/1.246, allocations: 0 / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/1.246, allocations: 84.16 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/1.246, allocations: 0.5625 kB / 1.114 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003011/1.246, allocations: 90.11 kB / 1.114 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.246, allocations: 52.09 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/1.246, allocations: 115.6 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.246, allocations: 30.23 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/1.246, allocations: 96.03 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/1.246, allocations: 15.95 kB / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/1.246, allocations: 0 / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.247, allocations: 322.8 kB / 1.115 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/1.247, allocations: 23.94 kB / 1.115 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/1.247, allocations: 52.28 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.846e-05/1.247, allocations: 28 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.247, allocations: 1.125 kB / 1.115 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001811/1.247, allocations: 111.6 kB / 1.115 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.247, allocations: 4 kB / 1.115 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.247, allocations: 3.938 kB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.247, allocations: 4 kB / 1.115 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/1.247, allocations: 24.02 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.247, allocations: 0 / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/1.247, allocations: 11.91 kB / 1.115 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/1.247, allocations: 4 kB / 1.115 GB, free: 4.789 MB / 0.7136 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 (13): * Single equations (assignments): 13 * 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 8.495e-05/1.247, allocations: 108.9 kB / 1.115 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/1.247, allocations: 7.891 kB / 1.115 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.637e-05/1.247, allocations: 12.42 kB / 1.115 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.247, allocations: 8.547 kB / 1.115 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.247, allocations: 3.906 kB / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/1.247, allocations: 0 / 1.115 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/1.248, allocations: 353.2 kB / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.248, allocations: 3.906 kB / 1.115 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.66e-05/1.248, allocations: 4 kB / 1.115 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.248, allocations: 0.9375 kB / 1.115 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/1.248, allocations: 5.734 kB / 1.115 GB, free: 4.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.248, allocations: 4 kB / 1.115 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.248, allocations: 7.938 kB / 1.115 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002208/1.248, allocations: 187.4 kB / 1.115 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000392/1.249, allocations: 0.5622 MB / 1.116 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/1.249, allocations: 85.02 kB / 1.116 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.162e-05/1.249, allocations: 7.984 kB / 1.116 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/1.249, allocations: 4 kB / 1.116 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/1.249, allocations: 11.98 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/1.249, allocations: 4.562 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.156e-05/1.249, allocations: 93.52 kB / 1.116 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000933/1.25, allocations: 47.94 kB / 1.116 GB, free: 3.184 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: 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 (8): * Single equations (assignments): 4 * 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.0005339/1.25, allocations: 178.9 kB / 1.116 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002058/1.251, allocations: 63.94 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/1.251, allocations: 3.938 kB / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.251, allocations: 44.53 kB / 1.117 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/1.251, allocations: 13.22 kB / 1.117 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003968/1.251, allocations: 115.4 kB / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/1.252, allocations: 0.715 MB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/1.252, allocations: 0 / 1.117 GB, free: 2.027 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)