Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [: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.536/1.536, allocations: 285.5 MB / 292.8 MB, free: 9.883 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.001073/0.001074, allocations: 171.7 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 0.6195 GB, free: 2.891 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 88.47 kB / 0.7326 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 9.548e-06/9.578e-06, allocations: 5.406 kB / 0.8511 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2265, allocations: 115.3 MB / 0.9637 GB, free: 56.38 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6447/0.8713, allocations: 139.5 MB / 1.1 GB, free: 32.41 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.8716, allocations: 88.7 kB / 1.1 GB, free: 32.41 MB / 0.7136 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.0103/0.8819, allocations: 3.256 MB / 1.103 GB, free: 32.22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.605e-06/0.8819, allocations: 0 / 1.103 GB, free: 32.22 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000538/0.8825, allocations: 470.9 kB / 1.104 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.8825, allocations: 7.625 kB / 1.104 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.8826, allocations: 11.69 kB / 1.104 GB, free: 31.77 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.8827, allocations: 184 kB / 1.104 GB, free: 31.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.8827, allocations: 8.406 kB / 1.104 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.8828, allocations: 3.125 kB / 1.104 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/0.8829, allocations: 39.33 kB / 1.104 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.883, allocations: 77.78 kB / 1.104 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.883, allocations: 0 / 1.104 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.8831, allocations: 3.906 kB / 1.104 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8831, allocations: 0 / 1.104 GB, free: 31.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.8836, allocations: 330.9 kB / 1.104 GB, free: 31.28 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.729e-05/0.8837, allocations: 59.09 kB / 1.104 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.802e-05/0.8838, allocations: 35.83 kB / 1.104 GB, free: 31.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.8838, allocations: 7.281 kB / 1.104 GB, free: 31.24 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.884, allocations: 88.77 kB / 1.104 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.884, allocations: 0 / 1.104 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003115/0.8843, allocations: 113.2 kB / 1.105 GB, free: 31.15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.8843, allocations: 55.34 kB / 1.105 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.8844, allocations: 132.1 kB / 1.105 GB, free: 30.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.8844, allocations: 25.7 kB / 1.105 GB, free: 30.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.267e-05/0.8845, allocations: 94.77 kB / 1.105 GB, free: 30.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8845, allocations: 25.16 kB / 1.105 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.8845, allocations: 0 / 1.105 GB, free: 30.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/0.8846, allocations: 323 kB / 1.105 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.691e-05/0.8846, allocations: 25.84 kB / 1.105 GB, free: 30.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.8847, allocations: 55.94 kB / 1.105 GB, free: 30.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.8848, allocations: 41.81 kB / 1.105 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.8848, allocations: 0 / 1.105 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001964/0.885, allocations: 121.9 kB / 1.105 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.885, allocations: 4.641 kB / 1.105 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.885, allocations: 3.188 kB / 1.105 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.8851, allocations: 0 / 1.105 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.8852, allocations: 30.42 kB / 1.105 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8852, allocations: 3.188 kB / 1.105 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.8853, allocations: 11.89 kB / 1.105 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.8854, allocations: 14.36 kB / 1.105 GB, free: 30.44 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.086e-05/0.8855, allocations: 111.5 kB / 1.106 GB, free: 30.33 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.8855, allocations: 11.06 kB / 1.106 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.8855, allocations: 14.33 kB / 1.106 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.8855, allocations: 0 / 1.106 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8855, allocations: 0 / 1.106 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.8855, allocations: 3.219 kB / 1.106 GB, free: 30.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.886, allocations: 372.9 kB / 1.106 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.886, allocations: 96 / 1.106 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.8861, allocations: 19.12 kB / 1.106 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8861, allocations: 7.75 kB / 1.106 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.8861, allocations: 1.375 kB / 1.106 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.8861, allocations: 8.625 kB / 1.106 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.8861, allocations: 0.5469 kB / 1.106 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000228/0.8863, allocations: 206.2 kB / 1.106 GB, free: 29.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.8864, allocations: 88.8 kB / 1.106 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.8864, allocations: 0.9375 kB / 1.106 GB, free: 29.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.8866, allocations: 15.34 kB / 1.106 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.8866, allocations: 8.094 kB / 1.106 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.8866, allocations: 8.391 kB / 1.106 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.574e-05/0.8867, allocations: 100.1 kB / 1.106 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003239/0.887, allocations: 55.72 kB / 1.106 GB, free: 29.7 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003666/0.8874, allocations: 186 kB / 1.107 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.8876, allocations: 80.53 kB / 1.107 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8876, allocations: 0 / 1.107 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.875e-05/0.8877, allocations: 42.78 kB / 1.107 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.888, allocations: 10.12 kB / 1.107 GB, free: 29.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.8884, allocations: 142.8 kB / 1.107 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.8887, allocations: 0.7108 MB / 1.108 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/0.8887, allocations: 0 / 1.108 GB, free: 44.79 MB / 0.7292 GB Notification: Performance of Templates: time 0.004437/0.8932, allocations: 2.137 MB / 1.11 GB, free: 44.61 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)