Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.8 MB / 297.1 MB, free: 6.746 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.001082/0.001082, allocations: 173.3 kB / 366.3 MB, free: 2.023 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.39/1.39, allocations: 205.2 MB / 0.6256 GB, free: 5.855 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.0009551/0.0009552, allocations: 87.86 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3139/0.3149, allocations: 122.4 MB / 0.8591 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8124/1.127, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1939/1.321, allocations: 140.2 MB / 1.11 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/1.322, allocations: 85.16 kB / 1.11 GB, free: 8.262 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.00947/1.331, allocations: 3.05 MB / 1.113 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/1.331, allocations: 12 kB / 1.113 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/1.331, allocations: 7.906 kB / 1.113 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.331, allocations: 163 kB / 1.113 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/1.331, allocations: 8.641 kB / 1.113 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/1.331, allocations: 7.984 kB / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.272e-05/1.332, allocations: 27.92 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/1.332, allocations: 57.67 kB / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/1.332, allocations: 0 / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.332, allocations: 0 / 1.113 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.332, allocations: 4 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/1.332, allocations: 274 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.935e-05/1.332, allocations: 42.58 kB / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.162e-05/1.332, allocations: 32.91 kB / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/1.332, allocations: 0 / 1.113 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.492e-05/1.332, allocations: 63.39 kB / 1.113 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/1.332, allocations: 0 / 1.113 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002507/1.333, allocations: 77.66 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/1.333, allocations: 56.06 kB / 1.113 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.441e-05/1.333, allocations: 119.7 kB / 1.113 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/1.333, allocations: 25.7 kB / 1.114 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/1.333, allocations: 88.31 kB / 1.114 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/1.333, allocations: 15.75 kB / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/1.333, allocations: 0 / 1.114 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.333, allocations: 322.8 kB / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/1.333, allocations: 20.69 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.559e-05/1.333, allocations: 42.52 kB / 1.114 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/1.333, allocations: 25.55 kB / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.333, allocations: 0 / 1.114 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001731/1.334, allocations: 89.52 kB / 1.114 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.334, allocations: 8 kB / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.334, allocations: 0 / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.334, allocations: 0 / 1.114 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/1.334, allocations: 21.08 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.334, allocations: 4 kB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/1.334, allocations: 7.906 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/1.334, allocations: 4 kB / 1.114 GB, free: 3.418 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 9.691e-05/1.334, allocations: 112.9 kB / 1.114 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.334, allocations: 3.906 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/1.334, allocations: 12.36 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.334, allocations: 4 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.334, allocations: 0 / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/1.334, allocations: 0 / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/1.334, allocations: 323 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.334, allocations: 0.9375 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.623e-05/1.334, allocations: 4 kB / 1.115 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/1.334, allocations: 3.984 kB / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/1.334, allocations: 0 / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/1.334, allocations: 15.84 kB / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/1.334, allocations: 0 / 1.115 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001903/1.335, allocations: 170 kB / 1.115 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003733/1.335, allocations: 0.5467 MB / 1.115 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/1.335, allocations: 85.02 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/1.335, allocations: 4 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/1.335, allocations: 10.23 kB / 1.115 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.335, allocations: 0 / 1.115 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/1.335, allocations: 11.92 kB / 1.115 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.263e-05/1.335, allocations: 91.28 kB / 1.115 GB, free: 1.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009986/1.336, allocations: 59.77 kB / 1.116 GB, free: 1.875 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.0003827/1.337, allocations: 163.5 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001433/1.337, allocations: 51.94 kB / 1.116 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/1.337, allocations: 4 kB / 1.116 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/1.337, allocations: 27.98 kB / 1.116 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/1.337, allocations: 6.969 kB / 1.116 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/1.338, allocations: 99.94 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/1.338, allocations: 0.7002 MB / 1.117 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/1.338, allocations: 0 / 1.117 GB, free: 0.7891 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK.fmu > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.pipe 2>&1)