Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",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.1-maint.8.0.x/package.mo): time 1.409/1.409, allocations: 285.5 MB / 292.8 MB, free: 9.945 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.0009537/0.0009537, allocations: 185.2 kB / 361.1 MB, free: 352 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.16/1.16, allocations: 205.1 MB / 0.6195 GB, free: 2.965 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007981/0.0007981, allocations: 82.67 kB / 0.7326 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4521/0.453, allocations: 121.4 MB / 0.8512 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.6349, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5546/1.189, allocations: 139.2 MB / 1.1 GB, free: 31.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/1.19, allocations: 83.17 kB / 1.1 GB, free: 31.94 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.007819/1.198, allocations: 3.053 MB / 1.103 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.198, allocations: 8.219 kB / 1.103 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/1.198, allocations: 11.72 kB / 1.103 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/1.198, allocations: 166.9 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/1.198, allocations: 3.906 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/1.198, allocations: 7.812 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.959e-05/1.198, allocations: 20.81 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/1.198, allocations: 63.09 kB / 1.103 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/1.198, allocations: 0 / 1.103 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/1.198, allocations: 1.5 kB / 1.103 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/1.198, allocations: 0 / 1.103 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/1.198, allocations: 282.6 kB / 1.103 GB, free: 30.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/1.198, allocations: 35.14 kB / 1.103 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/1.199, allocations: 24.55 kB / 1.103 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/1.199, allocations: 0 / 1.103 GB, free: 30.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.176e-05/1.199, allocations: 71.14 kB / 1.103 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/1.199, allocations: 0 / 1.103 GB, free: 30.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001891/1.199, allocations: 85.52 kB / 1.104 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.186e-05/1.199, allocations: 51.41 kB / 1.104 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.507e-05/1.199, allocations: 111.4 kB / 1.104 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/1.199, allocations: 26.39 kB / 1.104 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/1.199, allocations: 86.42 kB / 1.104 GB, free: 30.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/1.199, allocations: 26.16 kB / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/1.199, allocations: 1.688 kB / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.237e-05/1.199, allocations: 313.7 kB / 1.104 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.69e-05/1.199, allocations: 25.22 kB / 1.104 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/1.199, allocations: 39.08 kB / 1.104 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.463e-05/1.199, allocations: 21.28 kB / 1.104 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.199, allocations: 3.938 kB / 1.104 GB, free: 30.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001397/1.199, allocations: 97.36 kB / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.704e-06/1.199, allocations: 3.875 kB / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/1.199, allocations: 0 / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/1.199, allocations: 4.938 kB / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.165e-05/1.199, allocations: 7.75 kB / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/1.199, allocations: 3.844 kB / 1.104 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/1.2, allocations: 11.75 kB / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/1.2, allocations: 5.5 kB / 1.104 GB, free: 30.12 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 5.535e-05/1.2, allocations: 110.3 kB / 1.104 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/1.2, allocations: 7.781 kB / 1.104 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/1.2, allocations: 9.781 kB / 1.104 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.2, allocations: 7.812 kB / 1.104 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/1.2, allocations: 0 / 1.104 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.2, allocations: 0 / 1.104 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/1.2, allocations: 328.1 kB / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/1.2, allocations: 0 / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/1.2, allocations: 7.578 kB / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.2, allocations: 0 / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/1.2, allocations: 3.875 kB / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.2, allocations: 0 / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.2, allocations: 3.906 kB / 1.105 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001539/1.2, allocations: 181.1 kB / 1.105 GB, free: 45.58 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000282/1.201, allocations: 0.5477 MB / 1.105 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.984e-05/1.201, allocations: 81.02 kB / 1.106 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/1.201, allocations: 0 / 1.106 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/1.201, allocations: 4.75 kB / 1.106 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/1.201, allocations: 9.031 kB / 1.106 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.201, allocations: 7.75 kB / 1.106 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.755e-05/1.201, allocations: 97.23 kB / 1.106 GB, free: 44.9 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008012/1.202, allocations: 52.97 kB / 1.106 GB, free: 44.88 MB / 0.7292 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.000288/1.202, allocations: 178.4 kB / 1.106 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001207/1.202, allocations: 53.22 kB / 1.106 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/1.202, allocations: 0 / 1.106 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.131e-05/1.202, allocations: 28.19 kB / 1.106 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.202, allocations: 5.25 kB / 1.106 GB, free: 44.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/1.202, allocations: 100.7 kB / 1.106 GB, free: 44.69 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/1.203, allocations: 0.7053 MB / 1.107 GB, free: 43.98 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.203, allocations: 128 / 1.107 GB, free: 43.98 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)