Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") [: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.446/1.446, allocations: 289.8 MB / 297 MB, free: 12.58 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 186.3 kB / 366.3 MB, free: 11.89 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.223/1.223, allocations: 205.1 MB / 0.6256 GB, free: 1.977 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008505/0.0008506, allocations: 87.89 kB / 0.7395 GB, free: 47.07 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 6.432e-06/6.582e-06, allocations: 0 / 0.859 GB, free: 7.125 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6099/0.61, allocations: 116.3 MB / 0.9725 GB, free: 81.44 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1691/0.7792, allocations: 140.2 MB / 1.109 GB, free: 3.707 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.7795, allocations: 79.95 kB / 1.11 GB, free: 3.629 MB / 0.7058 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.008892/0.7884, allocations: 2.723 MB / 1.112 GB, free: 0.9336 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.7884, allocations: 4.812 kB / 1.112 GB, free: 0.9297 MB / 0.7058 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.0004721/0.7889, allocations: 449.5 kB / 1.113 GB, free: 448 kB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7889, allocations: 8.969 kB / 1.113 GB, free: 440 kB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.789, allocations: 13.34 kB / 1.113 GB, free: 428 kB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7891, allocations: 175.6 kB / 1.113 GB, free: 212 kB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.7891, allocations: 0 / 1.113 GB, free: 212 kB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.7892, allocations: 8 kB / 1.113 GB, free: 204 kB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001014/0.7893, allocations: 32.94 kB / 1.113 GB, free: 172 kB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.7894, allocations: 77.58 kB / 1.113 GB, free: 88 kB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.7894, allocations: 0 / 1.113 GB, free: 88 kB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.7894, allocations: 3.906 kB / 1.113 GB, free: 84 kB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7894, allocations: 0 / 1.113 GB, free: 84 kB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.79, allocations: 285.3 kB / 1.113 GB, free: 15.77 MB / 0.7214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.7901, allocations: 63.97 kB / 1.113 GB, free: 15.7 MB / 0.7214 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.7901, allocations: 32.86 kB / 1.113 GB, free: 15.66 MB / 0.7214 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.7902, allocations: 4.234 kB / 1.113 GB, free: 15.66 MB / 0.7214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001142/0.7903, allocations: 87.31 kB / 1.113 GB, free: 15.56 MB / 0.7214 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.7903, allocations: 3.938 kB / 1.113 GB, free: 15.55 MB / 0.7214 GB Notification: Performance of matching and sorting (n=9): time 0.0002735/0.7906, allocations: 99.28 kB / 1.114 GB, free: 15.45 MB / 0.7214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.7906, allocations: 63.41 kB / 1.114 GB, free: 15.38 MB / 0.7214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.903e-05/0.7907, allocations: 124 kB / 1.114 GB, free: 15.25 MB / 0.7214 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.7908, allocations: 25.7 kB / 1.114 GB, free: 15.22 MB / 0.7214 GB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.7908, allocations: 84.38 kB / 1.114 GB, free: 15.13 MB / 0.7214 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.7908, allocations: 23.73 kB / 1.114 GB, free: 15.11 MB / 0.7214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.7908, allocations: 0 / 1.114 GB, free: 15.11 MB / 0.7214 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.791, allocations: 322.8 kB / 1.114 GB, free: 14.79 MB / 0.7214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.827e-05/0.791, allocations: 16 kB / 1.114 GB, free: 14.77 MB / 0.7214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.273e-05/0.7911, allocations: 62.02 kB / 1.114 GB, free: 14.69 MB / 0.7214 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.299e-05/0.7911, allocations: 27.92 kB / 1.114 GB, free: 14.66 MB / 0.7214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7911, allocations: 0 / 1.114 GB, free: 14.66 MB / 0.7214 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000191/0.7913, allocations: 113.4 kB / 1.114 GB, free: 14.54 MB / 0.7214 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.7914, allocations: 4 kB / 1.114 GB, free: 14.54 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.7914, allocations: 4 kB / 1.114 GB, free: 14.54 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7914, allocations: 3.938 kB / 1.114 GB, free: 14.53 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.7915, allocations: 12.56 kB / 1.114 GB, free: 14.52 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.7915, allocations: 7.984 kB / 1.114 GB, free: 14.51 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.091e-05/0.7916, allocations: 12.06 kB / 1.114 GB, free: 14.5 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.7916, allocations: 8.844 kB / 1.114 GB, free: 14.49 MB / 0.7214 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 8.075e-05/0.7917, allocations: 116.9 kB / 1.115 GB, free: 14.37 MB / 0.7214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.7917, allocations: 8.844 kB / 1.115 GB, free: 14.36 MB / 0.7214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.398e-05/0.7918, allocations: 8.359 kB / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7918, allocations: 0 / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.7918, allocations: 4 kB / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7918, allocations: 0 / 1.115 GB, free: 14.35 MB / 0.7214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.7922, allocations: 363.9 kB / 1.115 GB, free: 13.95 MB / 0.7214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.7922, allocations: 0 / 1.115 GB, free: 13.95 MB / 0.7214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.636e-05/0.7923, allocations: 5.125 kB / 1.115 GB, free: 13.95 MB / 0.7214 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.7923, allocations: 0 / 1.115 GB, free: 13.95 MB / 0.7214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.7923, allocations: 11.98 kB / 1.115 GB, free: 13.93 MB / 0.7214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.7923, allocations: 3.906 kB / 1.115 GB, free: 13.93 MB / 0.7214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7923, allocations: 1.594 kB / 1.115 GB, free: 13.93 MB / 0.7214 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002216/0.7925, allocations: 199.4 kB / 1.115 GB, free: 13.72 MB / 0.7214 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.7926, allocations: 85.02 kB / 1.115 GB, free: 13.62 MB / 0.7214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.7926, allocations: 3.938 kB / 1.115 GB, free: 13.61 MB / 0.7214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.7927, allocations: 12.98 kB / 1.115 GB, free: 13.6 MB / 0.7214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.7928, allocations: 4 kB / 1.115 GB, free: 13.6 MB / 0.7214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.7928, allocations: 3.984 kB / 1.115 GB, free: 13.59 MB / 0.7214 GB Notification: Performance of sort global known variables: time 4.63e-05/0.7929, allocations: 91.28 kB / 1.115 GB, free: 13.5 MB / 0.7214 GB Notification: Performance of remove unused functions: time 0.0003037/0.7932, allocations: 51.98 kB / 1.115 GB, free: 13.45 MB / 0.7214 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.0003917/0.7936, allocations: 181.3 kB / 1.115 GB, free: 13.29 MB / 0.7214 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.7937, allocations: 71.92 kB / 1.116 GB, free: 13.22 MB / 0.7214 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7937, allocations: 320 / 1.116 GB, free: 13.22 MB / 0.7214 GB Notification: Performance of simCode: created simulation system equations: time 6.888e-05/0.7938, allocations: 43.94 kB / 1.116 GB, free: 13.18 MB / 0.7214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.794, allocations: 13.53 kB / 1.116 GB, free: 13.16 MB / 0.7214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003305/0.7944, allocations: 113 kB / 1.116 GB, free: 13.04 MB / 0.7214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002616/0.7946, allocations: 0.7111 MB / 1.116 GB, free: 12.3 MB / 0.7214 GB Notification: Performance of SimCode: time 2.31e-07/0.7946, allocations: 0 / 1.116 GB, free: 12.3 MB / 0.7214 GB Notification: Performance of Templates: time 0.004167/0.7988, allocations: 1.888 MB / 1.118 GB, free: 10.46 MB / 0.7214 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)