Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.318/2.318, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001642/0.001642, allocations: 189.2 kB / 360.4 MB, free: 7.52 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.815/1.815, allocations: 205.2 MB / 0.6188 GB, free: 13.08 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.001258/0.001257, allocations: 91.91 kB / 0.7318 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.536e-06/9.017e-06, allocations: 0 / 0.8502 GB, free: 3.957 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6078/0.6078, allocations: 115.2 MB / 0.9628 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2707/0.8785, allocations: 139.1 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/0.879, allocations: 80.94 kB / 1.099 GB, free: 1.656 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.01928/0.8983, allocations: 2.724 MB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.8984, allocations: 0 / 1.101 GB, free: 14.99 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.0008698/0.8993, allocations: 446.2 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/0.8993, allocations: 9.25 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.8994, allocations: 11.91 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.8996, allocations: 185.6 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.335e-05/0.8997, allocations: 4.688 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.8997, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002055/0.9, allocations: 28.81 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002866/0.9003, allocations: 74.14 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.9003, allocations: 0.5156 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.9003, allocations: 6.844 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.9004, allocations: 4 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.9012, allocations: 289.8 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.9014, allocations: 55.45 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.9016, allocations: 32.86 kB / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.9017, allocations: 0 / 1.102 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.9019, allocations: 79.38 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 5.991e-06/0.9019, allocations: 4.094 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0005784/0.9025, allocations: 109.2 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.9026, allocations: 55.41 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.9028, allocations: 117.8 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.9028, allocations: 25.7 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.9029, allocations: 88.38 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.903, allocations: 23.88 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/0.903, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9032, allocations: 326.8 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.921e-05/0.9033, allocations: 16 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.9035, allocations: 65.05 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.9036, allocations: 28.59 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9036, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000404/0.904, allocations: 117.8 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.9041, allocations: 8 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.9041, allocations: 0 / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.9041, allocations: 4 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.9044, allocations: 15.94 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.9044, allocations: 8.141 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.9046, allocations: 11.91 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/0.9046, allocations: 4 kB / 1.104 GB, free: 12.56 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.0001491/0.9048, allocations: 113.2 kB / 1.104 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.9049, allocations: 11.91 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.9049, allocations: 12.36 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.905, allocations: 4.891 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.905, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.905, allocations: 1.375 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008554/0.9059, allocations: 354.9 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.9059, allocations: 3.938 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.043e-05/0.906, allocations: 4 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.906, allocations: 7.75 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.9061, allocations: 3.984 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.9061, allocations: 3.906 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9061, allocations: 4 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005333/0.9066, allocations: 199.4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.9067, allocations: 85.02 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.9068, allocations: 2.25 kB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.9071, allocations: 12.5 kB / 1.104 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.9072, allocations: 4 kB / 1.104 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/0.9072, allocations: 11.98 kB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.023e-05/0.9073, allocations: 90.66 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008269/0.9082, allocations: 55.92 kB / 1.104 GB, free: 11.52 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.0006187/0.9088, allocations: 163.5 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003941/0.9092, allocations: 83.8 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.9092, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.9094, allocations: 36 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.9099, allocations: 14.83 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000686/0.9106, allocations: 116.2 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.911, allocations: 0.7127 MB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/0.9111, allocations: 0 / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.009982/0.921, allocations: 1.887 MB / 1.107 GB, free: 8.523 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)