Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") [: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.089/2.089, allocations: 253.1 MB / 260.4 MB, free: 7.559 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.001626/0.001626, allocations: 185.2 kB / 319.6 MB, free: 3.316 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.914/1.914, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00125/0.00125, allocations: 97.06 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.265e-05/1.275e-05, allocations: 4 kB / 0.7843 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2156, allocations: 106.2 MB / 0.888 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7303/0.9459, allocations: 133.7 MB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.9463, allocations: 78.77 kB / 1.019 GB, free: 4.441 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.01389/0.9602, allocations: 2.652 MB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.9602, allocations: 0 / 1.021 GB, free: 2.242 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.0006302/0.9609, allocations: 443.2 kB / 1.022 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9609, allocations: 12.02 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.961, allocations: 7.906 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.9612, allocations: 178.9 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.9612, allocations: 3.938 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.9612, allocations: 5.125 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001165/0.9614, allocations: 26 kB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001531/0.9615, allocations: 64.69 kB / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.9616, allocations: 0 / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.9616, allocations: 0 / 1.022 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.9616, allocations: 4 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.9622, allocations: 277.1 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.9623, allocations: 36.77 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.9624, allocations: 27.53 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.9624, allocations: 0 / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.9626, allocations: 74.33 kB / 1.022 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/0.9626, allocations: 4 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002915/0.9629, allocations: 90.69 kB / 1.023 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.9629, allocations: 51.41 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.9631, allocations: 117.2 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9631, allocations: 25.7 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.9632, allocations: 91.86 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.9632, allocations: 15.73 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.9632, allocations: 0 / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.9634, allocations: 322.4 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.9634, allocations: 14.81 kB / 1.023 GB, free: 300 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.391e-05/0.9635, allocations: 50.95 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.184e-05/0.9636, allocations: 26.98 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9636, allocations: 0 / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000219/0.9638, allocations: 84.22 kB / 1.023 GB, free: 136 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.9639, allocations: 6.812 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9639, allocations: 4 kB / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9639, allocations: 0 / 1.023 GB, free: 128 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.9641, allocations: 19.92 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.9641, allocations: 4 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.9642, allocations: 19.98 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.9643, allocations: 4 kB / 1.023 GB, free: 80 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.p,bli.p,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.0001074/0.9644, allocations: 105 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.871e-05/0.9644, allocations: 11.84 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.9645, allocations: 4.375 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9645, allocations: 4.031 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.9645, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.9645, allocations: 4 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004774/0.965, allocations: 328.3 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.965, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.492e-05/0.9651, allocations: 15.17 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9651, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.751e-05/0.9651, allocations: 3.906 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.9651, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9652, allocations: 0 / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002563/0.9654, allocations: 184.7 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.9655, allocations: 81.02 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.9655, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.9657, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.9658, allocations: 8.734 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.9658, allocations: 4 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.187e-05/0.9659, allocations: 98.45 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004613/0.9663, allocations: 47.38 kB / 1.024 GB, free: 15.16 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.p,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.0004583/0.9668, allocations: 160 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.967, allocations: 49.56 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.9671, allocations: 4.312 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.9672, allocations: 42.34 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.9675, allocations: 11.84 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.968, allocations: 107.5 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.9683, allocations: 0.7065 MB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of SimCode: time 8.62e-07/0.9683, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.00623/0.9746, allocations: 1.668 MB / 1.027 GB, free: 12.43 MB / 0.6511 GB