Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.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.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",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.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 6.965 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.0009488/0.0009488, allocations: 181.3 kB / 316 MB, free: 3.516 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.152/1.152, allocations: 205.1 MB / 0.5667 GB, free: 15.6 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.0008128/0.0008128, allocations: 85.64 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3578/0.3586, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.5312, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/1.041, allocations: 134 MB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.042, allocations: 79.27 kB / 1.016 GB, free: 4.559 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.008698/1.05, allocations: 3.045 MB / 1.019 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/1.05, allocations: 12 kB / 1.019 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/1.051, allocations: 7.906 kB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/1.051, allocations: 174.4 kB / 1.019 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.051, allocations: 3.938 kB / 1.019 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.051, allocations: 7.938 kB / 1.019 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.538e-05/1.051, allocations: 19 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.529e-05/1.051, allocations: 56.09 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/1.051, allocations: 11.86 kB / 1.019 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/1.051, allocations: 6.844 kB / 1.019 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/1.051, allocations: 8 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004363/1.051, allocations: 273 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/1.051, allocations: 37.14 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/1.052, allocations: 30.73 kB / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/1.052, allocations: 0 / 1.019 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.871e-05/1.052, allocations: 66.08 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.052, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002131/1.052, allocations: 79.7 kB / 1.019 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/1.052, allocations: 59.22 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/1.052, allocations: 111.7 kB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/1.052, allocations: 29.7 kB / 1.019 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/1.052, allocations: 80.33 kB / 1.02 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/1.052, allocations: 23.11 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/1.052, allocations: 3.938 kB / 1.02 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.052, allocations: 322.6 kB / 1.02 GB, free: 476 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.843e-05/1.052, allocations: 15.19 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.956e-05/1.052, allocations: 39.36 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/1.052, allocations: 27.28 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.052, allocations: 0 / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001607/1.053, allocations: 91.84 kB / 1.02 GB, free: 324 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.053, allocations: 8 kB / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.053, allocations: 0 / 1.02 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.053, allocations: 7.922 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.881e-05/1.053, allocations: 12 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/1.053, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/1.053, allocations: 12.05 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/1.053, allocations: 4 kB / 1.02 GB, free: 280 kB / 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 7.421e-05/1.053, allocations: 116.3 kB / 1.02 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/1.053, allocations: 3.906 kB / 1.02 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/1.053, allocations: 8.375 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/1.053, allocations: 0 / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.053, allocations: 3.984 kB / 1.02 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.053, allocations: 4 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/1.053, allocations: 319.1 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.053, allocations: 0 / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/1.053, allocations: 11.83 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.053, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.053, allocations: 4 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.053, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.053, allocations: 0 / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000173/1.054, allocations: 181.4 kB / 1.021 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002994/1.054, allocations: 0.548 MB / 1.021 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/1.054, allocations: 81.11 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/1.054, allocations: 7.891 kB / 1.021 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/1.054, allocations: 11.94 kB / 1.021 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/1.054, allocations: 7.984 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/1.054, allocations: 1.562 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.449e-05/1.054, allocations: 87.22 kB / 1.021 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008246/1.055, allocations: 55.73 kB / 1.021 GB, free: 14.8 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.0003361/1.055, allocations: 178.9 kB / 1.022 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001248/1.055, allocations: 54.23 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.056, allocations: 0 / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.883e-05/1.056, allocations: 22.62 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/1.056, allocations: 2.938 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/1.056, allocations: 105.8 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/1.056, allocations: 0.7182 MB / 1.023 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of SimCode: time 2.8e-07/1.056, allocations: 0 / 1.023 GB, free: 13.72 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)