Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") [: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.528/1.528, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001199/0.001199, allocations: 177.3 kB / 366.3 MB, free: 2.004 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.311/1.311, allocations: 205.2 MB / 0.6256 GB, free: 5.84 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.0008771/0.0008773, allocations: 86.5 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.803e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5181/0.5182, allocations: 116.3 MB / 0.9726 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.6763, allocations: 140.2 MB / 1.109 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.6766, allocations: 76.45 kB / 1.11 GB, free: 8.246 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: Performance of FrontEnd: time 0.009235/0.6859, allocations: 2.646 MB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.6859, allocations: 8 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB 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.0005242/0.6865, allocations: 410.4 kB / 1.112 GB, free: 5.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6865, allocations: 8.031 kB / 1.113 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.373e-05/0.6865, allocations: 7.906 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.6867, allocations: 169.2 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.6867, allocations: 11.98 kB / 1.113 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.6868, allocations: 8 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.525e-05/0.6869, allocations: 27.94 kB / 1.113 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.687, allocations: 55.94 kB / 1.113 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.687, allocations: 3.984 kB / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.687, allocations: 0 / 1.113 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.687, allocations: 4 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.6876, allocations: 281.3 kB / 1.113 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.033e-05/0.6877, allocations: 38.56 kB / 1.113 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.6877, allocations: 28.92 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.6877, allocations: 0 / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.796e-05/0.6878, allocations: 63.39 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.6879, allocations: 4 kB / 1.113 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002226/0.6881, allocations: 75.84 kB / 1.113 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.6881, allocations: 55.39 kB / 1.113 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.005e-05/0.6882, allocations: 108.9 kB / 1.113 GB, free: 4.098 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.6883, allocations: 29.7 kB / 1.113 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.6883, allocations: 88.31 kB / 1.114 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.6883, allocations: 23.69 kB / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.6884, allocations: 0 / 1.114 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6885, allocations: 314.8 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.964e-05/0.6886, allocations: 27.94 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.6886, allocations: 34.66 kB / 1.114 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.446e-05/0.6887, allocations: 27.97 kB / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.6887, allocations: 0 / 1.114 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001772/0.6889, allocations: 89.52 kB / 1.114 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.6889, allocations: 4 kB / 1.114 GB, free: 3.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6889, allocations: 8.062 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.6889, allocations: 0 / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.689, allocations: 11.98 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.6891, allocations: 4 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.6891, allocations: 7.906 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.6892, allocations: 5.484 kB / 1.114 GB, free: 3.398 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.84e-05/0.6893, allocations: 112.9 kB / 1.114 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.89e-05/0.6893, allocations: 11.89 kB / 1.114 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.6893, allocations: 8.375 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.6893, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.6894, allocations: 0.6562 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6894, allocations: 0 / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.6897, allocations: 323 kB / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.6897, allocations: 0 / 1.114 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.081e-05/0.6898, allocations: 11.98 kB / 1.114 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.6898, allocations: 0 / 1.114 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.6898, allocations: 0 / 1.114 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.6898, allocations: 8.781 kB / 1.115 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6898, allocations: 4 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001894/0.69, allocations: 171.4 kB / 1.115 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.69, allocations: 85.02 kB / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.04e-05/0.6901, allocations: 0 / 1.115 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.6902, allocations: 15.92 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.6902, allocations: 4 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6903, allocations: 7.984 kB / 1.115 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.829e-05/0.6903, allocations: 89.58 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000295/0.6906, allocations: 47.92 kB / 1.115 GB, free: 2.43 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.0004081/0.691, allocations: 175.7 kB / 1.115 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.6912, allocations: 48 kB / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6912, allocations: 0 / 1.115 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.829e-05/0.6913, allocations: 32.58 kB / 1.115 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.6915, allocations: 7.906 kB / 1.115 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.6918, allocations: 99.8 kB / 1.115 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.6921, allocations: 0.7043 MB / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.6921, allocations: 0 / 1.116 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of Templates: time 0.0041/0.6962, allocations: 1.637 MB / 1.118 GB, free: 15.73 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.sim & ./Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.pipe 2>&1)