Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.001125/0.001125, allocations: 177.3 kB / 316 MB, free: 3.379 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.2/1.2, allocations: 205.2 MB / 0.5667 GB, free: 15.72 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.0008391/0.0008394, allocations: 92.58 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3609/0.3618, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.5451, allocations: 106.3 MB / 0.8847 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/1.046, allocations: 134 MB / 1.015 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.046, allocations: 79.64 kB / 1.016 GB, free: 4.535 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.008813/1.055, allocations: 3.044 MB / 1.019 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/1.055, allocations: 12 kB / 1.019 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/1.055, allocations: 7.906 kB / 1.019 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.055, allocations: 174.9 kB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/1.055, allocations: 7.938 kB / 1.019 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/1.055, allocations: 4 kB / 1.019 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.483e-05/1.056, allocations: 21.56 kB / 1.019 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/1.056, allocations: 56.34 kB / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.056, allocations: 0 / 1.019 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.056, allocations: 7.906 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/1.056, allocations: 0 / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/1.056, allocations: 278.2 kB / 1.019 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.24e-05/1.056, allocations: 40.88 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/1.056, allocations: 27.11 kB / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/1.056, allocations: 0 / 1.019 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.559e-05/1.057, allocations: 69.14 kB / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.057, allocations: 0 / 1.019 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002412/1.057, allocations: 74.72 kB / 1.019 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/1.057, allocations: 63.45 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/1.057, allocations: 111.3 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/1.057, allocations: 29.69 kB / 1.019 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/1.057, allocations: 83.14 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/1.057, allocations: 18.69 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-06/1.057, allocations: 0 / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000106/1.057, allocations: 329.6 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.645e-05/1.057, allocations: 15.75 kB / 1.02 GB, free: 448 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/1.057, allocations: 36.88 kB / 1.02 GB, free: 408 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.695e-05/1.057, allocations: 19.38 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.057, allocations: 0 / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001564/1.057, allocations: 95.64 kB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/1.057, allocations: 12.06 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/1.057, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/1.058, allocations: 3.938 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.058, allocations: 16.48 kB / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/1.058, allocations: 0 / 1.02 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/1.058, allocations: 4 kB / 1.02 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/1.058, allocations: 8 kB / 1.02 GB, free: 264 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.067e-05/1.058, allocations: 123.4 kB / 1.02 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.487e-05/1.058, allocations: 7.891 kB / 1.02 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/1.058, allocations: 11.88 kB / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.058, allocations: 0 / 1.02 GB, free: 116 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/1.058, allocations: 3.938 kB / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.058, allocations: 0 / 1.02 GB, free: 112 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/1.058, allocations: 320 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.058, allocations: 3.938 kB / 1.021 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.619e-05/1.058, allocations: 11.98 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/1.058, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.058, allocations: 4 kB / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.058, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.058, allocations: 0 / 1.021 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001676/1.058, allocations: 168.9 kB / 1.021 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002803/1.059, allocations: 0.5578 MB / 1.021 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/1.059, allocations: 81.11 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/1.059, allocations: 7.891 kB / 1.021 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/1.059, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/1.059, allocations: 7.984 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.059, allocations: 3.5 kB / 1.021 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.835e-05/1.059, allocations: 91.98 kB / 1.021 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009157/1.06, allocations: 54.86 kB / 1.021 GB, free: 14.78 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.0003131/1.06, allocations: 170 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001236/1.06, allocations: 58.67 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.06, allocations: 128 / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/1.061, allocations: 26.69 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/1.061, allocations: 3.5 kB / 1.022 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/1.061, allocations: 105.8 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.061, allocations: 0.7036 MB / 1.023 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/1.061, allocations: 0 / 1.023 GB, free: 13.71 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)