Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 289.8 MB / 297.1 MB, free: 6.66 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.00109/0.00109, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.501/1.501, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.00104/0.00104, allocations: 94.09 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3122/0.3133, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7333/1.047, allocations: 116.3 MB / 0.9726 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/1.235, allocations: 140.2 MB / 1.11 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.236, allocations: 80.67 kB / 1.11 GB, free: 8.238 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.009359/1.245, allocations: 3.064 MB / 1.113 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.245, allocations: 8 kB / 1.113 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/1.245, allocations: 7.906 kB / 1.113 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.245, allocations: 167 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/1.245, allocations: 4 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/1.245, allocations: 1.688 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.599e-05/1.245, allocations: 23.94 kB / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/1.245, allocations: 65.66 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/1.246, allocations: 0 / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.246, allocations: 0 / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/1.246, allocations: 0 / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005006/1.246, allocations: 277.3 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.247e-05/1.246, allocations: 46.52 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/1.246, allocations: 24.98 kB / 1.113 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.246, allocations: 4 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/1.246, allocations: 63.39 kB / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/1.246, allocations: 0 / 1.113 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002528/1.247, allocations: 81.58 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/1.247, allocations: 51.41 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/1.247, allocations: 114.5 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/1.247, allocations: 33.7 kB / 1.114 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/1.247, allocations: 80.33 kB / 1.114 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/1.247, allocations: 23.73 kB / 1.114 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.247, allocations: 0.75 kB / 1.114 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002234/1.247, allocations: 318.8 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/1.247, allocations: 19.94 kB / 1.114 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/1.247, allocations: 42.56 kB / 1.114 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.642e-05/1.247, allocations: 23.98 kB / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.247, allocations: 0 / 1.114 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001761/1.248, allocations: 90.53 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.248, allocations: 4 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/1.248, allocations: 0.75 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.228e-05/1.248, allocations: 7.984 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/1.248, allocations: 16.06 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/1.248, allocations: 0 / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/1.248, allocations: 15.89 kB / 1.114 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.248, allocations: 4 kB / 1.114 GB, free: 3.383 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.0001008/1.248, allocations: 104.9 kB / 1.114 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/1.248, allocations: 7.906 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/1.248, allocations: 9.219 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/1.248, allocations: 8 kB / 1.114 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/1.248, allocations: 3.984 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.248, allocations: 0 / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/1.248, allocations: 317.6 kB / 1.115 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.248, allocations: 4 kB / 1.115 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/1.249, allocations: 4 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.249, allocations: 3.938 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/1.249, allocations: 3.984 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/1.249, allocations: 8.844 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.249, allocations: 0 / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002156/1.249, allocations: 175.4 kB / 1.115 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004044/1.249, allocations: 0.5389 MB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/1.249, allocations: 81.02 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/1.249, allocations: 4 kB / 1.115 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/1.249, allocations: 12 kB / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/1.249, allocations: 11.91 kB / 1.115 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.249, allocations: 7.938 kB / 1.115 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.471e-05/1.25, allocations: 93.89 kB / 1.115 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009937/1.251, allocations: 52.69 kB / 1.116 GB, free: 1.848 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.0003989/1.251, allocations: 174.9 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001572/1.251, allocations: 54.42 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.251, allocations: 0 / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.804e-05/1.251, allocations: 25.78 kB / 1.116 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/1.251, allocations: 11.98 kB / 1.116 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/1.252, allocations: 97.62 kB / 1.116 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/1.252, allocations: 0.7036 MB / 1.117 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of SimCode: time 1.553e-06/1.252, allocations: 0 / 1.117 GB, free: 0.75 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsPakistan.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsPakistan.pipe 2>&1)