Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.536/1.536, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009723/0.0009726, allocations: 177.3 kB / 361.1 MB, free: 7.109 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.238/1.238, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0008934/0.0008935, allocations: 92.25 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/1.049e-05, allocations: 0 / 0.8511 GB, free: 3.258 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6727/0.6728, allocations: 115.3 MB / 0.9637 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.8581, allocations: 139.1 MB / 1.1 GB, free: 1.039 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.8584, allocations: 84.88 kB / 1.1 GB, free: 0.957 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.00893/0.8674, allocations: 2.549 MB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.8674, allocations: 0.5312 kB / 1.102 GB, free: 14.47 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.0006521/0.8681, allocations: 440.5 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.8681, allocations: 8.531 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.8682, allocations: 11.84 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.8684, allocations: 175 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.8684, allocations: 0.625 kB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.8685, allocations: 7 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001082/0.8686, allocations: 21.28 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.8687, allocations: 60.69 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.8688, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.8688, allocations: 4.875 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.8688, allocations: 0 / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.8693, allocations: 273.9 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.8694, allocations: 35.14 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.8695, allocations: 29.59 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.8695, allocations: 4.906 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.8697, allocations: 65.28 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.8697, allocations: 0.625 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/0.8699, allocations: 78.55 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.87, allocations: 55.97 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.668e-05/0.8701, allocations: 116.9 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.8701, allocations: 25.7 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.8702, allocations: 88.31 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.8702, allocations: 19.75 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-06/0.8702, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8704, allocations: 318.8 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.508e-05/0.8704, allocations: 19.94 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.562e-05/0.8705, allocations: 45.16 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.049e-05/0.8705, allocations: 23.98 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8705, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001887/0.8707, allocations: 90.16 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.8707, allocations: 8.156 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8707, allocations: 0 / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.8708, allocations: 4 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.8709, allocations: 15.94 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.8709, allocations: 3.906 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.406e-05/0.871, allocations: 15.98 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.871, allocations: 4 kB / 1.104 GB, free: 12.23 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.253e-05/0.8711, allocations: 109 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.8711, allocations: 8.516 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.8712, allocations: 12.38 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.8712, allocations: 3.984 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8712, allocations: 0 / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.8712, allocations: 3.906 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.8715, allocations: 317.3 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.8716, allocations: 0 / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.8716, allocations: 14.19 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.8716, allocations: 3.906 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.8716, allocations: 3.984 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8717, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.8717, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001941/0.8719, allocations: 175.4 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.8719, allocations: 85.02 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.8719, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.8721, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.8721, allocations: 8.688 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.8721, allocations: 0 / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.515e-05/0.8722, allocations: 95.2 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003203/0.8725, allocations: 51.94 kB / 1.105 GB, free: 11.27 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.0004827/0.873, allocations: 173.7 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001528/0.8732, allocations: 51.92 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8732, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.56e-05/0.8733, allocations: 27.94 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.8735, allocations: 15.89 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.8739, allocations: 100.9 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003258/0.8742, allocations: 0.7005 MB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8742, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.004708/0.8789, allocations: 1.638 MB / 1.108 GB, free: 8.586 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)