Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.284/2.284, allocations: 284.9 MB / 292.2 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 185.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001202/0.001201, allocations: 93.17 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.744e-06/7.905e-06, allocations: 0 / 0.8502 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6115/0.6115, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2511/0.8628, allocations: 139.1 MB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.8631, allocations: 72.66 kB / 1.099 GB, free: 1.574 MB / 0.698 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0146/0.8777, allocations: 2.726 MB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.8778, allocations: 0 / 1.101 GB, free: 14.91 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.0007398/0.8785, allocations: 455.2 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.8786, allocations: 8.531 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.8787, allocations: 8.594 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.8788, allocations: 177.9 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.199e-05/0.8789, allocations: 8 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.8789, allocations: 7.984 kB / 1.102 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000151/0.8791, allocations: 28 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.8793, allocations: 70.59 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.8794, allocations: 0 / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.8794, allocations: 7.891 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.8794, allocations: 4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006707/0.8801, allocations: 291.5 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.8803, allocations: 51.19 kB / 1.102 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.8805, allocations: 34.11 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.8805, allocations: 0.8438 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002023/0.8807, allocations: 89.66 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.8807, allocations: 0.75 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004291/0.8812, allocations: 101.6 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.8812, allocations: 52.09 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.8814, allocations: 120.7 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.8814, allocations: 26.45 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.8815, allocations: 88.38 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.8815, allocations: 24.23 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.8816, allocations: 0.5312 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.8817, allocations: 319.6 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.091e-05/0.8818, allocations: 23.98 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.8819, allocations: 61.11 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.994e-05/0.882, allocations: 28.78 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.882, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002853/0.8823, allocations: 107.5 kB / 1.103 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.8824, allocations: 13.03 kB / 1.103 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.495e-06/0.8824, allocations: 4.156 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.8824, allocations: 4 kB / 1.103 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.8826, allocations: 19.92 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.8826, allocations: 1.328 kB / 1.103 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.8828, allocations: 15.89 kB / 1.103 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.8828, allocations: 4 kB / 1.103 GB, free: 12.49 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 0.000137/0.883, allocations: 120.7 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.883, allocations: 8.609 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.8831, allocations: 16.31 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.8831, allocations: 2.062 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.8831, allocations: 3.984 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8831, allocations: 0 / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.8838, allocations: 359.1 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.8838, allocations: 1.688 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.061e-05/0.8839, allocations: 8.656 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.8839, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.884, allocations: 3.984 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.884, allocations: 3.906 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.884, allocations: 0 / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004611/0.8845, allocations: 197.4 kB / 1.104 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.424e-05/0.8845, allocations: 85.02 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.24e-05/0.8846, allocations: 4 kB / 1.104 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.8848, allocations: 12 kB / 1.104 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.916e-05/0.8848, allocations: 3.984 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.8849, allocations: 8.688 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.841e-05/0.885, allocations: 87.28 kB / 1.104 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005072/0.8855, allocations: 55.92 kB / 1.104 GB, free: 11.45 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.0005039/0.886, allocations: 172.9 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.8863, allocations: 76.52 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8863, allocations: 3.938 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.8865, allocations: 40 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.8868, allocations: 8.297 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005111/0.8873, allocations: 120.2 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003898/0.8877, allocations: 0.7075 MB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of SimCode: time 9.62e-07/0.8877, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of Templates: time 0.007081/0.8948, allocations: 1.879 MB / 1.107 GB, free: 8.465 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)