Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") [: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.041/2.041, 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.001635/0.001635, allocations: 177.3 kB / 319.6 MB, free: 3.309 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.896/1.896, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001396/0.001396, allocations: 93.33 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.666e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2049, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6756/0.8806, allocations: 133.6 MB / 1.019 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/0.881, allocations: 78.7 kB / 1.019 GB, free: 4.648 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.01306/0.894, allocations: 2.554 MB / 1.021 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.8941, allocations: 0 / 1.021 GB, free: 2.531 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.0006134/0.8947, allocations: 431.8 kB / 1.022 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.8948, allocations: 8.031 kB / 1.022 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.8948, allocations: 11.89 kB / 1.022 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.895, allocations: 181.6 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/0.8951, allocations: 4 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.8951, allocations: 0 / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001133/0.8952, allocations: 27.06 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.8954, allocations: 59.05 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8954, allocations: 0 / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.8955, allocations: 3.984 kB / 1.022 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.8955, allocations: 11.89 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.896, allocations: 260.6 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.8962, allocations: 45.55 kB / 1.022 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.275e-05/0.8962, allocations: 19.36 kB / 1.022 GB, free: 1.398 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.8963, allocations: 7.938 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.8964, allocations: 68.52 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.8965, allocations: 0 / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003024/0.8968, allocations: 78.39 kB / 1.022 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.8968, allocations: 55.41 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.8969, allocations: 112 kB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.897, allocations: 29.27 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.897, allocations: 84.33 kB / 1.023 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.8971, allocations: 23.17 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/0.8971, allocations: 0 / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8973, allocations: 322.3 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.272e-05/0.8973, allocations: 19.11 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.763e-05/0.8974, allocations: 48.78 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.241e-05/0.8975, allocations: 23.23 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8975, allocations: 3.938 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.8978, allocations: 88.78 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.8978, allocations: 4 kB / 1.023 GB, free: 444 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.8978, allocations: 4 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8978, allocations: 3.984 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.898, allocations: 16.16 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.898, allocations: 4 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.8981, allocations: 7.984 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.8982, allocations: 4 kB / 1.023 GB, free: 404 kB / 0.6355 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.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.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.0001044/0.8983, allocations: 116.4 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.8983, allocations: 7.906 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.157e-05/0.8984, allocations: 12.38 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8984, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8984, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.8984, allocations: 3.984 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.8989, allocations: 323.7 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.8989, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.838e-05/0.899, allocations: 4 kB / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.899, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.899, allocations: 0 / 1.024 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.899, allocations: 11.98 kB / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.899, allocations: 0 / 1.024 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002565/0.8993, allocations: 172.8 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.8994, allocations: 81.02 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.8994, allocations: 4 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.8996, allocations: 4 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.8996, allocations: 11.89 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.8997, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.158e-05/0.8997, allocations: 102.2 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004534/0.9002, allocations: 47.88 kB / 1.024 GB, free: 15.47 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 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.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.0004742/0.9007, allocations: 173.9 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.9009, allocations: 46.67 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9009, allocations: 4 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.9011, allocations: 25.94 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.9014, allocations: 7.922 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.9018, allocations: 112.1 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003839/0.9022, allocations: 0.7078 MB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/0.9022, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.005976/0.9082, allocations: 1.614 MB / 1.027 GB, free: 12.79 MB / 0.6511 GB