Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [: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.0.1-maint.8.0.x/package.mo): time 1.573/1.573, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001141/0.001141, allocations: 187.3 kB / 361.1 MB, free: 7.094 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.337/1.337, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008832/0.0008835, allocations: 97.81 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.378e-06/9.408e-06, allocations: 4 kB / 0.8511 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5724/0.5724, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.7294, allocations: 139.2 MB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.7297, allocations: 81.12 kB / 1.1 GB, free: 0.7656 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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: Performance of FrontEnd: time 0.00845/0.7382, allocations: 2.651 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.7382, allocations: 0 / 1.102 GB, free: 14.18 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.0004713/0.7387, allocations: 415.9 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.7387, allocations: 9.125 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.7387, allocations: 7.906 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.7389, allocations: 167.6 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.7389, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.739, allocations: 5.922 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.419e-05/0.739, allocations: 25.48 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.7392, allocations: 61.59 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.7392, allocations: 0.7812 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.7392, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7392, allocations: 1.203 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.7396, allocations: 275.3 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.934e-05/0.7397, allocations: 39.8 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.7398, allocations: 25.52 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.7398, allocations: 0.7188 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.357e-05/0.7399, allocations: 68.2 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.7399, allocations: 1.109 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002281/0.7401, allocations: 83.91 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.7402, allocations: 56.03 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.378e-05/0.7403, allocations: 114.4 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.7403, allocations: 26.23 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.7403, allocations: 84.95 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.7404, allocations: 19.73 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.7404, allocations: 4.938 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7405, allocations: 318.8 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.7405, allocations: 16.72 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.988e-05/0.7406, allocations: 39.25 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.499e-05/0.7407, allocations: 25.14 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7407, allocations: 9.031 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000159/0.7408, allocations: 81.59 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.7409, allocations: 8.5 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7409, allocations: 0 / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.7409, allocations: 4.484 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.741, allocations: 17 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.741, allocations: 0 / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.7411, allocations: 15.95 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.7411, allocations: 5.125 kB / 1.104 GB, free: 11.99 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 7.581e-05/0.7412, allocations: 109.7 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.695e-05/0.7412, allocations: 7.906 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.7413, allocations: 4.375 kB / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7413, allocations: 0 / 1.104 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.7413, allocations: 3.984 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7413, allocations: 4 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.7416, allocations: 323.5 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7416, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.817e-05/0.7417, allocations: 8 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.7417, allocations: 1.562 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.7417, allocations: 7.984 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.7417, allocations: 3.906 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7417, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001786/0.7419, allocations: 177.5 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.7419, allocations: 85.02 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.742, allocations: 4.562 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.7421, allocations: 4 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.513e-05/0.7421, allocations: 11.92 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.7421, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.124e-05/0.7422, allocations: 95.27 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002888/0.7425, allocations: 47.94 kB / 1.105 GB, free: 11.03 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.0003229/0.7428, allocations: 174.4 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.743, allocations: 59.91 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.743, allocations: 128 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.654e-05/0.743, allocations: 28 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.7432, allocations: 17.38 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003101/0.7435, allocations: 96.58 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002715/0.7438, allocations: 0.7044 MB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.7438, allocations: 0 / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of Templates: time 0.003949/0.7478, allocations: 1.633 MB / 1.108 GB, free: 8.34 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)