Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.218/1.218, allocations: 249.4 MB / 256.7 MB, free: 7 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.0009216/0.0009217, allocations: 181.2 kB / 316 MB, free: 3.52 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.126/1.126, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0008526/0.0008528, allocations: 97.59 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3558/0.3567, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.5468, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/1.056, allocations: 133.9 MB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/1.056, allocations: 85.75 kB / 1.016 GB, free: 4.789 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.00888/1.065, allocations: 3.042 MB / 1.019 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.065, allocations: 8 kB / 1.019 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/1.065, allocations: 7.906 kB / 1.019 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/1.065, allocations: 171 kB / 1.019 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.065, allocations: 7.938 kB / 1.019 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.065, allocations: 6.938 kB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.395e-05/1.066, allocations: 27.06 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/1.066, allocations: 56.48 kB / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.066, allocations: 0 / 1.019 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/1.066, allocations: 3.906 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/1.066, allocations: 0.5 kB / 1.019 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/1.066, allocations: 281.7 kB / 1.019 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/1.066, allocations: 43.38 kB / 1.019 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/1.066, allocations: 20.17 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/1.066, allocations: 4 kB / 1.019 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.815e-05/1.066, allocations: 70.7 kB / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/1.066, allocations: 0 / 1.019 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002274/1.067, allocations: 80.14 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.067, allocations: 55.39 kB / 1.019 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/1.067, allocations: 107.4 kB / 1.019 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/1.067, allocations: 33.69 kB / 1.019 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/1.067, allocations: 83.39 kB / 1.02 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/1.067, allocations: 19.06 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/1.067, allocations: 0 / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.935e-05/1.067, allocations: 322.6 kB / 1.02 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/1.067, allocations: 21.62 kB / 1.02 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/1.067, allocations: 37.5 kB / 1.02 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/1.067, allocations: 27.02 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.067, allocations: 0 / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001533/1.067, allocations: 94.48 kB / 1.02 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/1.067, allocations: 4 kB / 1.02 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.067, allocations: 4.062 kB / 1.02 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/1.067, allocations: 7.938 kB / 1.02 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/1.067, allocations: 18.86 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/1.067, allocations: 0 / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.655e-05/1.068, allocations: 8 kB / 1.02 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/1.068, allocations: 4 kB / 1.02 GB, free: 0.5078 MB / 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 8.128e-05/1.068, allocations: 114.1 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/1.068, allocations: 7.906 kB / 1.02 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.336e-05/1.068, allocations: 7.688 kB / 1.02 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.068, allocations: 4 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.068, allocations: 4 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/1.068, allocations: 0 / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/1.068, allocations: 319.2 kB / 1.02 GB, free: 36 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.068, allocations: 4 kB / 1.021 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.56e-05/1.068, allocations: 7.984 kB / 1.021 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/1.068, allocations: 4 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/1.068, allocations: 0 / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.068, allocations: 3.938 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/1.068, allocations: 0 / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001764/1.068, allocations: 180.8 kB / 1.021 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002979/1.069, allocations: 0.5476 MB / 1.021 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/1.069, allocations: 77.11 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/1.069, allocations: 7.891 kB / 1.021 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/1.069, allocations: 8 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/1.069, allocations: 6.734 kB / 1.021 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/1.069, allocations: 4 kB / 1.021 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.882e-05/1.069, allocations: 88.23 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008135/1.07, allocations: 62.05 kB / 1.021 GB, free: 15.04 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.0003216/1.07, allocations: 169.4 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001208/1.07, allocations: 53.41 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.07, allocations: 2.875 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.075e-05/1.07, allocations: 26.75 kB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/1.07, allocations: 12.06 kB / 1.022 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/1.071, allocations: 102.2 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002376/1.071, allocations: 0.7036 MB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.071, allocations: 0 / 1.023 GB, free: 13.96 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)