Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",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.0/package.mo): time 2.493/2.493, allocations: 284.8 MB / 292.1 MB, free: 9.84 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.001654/0.001653, allocations: 182.4 kB / 360.3 MB, free: 1.008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.1 MB / 0.6187 GB, free: 3.34 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.001224/0.001224, allocations: 89.33 kB / 0.7317 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5719/0.5732, allocations: 121.4 MB / 0.8502 GB, free: 149.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.7932, allocations: 115.3 MB / 0.9628 GB, free: 57.04 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7354/1.529, allocations: 139 MB / 1.099 GB, free: 33.26 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.529, allocations: 76.33 kB / 1.099 GB, free: 33.26 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01309/1.542, allocations: 3.058 MB / 1.102 GB, free: 32.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.542, allocations: 11.88 kB / 1.102 GB, free: 32.72 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/1.542, allocations: 7.781 kB / 1.102 GB, free: 32.72 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/1.542, allocations: 170.6 kB / 1.102 GB, free: 32.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.542, allocations: 5.906 kB / 1.102 GB, free: 32.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/1.542, allocations: 3.812 kB / 1.102 GB, free: 32.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001137/1.542, allocations: 20.94 kB / 1.102 GB, free: 32.52 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/1.543, allocations: 58.05 kB / 1.102 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.543, allocations: 0 / 1.102 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/1.543, allocations: 0 / 1.102 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/1.543, allocations: 0 / 1.102 GB, free: 32.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/1.543, allocations: 286.8 kB / 1.102 GB, free: 32.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.543, allocations: 40.73 kB / 1.102 GB, free: 32.22 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.062e-05/1.543, allocations: 24.92 kB / 1.102 GB, free: 32.21 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/1.544, allocations: 0 / 1.102 GB, free: 32.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/1.544, allocations: 66.33 kB / 1.102 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.544, allocations: 0 / 1.102 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003049/1.544, allocations: 85.03 kB / 1.102 GB, free: 32.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/1.544, allocations: 55.08 kB / 1.102 GB, free: 32.06 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.767e-05/1.544, allocations: 112.3 kB / 1.102 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/1.544, allocations: 25.7 kB / 1.103 GB, free: 31.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/1.544, allocations: 91.17 kB / 1.103 GB, free: 31.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/1.544, allocations: 19.97 kB / 1.103 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-06/1.544, allocations: 0 / 1.103 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.249e-05/1.544, allocations: 320.5 kB / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.34e-05/1.544, allocations: 22.25 kB / 1.103 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/1.544, allocations: 34.02 kB / 1.103 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.473e-05/1.545, allocations: 22.12 kB / 1.103 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.545, allocations: 0 / 1.103 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002394/1.545, allocations: 97.16 kB / 1.103 GB, free: 31.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.545, allocations: 3.875 kB / 1.103 GB, free: 31.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.545, allocations: 0 / 1.103 GB, free: 31.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/1.545, allocations: 3.875 kB / 1.103 GB, free: 31.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.545, allocations: 19.42 kB / 1.103 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.872e-06/1.545, allocations: 0 / 1.103 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/1.545, allocations: 11.53 kB / 1.103 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/1.545, allocations: 5.062 kB / 1.103 GB, free: 31.44 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.839e-05/1.545, allocations: 111 kB / 1.103 GB, free: 31.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/1.545, allocations: 10.16 kB / 1.103 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/1.545, allocations: 11 kB / 1.103 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/1.545, allocations: 0 / 1.103 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.545, allocations: 0 / 1.103 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/1.545, allocations: 0 / 1.103 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004186/1.546, allocations: 324.4 kB / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.546, allocations: 0 / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.572e-05/1.546, allocations: 7.875 kB / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.546, allocations: 0 / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/1.546, allocations: 7.625 kB / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.546, allocations: 0 / 1.104 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.546, allocations: 3.906 kB / 1.104 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002289/1.546, allocations: 172.9 kB / 1.104 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000291/1.547, allocations: 0.5532 MB / 1.104 GB, free: 30.39 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/1.547, allocations: 84.8 kB / 1.104 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/1.547, allocations: 0 / 1.104 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/1.547, allocations: 7.5 kB / 1.104 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/1.547, allocations: 9.281 kB / 1.104 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/1.547, allocations: 2.375 kB / 1.104 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.095e-05/1.547, allocations: 98.81 kB / 1.104 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001342/1.548, allocations: 54.7 kB / 1.105 GB, free: 30.2 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.0004399/1.549, allocations: 175.5 kB / 1.105 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002218/1.549, allocations: 52.84 kB / 1.105 GB, free: 30.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/1.549, allocations: 4.125 kB / 1.105 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.407e-05/1.549, allocations: 28 kB / 1.105 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/1.549, allocations: 9.312 kB / 1.105 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004017/1.55, allocations: 96.06 kB / 1.105 GB, free: 30.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/1.55, allocations: 0.7045 MB / 1.106 GB, free: 45.3 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.55, allocations: 0 / 1.106 GB, free: 45.3 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)