Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") [: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 7.0.1/package.mo): time 2.118/2.118, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 185.2 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001273, allocations: 104.8 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.05e-05/1.069e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2052/0.2053, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6814/0.8867, allocations: 134.2 MB / 1.019 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.887, allocations: 79.52 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01931/0.9064, allocations: 3.489 MB / 1.023 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.9064, allocations: 0 / 1.023 GB, free: 1.289 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009574/0.9074, allocations: 0.518 MB / 1.023 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.9074, allocations: 15.97 kB / 1.023 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.9075, allocations: 11.81 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.9077, allocations: 185.8 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.9078, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.725e-05/0.9078, allocations: 8 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002088/0.908, allocations: 51.92 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.9083, allocations: 86.69 kB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.9083, allocations: 0 / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.9084, allocations: 0 / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.9084, allocations: 5.125 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.9096, allocations: 389.4 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.9098, allocations: 59.88 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.91, allocations: 45.91 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.91, allocations: 0 / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.9103, allocations: 94.8 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.9103, allocations: 7.938 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.000489/0.9108, allocations: 116.9 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9108, allocations: 55.41 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.911, allocations: 135.8 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.911, allocations: 29.58 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.399e-05/0.9111, allocations: 87.62 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.94e-05/0.9111, allocations: 22.95 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.172e-05/0.9112, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.9114, allocations: 322.7 kB / 1.025 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.9115, allocations: 30.06 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.9116, allocations: 58.83 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.9117, allocations: 30.55 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9118, allocations: 4 kB / 1.025 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003319/0.9121, allocations: 113.5 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.9121, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9122, allocations: 4 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.9122, allocations: 0 / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.9125, allocations: 27.97 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.9125, allocations: 4.125 kB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.9127, allocations: 23.83 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.9128, allocations: 7.562 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$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.0001293/0.9129, allocations: 108.9 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.9129, allocations: 7.906 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.095e-05/0.913, allocations: 16.12 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.913, allocations: 7.906 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.913, allocations: 3.984 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.9131, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007664/0.9138, allocations: 396 kB / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.9139, allocations: 0 / 1.026 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.914, allocations: 23.86 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.9141, allocations: 0 / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.767e-05/0.9141, allocations: 4 kB / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9141, allocations: 192 / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.9141, allocations: 0 / 1.026 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004573/0.9146, allocations: 223.2 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.9147, allocations: 85.02 kB / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.287e-05/0.9147, allocations: 0 / 1.026 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/0.9152, allocations: 31.97 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.567e-05/0.9153, allocations: 10.8 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.9153, allocations: 7.984 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001084/0.9154, allocations: 110 kB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000557/0.916, allocations: 58.06 kB / 1.026 GB, free: 13.7 MB / 0.6511 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: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0005271/0.9165, allocations: 175.1 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.9169, allocations: 84.73 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.9169, allocations: 0 / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.9171, allocations: 48.42 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.9174, allocations: 9.25 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.9181, allocations: 144.5 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004242/0.9185, allocations: 0.7153 MB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/0.9186, allocations: 4.062 kB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of Templates: time 0.007613/0.9262, allocations: 2.168 MB / 1.029 GB, free: 10.41 MB / 0.6511 GB