Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") [: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.332/2.332, 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.001633/0.001632, allocations: 181.3 kB / 360.4 MB, free: 7.48 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.76/1.76, 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.001601/0.0016, allocations: 99.56 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.446e-06, allocations: 0 / 0.8502 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6536, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/0.8991, allocations: 139.3 MB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.8995, allocations: 84.5 kB / 1.099 GB, free: 1.301 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.01623/0.9157, allocations: 2.894 MB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9158, allocations: 4.438 kB / 1.102 GB, free: 14.47 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.0007394/0.9165, allocations: 452 kB / 1.102 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9166, allocations: 12.02 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.987e-05/0.9167, allocations: 8.906 kB / 1.102 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.9168, allocations: 167.7 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.9169, allocations: 4 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.9169, allocations: 4.719 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001774/0.9171, allocations: 35.92 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.9173, allocations: 66.34 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.9173, allocations: 0.5312 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.9174, allocations: 7.328 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.9174, allocations: 3.906 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/0.9181, allocations: 296.3 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.9183, allocations: 62.52 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.9184, allocations: 32.84 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.9184, allocations: 4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.9186, allocations: 82.09 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.9186, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004012/0.9191, allocations: 93.58 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.9191, allocations: 55.41 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.9192, allocations: 113 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.9193, allocations: 29.7 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.9194, allocations: 92.03 kB / 1.103 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.9194, allocations: 19.75 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.9194, allocations: 0 / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.9196, allocations: 322.8 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.641e-05/0.9196, allocations: 20 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/0.9198, allocations: 52.28 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.9199, allocations: 24 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9199, allocations: 0 / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002959/0.9202, allocations: 102.3 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.9202, allocations: 11.94 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9202, allocations: 0 / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.9203, allocations: 12.03 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.9205, allocations: 15.98 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.9205, allocations: 4 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.9207, allocations: 9.594 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/0.9207, allocations: 4.656 kB / 1.104 GB, free: 12.09 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.0001718/0.9209, allocations: 116.7 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.9209, allocations: 11.91 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.921, allocations: 13.17 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.921, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.921, allocations: 3.906 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.921, allocations: 0 / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.9217, allocations: 354.1 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.9217, allocations: 3.906 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.9218, allocations: 8 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.9218, allocations: 4 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.9218, allocations: 7.922 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9218, allocations: 0 / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9219, allocations: 1.719 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003624/0.9222, allocations: 195.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.9223, allocations: 85.02 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.9224, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.9226, allocations: 11.98 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.9226, allocations: 11.91 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.9227, allocations: 7.984 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.074e-05/0.9227, allocations: 94.41 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004983/0.9232, allocations: 55.91 kB / 1.105 GB, free: 11.05 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.0005011/0.9238, allocations: 158.5 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002864/0.9241, allocations: 67.97 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9241, allocations: 7.875 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.9242, allocations: 32 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.9245, allocations: 13.53 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.9251, allocations: 112.5 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.9255, allocations: 0.7114 MB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of SimCode: time 1.112e-06/0.9255, allocations: 0 / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of Templates: time 0.006914/0.9324, allocations: 1.917 MB / 1.108 GB, free: 8.043 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)