Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.473/1.473, allocations: 285.5 MB / 292.8 MB, free: 10.38 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.001047/0.001047, allocations: 193.2 kB / 361.1 MB, free: 7.082 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.389/1.389, allocations: 205.1 MB / 0.6195 GB, free: 11.92 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.0008388/0.0008388, allocations: 92.47 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.766e-06/8.776e-06, allocations: 3.938 kB / 0.8511 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5685/0.5685, allocations: 115.3 MB / 0.9637 GB, free: 78.1 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1593/0.7279, allocations: 139.3 MB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.7282, allocations: 76.66 kB / 1.1 GB, free: 0.7852 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.009283/0.7375, allocations: 2.723 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.7375, allocations: 1.312 kB / 1.102 GB, free: 14.12 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.0005505/0.7381, allocations: 445.2 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.7381, allocations: 9.688 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.7382, allocations: 14.11 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.7384, allocations: 183.5 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.091e-05/0.7384, allocations: 4.875 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.029e-05/0.7384, allocations: 4 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001096/0.7385, allocations: 32.58 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.7387, allocations: 74.34 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7387, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.7387, allocations: 8.641 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.054e-06/0.7387, allocations: 4.531 kB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.7393, allocations: 287.3 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.934e-05/0.7394, allocations: 53.61 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.114e-05/0.7394, allocations: 36.84 kB / 1.104 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7395, allocations: 4 kB / 1.104 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.7396, allocations: 79.41 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.7396, allocations: 2.328 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002976/0.7399, allocations: 97.58 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.74, allocations: 59.41 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.281e-05/0.74, allocations: 116.8 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.7401, allocations: 30.3 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.7401, allocations: 84.89 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.7402, allocations: 20.34 kB / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.7402, allocations: 0 / 1.104 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.7403, allocations: 324 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.7403, allocations: 16 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.187e-05/0.7404, allocations: 66.78 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.275e-05/0.7405, allocations: 23.98 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7405, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001739/0.7407, allocations: 117.4 kB / 1.104 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.7407, allocations: 7.938 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7407, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7407, allocations: 4 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.7408, allocations: 26.17 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7408, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.331e-05/0.7409, allocations: 8.844 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.741, allocations: 4.125 kB / 1.105 GB, free: 11.7 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 8.375e-05/0.741, allocations: 116.9 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.7411, allocations: 11.89 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.7411, allocations: 12.38 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7411, allocations: 0 / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7411, allocations: 0 / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.7411, allocations: 0 / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003977/0.7415, allocations: 365.1 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7416, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.702e-05/0.7416, allocations: 8 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7416, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.7416, allocations: 3.984 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.7416, allocations: 3.906 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7417, allocations: 0 / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002474/0.7419, allocations: 203.4 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.312e-05/0.742, allocations: 85.02 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.742, allocations: 5.75 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.7421, allocations: 7.984 kB / 1.105 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.455e-05/0.7422, allocations: 6.156 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.7422, allocations: 7.984 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.278e-05/0.7423, allocations: 93.28 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003403/0.7426, allocations: 55.92 kB / 1.105 GB, free: 10.66 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.0004287/0.743, allocations: 176.8 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.7432, allocations: 72.11 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7432, allocations: 3.938 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-05/0.7433, allocations: 32 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.7436, allocations: 21.14 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003888/0.744, allocations: 120.2 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003936/0.7444, allocations: 0.7045 MB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.7444, allocations: 0 / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of Templates: time 0.004528/0.7489, allocations: 1.903 MB / 1.108 GB, free: 7.641 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)