Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",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.601/2.601, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.002516/0.002515, allocations: 181.2 kB / 360.3 MB, free: 7.539 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.81/1.81, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001199/0.001199, allocations: 86.42 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2894/0.2907, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.9416, allocations: 115.2 MB / 0.9627 GB, free: 78.59 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2256/1.167, allocations: 139 MB / 1.099 GB, free: 1.812 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003456/1.168, allocations: 86.48 kB / 1.099 GB, free: 1.73 MB / 0.698 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.01533/1.183, allocations: 3.068 MB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.183, allocations: 8 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/1.183, allocations: 7.906 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/1.183, allocations: 172 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/1.183, allocations: 0.625 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/1.183, allocations: 4.5 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/1.184, allocations: 23.94 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/1.184, allocations: 54.98 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.609e-06/1.184, allocations: 4 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.184, allocations: 0 / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.184, allocations: 0.5312 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006625/1.184, allocations: 285.7 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/1.185, allocations: 34.58 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.877e-05/1.185, allocations: 29.52 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.185, allocations: 0.625 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/1.185, allocations: 66.17 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.996e-06/1.185, allocations: 0 / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003408/1.185, allocations: 81.58 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.185, allocations: 56.16 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/1.185, allocations: 116.5 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/1.186, allocations: 26.27 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/1.186, allocations: 85 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/1.186, allocations: 22.45 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/1.186, allocations: 0.5312 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.186, allocations: 326.8 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/1.186, allocations: 15.94 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.949e-05/1.186, allocations: 42.5 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/1.186, allocations: 20 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.186, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002874/1.186, allocations: 93.52 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/1.186, allocations: 8.062 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/1.187, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.187, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/1.187, allocations: 19.98 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.187, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/1.187, allocations: 7.906 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/1.187, allocations: 7.984 kB / 1.103 GB, free: 12.95 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 0.0001121/1.187, allocations: 116.7 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/1.187, allocations: 7.906 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/1.187, allocations: 8.375 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.187, allocations: 0 / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.187, allocations: 3.984 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.187, allocations: 4 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/1.188, allocations: 317.2 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/1.188, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/1.188, allocations: 11.98 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/1.188, allocations: 0 / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/1.188, allocations: 4 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.188, allocations: 7.844 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.188, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002825/1.188, allocations: 173.5 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004392/1.189, allocations: 0.5499 MB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/1.189, allocations: 89 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/1.189, allocations: 0 / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/1.189, allocations: 8 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/1.189, allocations: 7.984 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.189, allocations: 3.938 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.598e-05/1.189, allocations: 91.28 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001352/1.191, allocations: 63.77 kB / 1.105 GB, free: 11.4 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.0005581/1.191, allocations: 163.1 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002491/1.191, allocations: 51.92 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.191, allocations: 128 / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/1.191, allocations: 32 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/1.192, allocations: 5.094 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/1.192, allocations: 98.48 kB / 1.105 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/1.193, allocations: 0.7043 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.193, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_8.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)