Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [: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.294/2.294, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001597/0.001596, allocations: 177.3 kB / 360.4 MB, free: 7.539 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.818/1.818, allocations: 205.2 MB / 0.6188 GB, free: 13.17 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.001336/0.001335, allocations: 93.25 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.526e-06/8.726e-06, allocations: 0 / 0.8502 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6026/0.6026, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2155/0.8181, allocations: 139.3 MB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.8185, allocations: 84.59 kB / 1.099 GB, free: 1.465 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.01621/0.8347, allocations: 2.882 MB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.8348, allocations: 0 / 1.102 GB, free: 14.63 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008133/0.8356, allocations: 453.2 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8357, allocations: 10.09 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.8358, allocations: 11.89 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.8359, allocations: 169.5 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.291e-05/0.836, allocations: 4 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.836, allocations: 4.75 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001452/0.8362, allocations: 28 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.8364, allocations: 78.17 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.8364, allocations: 0.6875 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.8364, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.8365, allocations: 4.469 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007499/0.8372, allocations: 300.5 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.8374, allocations: 55.23 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.8375, allocations: 32.78 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.8375, allocations: 4 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.8377, allocations: 80.5 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.8377, allocations: 0.6875 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004019/0.8381, allocations: 90.2 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.8382, allocations: 63.95 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.8383, allocations: 110 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.8384, allocations: 25.7 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.8385, allocations: 92.92 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8385, allocations: 16.48 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/0.8385, allocations: 0 / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.8387, allocations: 330.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.8388, allocations: 20 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.8389, allocations: 56.28 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.8391, allocations: 23.98 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8391, allocations: 4 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002981/0.8394, allocations: 102.1 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.8394, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.8394, allocations: 7.938 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.8395, allocations: 0 / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.8397, allocations: 19.92 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.8397, allocations: 5.812 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.8399, allocations: 15.98 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.8399, allocations: 4 kB / 1.104 GB, free: 12.25 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 (13): * Single equations (assignments): 13 * 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.0001181/0.84, allocations: 119 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.8401, allocations: 7.906 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.8401, allocations: 4.375 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.8401, allocations: 4 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8402, allocations: 3.906 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.8402, allocations: 3.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006201/0.8408, allocations: 355.1 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8408, allocations: 3.906 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.8409, allocations: 4 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.8409, allocations: 3.984 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.841, allocations: 4 kB / 1.104 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.841, allocations: 3.938 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.841, allocations: 2.188 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003638/0.8414, allocations: 199.4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.8414, allocations: 81.02 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.8415, allocations: 0 / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.8417, allocations: 11.98 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.8418, allocations: 3.906 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.8418, allocations: 7.984 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.396e-05/0.8419, allocations: 98.41 kB / 1.105 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004832/0.8424, allocations: 51.92 kB / 1.105 GB, free: 11.21 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 (8): * Single equations (assignments): 4 * 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.0004699/0.8428, allocations: 165.7 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.8431, allocations: 59.98 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.8432, allocations: 192 / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.8433, allocations: 51.88 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.8436, allocations: 7.984 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004895/0.8441, allocations: 112.3 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003416/0.8445, allocations: 0.7075 MB / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.8445, allocations: 0 / 1.106 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of Templates: time 0.007584/0.8521, allocations: 1.903 MB / 1.108 GB, free: 8.223 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)