Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") [: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.452/1.452, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001035/0.001035, allocations: 185.3 kB / 366.3 MB, free: 1.965 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.221/1.221, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009095/0.0009095, allocations: 89.2 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.931e-06/5.961e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5762, allocations: 116.3 MB / 0.9726 GB, free: 68.87 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.7481, allocations: 140.2 MB / 1.11 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.7484, allocations: 88.36 kB / 1.11 GB, free: 8.211 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.009105/0.7575, allocations: 2.716 MB / 1.112 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.792e-06/0.7576, allocations: 0.5625 kB / 1.112 GB, free: 5.5 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004927/0.7581, allocations: 454.7 kB / 1.113 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.7581, allocations: 8.031 kB / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.7582, allocations: 7.906 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.7583, allocations: 180.8 kB / 1.113 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.7584, allocations: 4 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.7584, allocations: 8.75 kB / 1.113 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001034/0.7585, allocations: 31.98 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.7586, allocations: 73.59 kB / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7587, allocations: 0 / 1.113 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.7587, allocations: 5.688 kB / 1.113 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.7587, allocations: 4 kB / 1.113 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.7592, allocations: 289.3 kB / 1.113 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001039/0.7593, allocations: 50.58 kB / 1.113 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.7594, allocations: 36.84 kB / 1.113 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.7594, allocations: 0 / 1.113 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.7595, allocations: 87.41 kB / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.7595, allocations: 0 / 1.113 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002748/0.7598, allocations: 101.5 kB / 1.114 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.7599, allocations: 64.14 kB / 1.114 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.825e-05/0.76, allocations: 116.9 kB / 1.114 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.76, allocations: 25.7 kB / 1.114 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.76, allocations: 84.38 kB / 1.114 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.7601, allocations: 27.88 kB / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.7601, allocations: 0 / 1.114 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7602, allocations: 322.8 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.7602, allocations: 16 kB / 1.114 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.009e-05/0.7603, allocations: 62.66 kB / 1.114 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.216e-05/0.7604, allocations: 27.98 kB / 1.114 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.7604, allocations: 3.938 kB / 1.114 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001596/0.7605, allocations: 105.4 kB / 1.114 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.7606, allocations: 8 kB / 1.114 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7606, allocations: 0 / 1.114 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7606, allocations: 4 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.7607, allocations: 24.86 kB / 1.114 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7607, allocations: 8.156 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.7608, allocations: 11.89 kB / 1.114 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.7608, allocations: 4 kB / 1.114 GB, free: 3.059 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.986e-05/0.7609, allocations: 112.9 kB / 1.115 GB, free: 2.941 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.7609, allocations: 7.906 kB / 1.115 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.761, allocations: 12.47 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.761, allocations: 7.984 kB / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.761, allocations: 0 / 1.115 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.761, allocations: 3.984 kB / 1.115 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004039/0.7614, allocations: 352 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.7614, allocations: 0 / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.88e-05/0.7615, allocations: 11.98 kB / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.7615, allocations: 0 / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.7615, allocations: 0 / 1.115 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.7615, allocations: 4.469 kB / 1.115 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7615, allocations: 7.984 kB / 1.115 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002893/0.7618, allocations: 200.7 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.7619, allocations: 85 kB / 1.115 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.7619, allocations: 4 kB / 1.115 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.762, allocations: 4 kB / 1.115 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.839e-05/0.7621, allocations: 3.984 kB / 1.115 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.7621, allocations: 12 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.886e-05/0.7622, allocations: 97.64 kB / 1.115 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003168/0.7625, allocations: 47.92 kB / 1.115 GB, free: 2.02 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: 8 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0004075/0.7629, allocations: 177.6 kB / 1.116 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.7631, allocations: 79.86 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7631, allocations: 1.688 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.7632, allocations: 35.94 kB / 1.116 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.7634, allocations: 9.844 kB / 1.116 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.7638, allocations: 119.5 kB / 1.116 GB, free: 1.598 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/0.7641, allocations: 0.7117 MB / 1.116 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7641, allocations: 0 / 1.116 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of Templates: time 0.004697/0.7688, allocations: 1.873 MB / 1.118 GB, free: 15.03 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)