Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.573/1.573, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001334/0.001334, allocations: 177.3 kB / 366.3 MB, free: 2.023 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.505/1.505, allocations: 205.1 MB / 0.6256 GB, free: 5.941 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.0009588/0.0009589, allocations: 79.12 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2803/0.2813, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5811/0.8624, allocations: 116.3 MB / 0.9726 GB, free: 68.58 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/1.022, allocations: 140.2 MB / 1.11 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.022, allocations: 80.73 kB / 1.11 GB, free: 8.336 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.009216/1.032, allocations: 3.05 MB / 1.113 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/1.032, allocations: 12 kB / 1.113 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/1.032, allocations: 11.91 kB / 1.113 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/1.032, allocations: 174.9 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.032, allocations: 4 kB / 1.113 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.032, allocations: 0 / 1.113 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.433e-05/1.032, allocations: 28.92 kB / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/1.032, allocations: 53.67 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.032, allocations: 0 / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/1.032, allocations: 0 / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/1.032, allocations: 0 / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004691/1.033, allocations: 277.3 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.907e-05/1.033, allocations: 42.52 kB / 1.113 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.874e-05/1.033, allocations: 24.97 kB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/1.033, allocations: 4 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.764e-05/1.033, allocations: 71.39 kB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/1.033, allocations: 0.75 kB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000232/1.033, allocations: 77.66 kB / 1.113 GB, free: 4.379 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.033, allocations: 55.34 kB / 1.113 GB, free: 4.312 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.889e-05/1.033, allocations: 112.9 kB / 1.113 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/1.033, allocations: 29.7 kB / 1.114 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/1.033, allocations: 84.31 kB / 1.114 GB, free: 4.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.181e-05/1.033, allocations: 23.75 kB / 1.114 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/1.033, allocations: 0 / 1.114 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/1.033, allocations: 319.9 kB / 1.114 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.774e-05/1.033, allocations: 19.94 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/1.033, allocations: 37.64 kB / 1.114 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.508e-05/1.034, allocations: 23.98 kB / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.034, allocations: 0 / 1.114 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001647/1.034, allocations: 95.16 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.034, allocations: 4 kB / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.034, allocations: 0 / 1.114 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.034, allocations: 4 kB / 1.114 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/1.034, allocations: 12 kB / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/1.034, allocations: 3.984 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.582e-05/1.034, allocations: 12.84 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/1.034, allocations: 8.062 kB / 1.114 GB, free: 3.5 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 7.328e-05/1.034, allocations: 108.2 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/1.034, allocations: 7.906 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/1.034, allocations: 12.36 kB / 1.114 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.034, allocations: 4 kB / 1.114 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.034, allocations: 0 / 1.114 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.034, allocations: 0 / 1.114 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/1.034, allocations: 323 kB / 1.115 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.035, allocations: 4 kB / 1.115 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/1.035, allocations: 4.562 kB / 1.115 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.035, allocations: 0 / 1.115 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/1.035, allocations: 3.984 kB / 1.115 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/1.035, allocations: 3.906 kB / 1.115 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.035, allocations: 0 / 1.115 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001843/1.035, allocations: 185.5 kB / 1.115 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002737/1.035, allocations: 0.5441 MB / 1.115 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/1.035, allocations: 89.02 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/1.035, allocations: 0 / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/1.035, allocations: 11.98 kB / 1.115 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/1.035, allocations: 4 kB / 1.115 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/1.035, allocations: 7.938 kB / 1.115 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.085e-05/1.035, allocations: 91.27 kB / 1.115 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009177/1.036, allocations: 51.84 kB / 1.116 GB, free: 1.961 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.0004003/1.037, allocations: 172.2 kB / 1.116 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001498/1.037, allocations: 54.59 kB / 1.116 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.037, allocations: 0 / 1.116 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/1.037, allocations: 27.98 kB / 1.116 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001872/1.037, allocations: 8 kB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/1.038, allocations: 105.8 kB / 1.116 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/1.038, allocations: 0.7005 MB / 1.117 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.038, allocations: 128 / 1.117 GB, free: 0.8633 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)