Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") [: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.375/2.375, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001626/0.001626, allocations: 177.3 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.808/1.808, 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.001246/0.001245, allocations: 94.83 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.309e-05/1.328e-05, allocations: 4 kB / 0.8503 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5942/0.5942, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2601/0.8544, allocations: 139 MB / 1.099 GB, free: 1.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/0.8548, allocations: 82.47 kB / 1.099 GB, free: 1.652 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.01406/0.8688, allocations: 2.643 MB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8689, allocations: 0 / 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.0006629/0.8696, allocations: 418.3 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.8696, allocations: 8.531 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.8697, allocations: 8.438 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.8698, allocations: 176.6 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.8699, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.8699, allocations: 1.859 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.8701, allocations: 21.12 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.8702, allocations: 60.11 kB / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.8702, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.8703, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8703, allocations: 0 / 1.102 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006224/0.8709, allocations: 279.2 kB / 1.102 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.8711, allocations: 43.91 kB / 1.102 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.601e-05/0.8711, allocations: 21.61 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.8712, allocations: 4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.8713, allocations: 66.23 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.8714, allocations: 0.5 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003324/0.8717, allocations: 86.38 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.8718, allocations: 56.05 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.8719, allocations: 105.6 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.8719, allocations: 34.33 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.872, allocations: 84.81 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.872, allocations: 19.75 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.357e-06/0.872, allocations: 4.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.8722, allocations: 319.5 kB / 1.103 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.529e-05/0.8723, allocations: 20.31 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.005e-05/0.8724, allocations: 36.81 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.8725, allocations: 26.89 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8725, allocations: 4 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002722/0.8728, allocations: 89.52 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.8728, allocations: 4 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.8728, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8728, allocations: 4 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.873, allocations: 19.92 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.8731, allocations: 0 / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.8732, allocations: 15.97 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.8732, allocations: 4.562 kB / 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.0001023/0.8733, allocations: 108.8 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.8734, allocations: 7.906 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.144e-05/0.8734, allocations: 8.375 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.8734, allocations: 4 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8735, allocations: 0.5625 kB / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.8735, allocations: 0 / 1.103 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005603/0.874, allocations: 323 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.8741, allocations: 5.438 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.794e-05/0.8741, allocations: 7.984 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.8742, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.8742, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.8742, allocations: 3.906 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.8742, allocations: 0.6562 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002813/0.8745, allocations: 184.6 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.8746, allocations: 81.02 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.8746, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.8748, allocations: 11.92 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.8748, allocations: 3.938 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.8749, allocations: 9.484 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.119e-05/0.875, allocations: 92.81 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004785/0.8754, allocations: 47.92 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.0004829/0.8759, allocations: 166.9 kB / 1.104 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002253/0.8762, allocations: 55.92 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8762, allocations: 0 / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.8763, allocations: 25.56 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.0002612/0.8766, allocations: 13.91 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.877, allocations: 101.2 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.8774, allocations: 0.705 MB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.51e-07/0.8774, allocations: 0 / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.006144/0.8835, allocations: 1.633 MB / 1.107 GB, free: 9.227 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)