Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [: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.616/2.616, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.001713/0.001712, allocations: 185 kB / 319.6 MB, free: 3.285 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 1.954/1.954, allocations: 205.4 MB / 0.5704 GB, free: 15.02 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.001751/0.00175, allocations: 90.03 kB / 0.6746 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.807e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2061, allocations: 106.2 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6868/0.893, allocations: 133.7 MB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.8933, allocations: 83.38 kB / 1.019 GB, free: 4.559 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.01536/0.9087, allocations: 2.64 MB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.9088, allocations: 0 / 1.021 GB, free: 2.367 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000838/0.9096, allocations: 420.9 kB / 1.022 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.9097, allocations: 11.97 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.9098, allocations: 11.89 kB / 1.022 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.91, allocations: 174.9 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.75e-05/0.91, allocations: 4 kB / 1.022 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.9101, allocations: 4 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001521/0.9102, allocations: 24.25 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.9105, allocations: 55.11 kB / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.9105, allocations: 0 / 1.022 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.9106, allocations: 4.672 kB / 1.022 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.9106, allocations: 7.906 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007844/0.9114, allocations: 267.8 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.9116, allocations: 47.73 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.9117, allocations: 19.61 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.9117, allocations: 8 kB / 1.022 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.912, allocations: 66.89 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.287e-06/0.912, allocations: 0 / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.00046/0.9124, allocations: 83.33 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.9125, allocations: 51.41 kB / 1.022 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.9127, allocations: 111.8 kB / 1.023 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.305e-05/0.9128, allocations: 29.7 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.9129, allocations: 87.2 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.9129, allocations: 23.11 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.373e-05/0.913, allocations: 0 / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001841/0.9132, allocations: 314.3 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.9133, allocations: 19.31 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.9134, allocations: 45.5 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.9136, allocations: 30.77 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9136, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004345/0.9141, allocations: 84.91 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.9141, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.9142, allocations: 4 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.9142, allocations: 4 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.9145, allocations: 15.3 kB / 1.023 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.9145, allocations: 4 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.9147, allocations: 12.05 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.115e-05/0.9148, allocations: 4 kB / 1.023 GB, free: 276 kB / 0.6355 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.0001501/0.9149, allocations: 111.1 kB / 1.023 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.915, allocations: 7.906 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.421e-05/0.9151, allocations: 11 kB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.9151, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.9151, allocations: 0 / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9151, allocations: 3.984 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008589/0.916, allocations: 322.2 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.916, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.9162, allocations: 11.92 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-06/0.9162, allocations: 3.938 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.9162, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.9163, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9163, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004409/0.9167, allocations: 188.3 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.9168, allocations: 81.02 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.44e-05/0.9169, allocations: 7.984 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.9172, allocations: 4 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.9173, allocations: 3.984 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.9173, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001005/0.9174, allocations: 94.56 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008893/0.9183, allocations: 51.86 kB / 1.024 GB, free: 15.35 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: 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.0006683/0.919, allocations: 172.6 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.9194, allocations: 49.17 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.9194, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9195, allocations: 30.62 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.92, allocations: 7.125 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005816/0.9206, allocations: 98.36 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/0.9211, allocations: 0.7036 MB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of SimCode: time 1.523e-06/0.9211, allocations: 0 / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of Templates: time 0.008096/0.9292, allocations: 1.648 MB / 1.027 GB, free: 12.66 MB / 0.6511 GB