Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.456/1.456, allocations: 289.8 MB / 297.1 MB, free: 6.754 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 177.3 kB / 366.3 MB, free: 2.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 0.6256 GB, free: 5.914 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008664/0.0008664, allocations: 87.56 kB / 0.7395 GB, free: 39.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.052e-06/6.072e-06, allocations: 0 / 0.859 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5821/0.5821, allocations: 116.3 MB / 0.9726 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.7524, allocations: 140.1 MB / 1.109 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.7527, allocations: 79.95 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.008595/0.7613, allocations: 2.554 MB / 1.112 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.7613, allocations: 0 / 1.112 GB, free: 5.852 MB / 0.7136 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.0005599/0.7619, allocations: 429.7 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.762, allocations: 12.03 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.762, allocations: 7.906 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.7622, allocations: 178.9 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.7622, allocations: 4 kB / 1.113 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.7622, allocations: 4 kB / 1.113 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.485e-05/0.7623, allocations: 23.94 kB / 1.113 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.7624, allocations: 56.14 kB / 1.113 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.7624, allocations: 0 / 1.113 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.7624, allocations: 0 / 1.113 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.7625, allocations: 6.531 kB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.7629, allocations: 273.3 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.763, allocations: 34.58 kB / 1.113 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.7631, allocations: 28.92 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.7631, allocations: 0 / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.798e-05/0.7632, allocations: 63.39 kB / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.7632, allocations: 0 / 1.113 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.7634, allocations: 85.64 kB / 1.113 GB, free: 4.504 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.7635, allocations: 51.41 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.969e-05/0.7636, allocations: 112.9 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.7636, allocations: 29.7 kB / 1.113 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.7636, allocations: 84.33 kB / 1.113 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.7637, allocations: 19.73 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.7637, allocations: 0 / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7638, allocations: 318.8 kB / 1.114 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.7638, allocations: 19.94 kB / 1.114 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.7639, allocations: 55.22 kB / 1.114 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.764, allocations: 23.98 kB / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.764, allocations: 0 / 1.114 GB, free: 3.746 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001463/0.7641, allocations: 89.47 kB / 1.114 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7642, allocations: 4 kB / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.7642, allocations: 0 / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.7642, allocations: 4 kB / 1.114 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.7643, allocations: 15.98 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7643, allocations: 3.906 kB / 1.114 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.7644, allocations: 12.14 kB / 1.114 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7644, allocations: 4 kB / 1.114 GB, free: 3.609 MB / 0.7136 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 9.866e-05/0.7645, allocations: 114.4 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.7645, allocations: 7.906 kB / 1.114 GB, free: 3.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/0.7646, allocations: 8.375 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7646, allocations: 4 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7646, allocations: 0 / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7646, allocations: 3.906 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.7649, allocations: 325.5 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7649, allocations: 3.938 kB / 1.114 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.113e-05/0.765, allocations: 4 kB / 1.114 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.765, allocations: 7.906 kB / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.765, allocations: 0 / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.765, allocations: 0 / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.765, allocations: 0 / 1.114 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001595/0.7652, allocations: 171.4 kB / 1.115 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.7652, allocations: 89 kB / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.7653, allocations: 48 / 1.115 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.7654, allocations: 9.672 kB / 1.115 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.7654, allocations: 11.98 kB / 1.115 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.7654, allocations: 3.938 kB / 1.115 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.132e-05/0.7655, allocations: 91.27 kB / 1.115 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000281/0.7658, allocations: 43.94 kB / 1.115 GB, free: 2.645 MB / 0.7136 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.0003258/0.7661, allocations: 175.1 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.7662, allocations: 51.92 kB / 1.115 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7662, allocations: 0 / 1.115 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.543e-05/0.7663, allocations: 24.31 kB / 1.115 GB, free: 2.41 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.7665, allocations: 20.64 kB / 1.115 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.7668, allocations: 98.77 kB / 1.115 GB, free: 2.273 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.7672, allocations: 0.7035 MB / 1.116 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7672, allocations: 0 / 1.116 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.004381/0.7716, allocations: 1.635 MB / 1.117 GB, free: 15.95 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)