Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.379/1.379, allocations: 285.5 MB / 292.8 MB, free: 9.855 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.0009874/0.0009874, allocations: 185.3 kB / 361.1 MB, free: 356 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.165/1.165, 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.0008196/0.0008196, allocations: 92.19 kB / 0.7326 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4628/0.4636, allocations: 121.4 MB / 0.8512 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.6509, allocations: 115.3 MB / 0.9638 GB, free: 56.26 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5707/1.222, allocations: 139.2 MB / 1.1 GB, free: 31.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.222, allocations: 81.41 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.00838/1.23, allocations: 3.055 MB / 1.103 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/1.23, allocations: 12.09 kB / 1.103 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/1.23, allocations: 7.781 kB / 1.103 GB, free: 31.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.837e-05/1.231, allocations: 173.1 kB / 1.103 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/1.231, allocations: 11.09 kB / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/1.231, allocations: 3.875 kB / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.248e-05/1.231, allocations: 19.12 kB / 1.103 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.495e-05/1.231, allocations: 54.92 kB / 1.103 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/1.231, allocations: 0 / 1.103 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.231, allocations: 5.922 kB / 1.103 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/1.231, allocations: 0 / 1.103 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/1.231, allocations: 279.2 kB / 1.103 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.124e-05/1.231, allocations: 38.52 kB / 1.103 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/1.231, allocations: 20.3 kB / 1.103 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/1.231, allocations: 3.875 kB / 1.103 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/1.231, allocations: 63.09 kB / 1.103 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/1.231, allocations: 4 kB / 1.103 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001953/1.232, allocations: 87.44 kB / 1.104 GB, free: 30.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.083e-05/1.232, allocations: 54.62 kB / 1.104 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/1.232, allocations: 109 kB / 1.104 GB, free: 30.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/1.232, allocations: 28.92 kB / 1.104 GB, free: 30.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/1.232, allocations: 85.92 kB / 1.104 GB, free: 30.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/1.232, allocations: 17.56 kB / 1.104 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/1.232, allocations: 0 / 1.104 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.377e-05/1.232, allocations: 326.4 kB / 1.104 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/1.232, allocations: 18.97 kB / 1.104 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.493e-05/1.232, allocations: 36.7 kB / 1.104 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/1.232, allocations: 19.88 kB / 1.104 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.232, allocations: 3.25 kB / 1.104 GB, free: 30.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001471/1.232, allocations: 92.17 kB / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.232, allocations: 13.69 kB / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.232, allocations: 0 / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/1.232, allocations: 0 / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/1.232, allocations: 15.45 kB / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/1.232, allocations: 3.156 kB / 1.104 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/1.232, allocations: 13.47 kB / 1.104 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/1.232, allocations: 8.703 kB / 1.104 GB, free: 30.11 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.446e-05/1.232, allocations: 110.3 kB / 1.104 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/1.232, allocations: 7.125 kB / 1.104 GB, free: 30 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.232, allocations: 10.53 kB / 1.104 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.232, allocations: 0 / 1.104 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.233, allocations: 7.922 kB / 1.104 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/1.233, allocations: 0 / 1.104 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/1.233, allocations: 321 kB / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.233, allocations: 0 / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.429e-05/1.233, allocations: 10.38 kB / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.233, allocations: 0 / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.233, allocations: 3.797 kB / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.233, allocations: 0 / 1.105 GB, free: 45.71 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.233, allocations: 7.203 kB / 1.105 GB, free: 45.7 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001719/1.233, allocations: 179.5 kB / 1.105 GB, free: 45.57 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002627/1.233, allocations: 0.5475 MB / 1.105 GB, free: 45.05 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/1.233, allocations: 82.33 kB / 1.106 GB, free: 44.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/1.233, allocations: 3.219 kB / 1.106 GB, free: 44.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/1.233, allocations: 7.797 kB / 1.106 GB, free: 44.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.804e-05/1.234, allocations: 4.375 kB / 1.106 GB, free: 44.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/1.234, allocations: 7.734 kB / 1.106 GB, free: 44.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.514e-05/1.234, allocations: 89.03 kB / 1.106 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008278/1.234, allocations: 61.2 kB / 1.106 GB, free: 44.86 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.0003241/1.235, allocations: 169.6 kB / 1.106 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001325/1.235, allocations: 53.73 kB / 1.106 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.235, allocations: 0 / 1.106 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.167e-05/1.235, allocations: 32.19 kB / 1.106 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/1.235, allocations: 4.656 kB / 1.106 GB, free: 44.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/1.235, allocations: 104 kB / 1.106 GB, free: 44.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/1.236, allocations: 0.6983 MB / 1.107 GB, free: 43.96 MB / 0.7292 GB Notification: Performance of SimCode: time 2.7e-07/1.236, allocations: 0 / 1.107 GB, free: 43.96 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)