Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.28/2.28, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001683/0.001682, allocations: 181.2 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001801/0.001801, allocations: 91.47 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.917e-06/9.077e-06, allocations: 0 / 0.8502 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.6286, allocations: 115.2 MB / 0.9628 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2135/0.8422, allocations: 139 MB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.8425, allocations: 84.88 kB / 1.099 GB, free: 1.645 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01404/0.8566, allocations: 2.642 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.8566, allocations: 3.094 kB / 1.101 GB, free: 15.07 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.0007076/0.8574, allocations: 415.7 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.8574, allocations: 8.031 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.8575, allocations: 7.906 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.8576, allocations: 174.7 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.8577, allocations: 4.703 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.8577, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00017/0.8579, allocations: 23.98 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.8581, allocations: 57.67 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.8581, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.8581, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.8581, allocations: 0.6562 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005999/0.8587, allocations: 283.3 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.8589, allocations: 40.39 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.22e-05/0.859, allocations: 20.98 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.859, allocations: 7.984 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001299/0.8591, allocations: 66.08 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.564e-06/0.8591, allocations: 0.7031 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003077/0.8595, allocations: 81.52 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.8595, allocations: 52.25 kB / 1.102 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.8596, allocations: 114.5 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.8597, allocations: 25.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.8597, allocations: 84.83 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.8598, allocations: 28.73 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.8598, allocations: 0 / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.86, allocations: 319.3 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.963e-05/0.86, allocations: 24.52 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.171e-05/0.8601, allocations: 39.03 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.8603, allocations: 27.02 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8603, allocations: 0 / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002593/0.8605, allocations: 89.53 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.8606, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8606, allocations: 3.984 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8606, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.8608, allocations: 10.38 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8608, allocations: 3.938 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.861, allocations: 23.8 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.861, allocations: 0 / 1.103 GB, free: 12.88 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.0001006/0.8611, allocations: 108.8 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.8611, allocations: 8.656 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.8612, allocations: 8.375 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.8612, allocations: 4 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.8612, allocations: 3.984 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.8612, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004872/0.8617, allocations: 323 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.8618, allocations: 4 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.04e-05/0.8618, allocations: 4 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.8618, allocations: 0.7969 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.8619, allocations: 3.984 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8619, allocations: 3.906 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8619, allocations: 0 / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002833/0.8622, allocations: 179.4 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.8623, allocations: 81.02 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.8623, allocations: 5.938 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.8625, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.8625, allocations: 7.984 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.8625, allocations: 7.938 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.006e-05/0.8626, allocations: 95.2 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004505/0.8631, allocations: 47.94 kB / 1.104 GB, free: 11.91 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.0004595/0.8636, allocations: 168.7 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.8638, allocations: 51.92 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8638, allocations: 0 / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.336e-05/0.8639, allocations: 32.11 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.8642, allocations: 15.89 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004263/0.8646, allocations: 97.83 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.865, allocations: 0.6997 MB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of SimCode: time 1.092e-06/0.8651, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.006159/0.8712, allocations: 1.639 MB / 1.107 GB, free: 9.223 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)