Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.412/1.412, allocations: 285.5 MB / 292.8 MB, free: 9.832 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.001048/0.001048, allocations: 181.3 kB / 361.1 MB, free: 384 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.135/1.135, allocations: 205.1 MB / 0.6195 GB, free: 2.848 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.0008412/0.0008412, allocations: 104.5 kB / 0.7326 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4459/0.4468, allocations: 121.4 MB / 0.8512 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.6216, allocations: 115.3 MB / 0.9638 GB, free: 56.27 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5476/1.169, allocations: 139.2 MB / 1.1 GB, free: 31.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/1.17, allocations: 83.86 kB / 1.1 GB, free: 31.95 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.007882/1.177, allocations: 3.047 MB / 1.103 GB, free: 31.42 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/1.177, allocations: 13.62 kB / 1.103 GB, free: 31.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/1.178, allocations: 7.094 kB / 1.103 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.427e-05/1.178, allocations: 174.8 kB / 1.103 GB, free: 31.22 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.634e-05/1.178, allocations: 3.906 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/1.178, allocations: 5.062 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.14e-05/1.178, allocations: 20 kB / 1.103 GB, free: 31.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/1.178, allocations: 53.8 kB / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/1.178, allocations: 0 / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/1.178, allocations: 6.328 kB / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/1.178, allocations: 0 / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/1.178, allocations: 278.6 kB / 1.103 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.709e-05/1.178, allocations: 38.95 kB / 1.103 GB, free: 30.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.038e-05/1.178, allocations: 25.62 kB / 1.103 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/1.178, allocations: 0 / 1.103 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.581e-05/1.178, allocations: 72.61 kB / 1.103 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/1.178, allocations: 0 / 1.103 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001986/1.179, allocations: 81.92 kB / 1.104 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/1.179, allocations: 55.97 kB / 1.104 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/1.179, allocations: 108.5 kB / 1.104 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/1.179, allocations: 30.36 kB / 1.104 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/1.179, allocations: 85.42 kB / 1.104 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/1.179, allocations: 21.66 kB / 1.104 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/1.179, allocations: 0 / 1.104 GB, free: 30.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.657e-05/1.179, allocations: 320.7 kB / 1.104 GB, free: 30.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/1.179, allocations: 20.22 kB / 1.104 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.48e-05/1.179, allocations: 35.42 kB / 1.104 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.818e-05/1.179, allocations: 19.62 kB / 1.104 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/1.179, allocations: 0 / 1.104 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001454/1.179, allocations: 106 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/1.179, allocations: 7.547 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/1.179, allocations: 0 / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/1.179, allocations: 3.688 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.466e-05/1.179, allocations: 11.44 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/1.179, allocations: 3.328 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-05/1.179, allocations: 11.47 kB / 1.104 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/1.179, allocations: 9.094 kB / 1.104 GB, free: 30.13 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 6.899e-05/1.18, allocations: 103.1 kB / 1.104 GB, free: 46.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/1.18, allocations: 9.344 kB / 1.104 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/1.18, allocations: 10.28 kB / 1.104 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.18, allocations: 7.453 kB / 1.104 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/1.18, allocations: 0 / 1.104 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.18, allocations: 2.312 kB / 1.104 GB, free: 46.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/1.18, allocations: 326.6 kB / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/1.18, allocations: 0 / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.447e-05/1.18, allocations: 7.531 kB / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/1.18, allocations: 0 / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.18, allocations: 1.5 kB / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.18, allocations: 3.797 kB / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.18, allocations: 3.906 kB / 1.105 GB, free: 45.74 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001533/1.18, allocations: 177.1 kB / 1.105 GB, free: 45.6 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000255/1.18, allocations: 0.5415 MB / 1.105 GB, free: 45.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/1.18, allocations: 88.22 kB / 1.106 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/1.181, allocations: 0 / 1.106 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.749e-05/1.181, allocations: 10.11 kB / 1.106 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/1.181, allocations: 4.875 kB / 1.106 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.181, allocations: 8.469 kB / 1.106 GB, free: 44.99 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.055e-05/1.181, allocations: 96.81 kB / 1.106 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008398/1.182, allocations: 57.44 kB / 1.106 GB, free: 44.89 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.0003453/1.182, allocations: 168.5 kB / 1.106 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001276/1.182, allocations: 60.98 kB / 1.106 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/1.182, allocations: 0 / 1.106 GB, free: 44.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.027e-05/1.182, allocations: 27.91 kB / 1.106 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/1.182, allocations: 5.875 kB / 1.106 GB, free: 44.77 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/1.183, allocations: 93.41 kB / 1.106 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/1.183, allocations: 0.702 MB / 1.107 GB, free: 44 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/1.183, allocations: 128 / 1.107 GB, free: 44 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)