Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.322/2.322, 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.002118/0.002117, allocations: 189.2 kB / 360.4 MB, free: 7.508 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.837/1.837, allocations: 205.2 MB / 0.6188 GB, free: 12.45 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.001191/0.00119, allocations: 84.61 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.238e-06, allocations: 0 / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5946/0.5946, allocations: 115.2 MB / 0.9628 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2164/0.8111, allocations: 139.3 MB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.8115, allocations: 85.62 kB / 1.099 GB, free: 1.363 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.01833/0.8298, allocations: 3.265 MB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.8299, allocations: 4.344 kB / 1.102 GB, free: 14.17 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.001019/0.8309, allocations: 469.2 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.831, allocations: 8.031 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.181e-05/0.8311, allocations: 19.8 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001788/0.8313, allocations: 175.5 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.8313, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.84e-05/0.8314, allocations: 5.609 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001949/0.8316, allocations: 43.92 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.8318, allocations: 73.66 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.8319, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.8319, allocations: 3.906 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.8319, allocations: 4 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.8329, allocations: 335.2 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.8332, allocations: 58.52 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.8333, allocations: 40.84 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.8334, allocations: 0.9375 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.8336, allocations: 83.38 kB / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.267e-06/0.8336, allocations: 0 / 1.103 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005304/0.8342, allocations: 109.5 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/0.8342, allocations: 63.5 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.8344, allocations: 130.1 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.8345, allocations: 29.7 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.094e-05/0.8345, allocations: 88.36 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.8346, allocations: 15.72 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.8346, allocations: 4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.8348, allocations: 322.8 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.8349, allocations: 24 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.835, allocations: 60.28 kB / 1.104 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000204/0.8353, allocations: 35.92 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8353, allocations: 4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004035/0.8357, allocations: 120.6 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8357, allocations: 8 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.8358, allocations: 4.094 kB / 1.104 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.8358, allocations: 7.984 kB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.8361, allocations: 19.92 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.8361, allocations: 4 kB / 1.104 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.8363, allocations: 11.94 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.8364, allocations: 7.984 kB / 1.104 GB, free: 11.6 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 0.0001419/0.8365, allocations: 120.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.8366, allocations: 9.219 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.242e-05/0.8367, allocations: 9.109 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.8367, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.8367, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8367, allocations: 3.984 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.8375, allocations: 383.1 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.8375, allocations: 4 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.8377, allocations: 11.94 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.8377, allocations: 0.7969 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.8377, allocations: 7.891 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8378, allocations: 5.375 kB / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8378, allocations: 0 / 1.105 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004346/0.8382, allocations: 209.7 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.006e-05/0.8383, allocations: 92.86 kB / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.8383, allocations: 0 / 1.105 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/0.8386, allocations: 11.98 kB / 1.105 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.8387, allocations: 7.984 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.8387, allocations: 3.938 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001134/0.8388, allocations: 107.6 kB / 1.105 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005204/0.8394, allocations: 59.94 kB / 1.105 GB, free: 10.5 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.0005071/0.8399, allocations: 168.1 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000355/0.8402, allocations: 83.92 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8403, allocations: 0 / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.8404, allocations: 48.12 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.8407, allocations: 13.77 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.8414, allocations: 128.2 kB / 1.106 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004081/0.8418, allocations: 0.7153 MB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of SimCode: time 1.172e-06/0.8418, allocations: 0 / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of Templates: time 0.007476/0.8493, allocations: 2.122 MB / 1.109 GB, free: 7.25 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)