Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [: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.449/1.449, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001119/0.001119, allocations: 173.3 kB / 366.3 MB, free: 2.008 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.252/1.252, allocations: 205.1 MB / 0.6256 GB, free: 5.844 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.00105/0.00105, allocations: 84.52 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.045e-06, allocations: 4 kB / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5205/0.5205, allocations: 116.3 MB / 0.9726 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1618/0.6823, allocations: 140.2 MB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.6826, allocations: 84.86 kB / 1.11 GB, free: 8.234 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.008494/0.6911, allocations: 2.639 MB / 1.112 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6911, allocations: 4 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.0005019/0.6916, allocations: 418.4 kB / 1.113 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6917, allocations: 12.02 kB / 1.113 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.6917, allocations: 7.906 kB / 1.113 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.6919, allocations: 175 kB / 1.113 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.497e-05/0.6919, allocations: 7.938 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.6919, allocations: 5.5 kB / 1.113 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.694e-05/0.692, allocations: 24 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.786e-05/0.6921, allocations: 53.67 kB / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6921, allocations: 0 / 1.113 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.6921, allocations: 3.984 kB / 1.113 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.6922, allocations: 4 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.6926, allocations: 277.3 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.101e-05/0.6927, allocations: 38.52 kB / 1.113 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.6927, allocations: 24.98 kB / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.6928, allocations: 0 / 1.113 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.554e-05/0.6928, allocations: 63.39 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.6929, allocations: 0 / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002157/0.6931, allocations: 85.64 kB / 1.113 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.6931, allocations: 55.41 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.868e-05/0.6932, allocations: 116 kB / 1.113 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.6932, allocations: 29.7 kB / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.6933, allocations: 81.55 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.6933, allocations: 27.67 kB / 1.114 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.754e-06/0.6933, allocations: 0 / 1.114 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6935, allocations: 318.8 kB / 1.114 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.641e-05/0.6935, allocations: 16 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.777e-05/0.6936, allocations: 47.42 kB / 1.114 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.101e-05/0.6936, allocations: 23.98 kB / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6937, allocations: 0 / 1.114 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001673/0.6938, allocations: 93.52 kB / 1.114 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.6938, allocations: 4 kB / 1.114 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.6939, allocations: 4 kB / 1.114 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.6939, allocations: 4.062 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.694, allocations: 19.92 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.694, allocations: 0.9375 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.6941, allocations: 7.906 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.6941, allocations: 5.562 kB / 1.114 GB, free: 3.379 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 8.239e-05/0.6942, allocations: 111 kB / 1.114 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.585e-05/0.6942, allocations: 11.91 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.17e-05/0.6943, allocations: 8.375 kB / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.6943, allocations: 0 / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6943, allocations: 0 / 1.114 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6943, allocations: 4 kB / 1.114 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.6946, allocations: 319 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.6946, allocations: 2.156 kB / 1.115 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.6947, allocations: 7.984 kB / 1.115 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.6947, allocations: 8.062 kB / 1.115 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.6947, allocations: 4 kB / 1.115 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6947, allocations: 3.906 kB / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6947, allocations: 0 / 1.115 GB, free: 2.859 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.6949, allocations: 171.4 kB / 1.115 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.695, allocations: 85.02 kB / 1.115 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.695, allocations: 3.938 kB / 1.115 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.78e-05/0.6951, allocations: 11.98 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.6951, allocations: 8.031 kB / 1.115 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6952, allocations: 11.92 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.147e-05/0.6952, allocations: 87.28 kB / 1.115 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002941/0.6955, allocations: 47.92 kB / 1.115 GB, free: 2.406 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.0003734/0.6959, allocations: 171.7 kB / 1.115 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.696, allocations: 51.92 kB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.696, allocations: 0 / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.6961, allocations: 24 kB / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.6963, allocations: 11.91 kB / 1.115 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.6966, allocations: 95.73 kB / 1.115 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003265/0.697, allocations: 0.7154 MB / 1.116 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.697, allocations: 1.688 kB / 1.116 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of Templates: time 0.003886/0.7008, allocations: 1.623 MB / 1.118 GB, free: 15.71 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)