Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.252/2.252, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001715/0.001714, allocations: 177.3 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.127/2.127, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001311/0.001311, allocations: 89.52 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.779e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1956, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6152/0.8108, allocations: 134 MB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.8112, allocations: 82.12 kB / 1.019 GB, free: 4.324 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.01608/0.8273, allocations: 2.899 MB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.8273, allocations: 0 / 1.022 GB, free: 1.902 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007655/0.8281, allocations: 448.5 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.8281, allocations: 12.03 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.29e-05/0.8282, allocations: 15.75 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.8284, allocations: 170.5 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.8284, allocations: 4 kB / 1.022 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.8285, allocations: 7.906 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001454/0.8286, allocations: 29.05 kB / 1.023 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.8288, allocations: 71.72 kB / 1.023 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.8288, allocations: 4 kB / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.8289, allocations: 0 / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8289, allocations: 0 / 1.023 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008001/0.8297, allocations: 302 kB / 1.023 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.8299, allocations: 52.75 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.83, allocations: 26.98 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.83, allocations: 11.59 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.8302, allocations: 85.33 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.104e-06/0.8302, allocations: 0 / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0003949/0.8306, allocations: 89.64 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.8307, allocations: 59.03 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.8308, allocations: 113.9 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.8308, allocations: 29.7 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.8309, allocations: 95.05 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.8309, allocations: 15.5 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.015e-05/0.831, allocations: 0 / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.8312, allocations: 322 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.422e-05/0.8312, allocations: 19.31 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.8314, allocations: 51.22 kB / 1.024 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.8315, allocations: 35.61 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.8315, allocations: 0 / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002856/0.8318, allocations: 102.7 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.8318, allocations: 11.03 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.8318, allocations: 0 / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.8319, allocations: 4.688 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.8321, allocations: 15.92 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.8321, allocations: 8.094 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.8323, allocations: 4.047 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.8323, allocations: 11.3 kB / 1.024 GB, free: 15.67 MB / 0.6511 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.0001228/0.8324, allocations: 112.9 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.8325, allocations: 11.84 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.794e-05/0.8325, allocations: 16.31 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.8325, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8326, allocations: 4 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.8326, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006695/0.8333, allocations: 356.5 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8333, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.8334, allocations: 8 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8334, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.8334, allocations: 3.984 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.8334, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8334, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003658/0.8338, allocations: 206.9 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.8339, allocations: 85.02 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.8339, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.8342, allocations: 7.984 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.268e-05/0.8342, allocations: 4 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.8343, allocations: 11.98 kB / 1.025 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.544e-05/0.8343, allocations: 89.66 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000508/0.8349, allocations: 55.42 kB / 1.025 GB, free: 14.69 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: 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.0004974/0.8354, allocations: 161.2 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.8357, allocations: 72.48 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8357, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.8358, allocations: 38.5 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.8361, allocations: 10.73 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005113/0.8366, allocations: 116.5 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/0.8371, allocations: 0.7113 MB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 6.62e-07/0.8371, allocations: 4.188 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.006799/0.8439, allocations: 1.907 MB / 1.028 GB, free: 11.7 MB / 0.6511 GB