Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.457/2.457, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001613/0.001613, allocations: 177.3 kB / 360.3 MB, free: 7.539 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.997/1.997, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.002454/0.002454, allocations: 91.38 kB / 0.7317 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2908/0.2933, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6891/0.9824, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2258/1.208, allocations: 139.1 MB / 1.099 GB, free: 1.734 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.209, allocations: 80.47 kB / 1.099 GB, free: 1.656 MB / 0.698 GB [/home/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: 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.0154/1.224, allocations: 3.176 MB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.539e-05/1.224, allocations: 8 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/1.224, allocations: 16.38 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/1.224, allocations: 172.5 kB / 1.102 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/1.224, allocations: 4.781 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/1.224, allocations: 4 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001469/1.225, allocations: 37.11 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/1.225, allocations: 73.03 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/1.225, allocations: 0.5312 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/1.225, allocations: 3.906 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.225, allocations: 4.594 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006732/1.226, allocations: 287.2 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/1.226, allocations: 55.98 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000111/1.226, allocations: 36.84 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/1.226, allocations: 0.5625 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/1.226, allocations: 81.62 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/1.226, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003885/1.227, allocations: 101.5 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/1.227, allocations: 63.55 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/1.227, allocations: 113.4 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.227, allocations: 26.27 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/1.227, allocations: 92.36 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/1.227, allocations: 19.75 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/1.227, allocations: 0 / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.227, allocations: 318.8 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/1.227, allocations: 20 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/1.227, allocations: 65.94 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.35e-05/1.227, allocations: 27.98 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.227, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002676/1.228, allocations: 105.4 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/1.228, allocations: 8.844 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.228, allocations: 4.156 kB / 1.103 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/1.228, allocations: 7.938 kB / 1.103 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001796/1.228, allocations: 19.98 kB / 1.103 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.275e-05/1.228, allocations: 9.312 kB / 1.103 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/1.228, allocations: 7.906 kB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/1.228, allocations: 4 kB / 1.103 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.0001295/1.228, allocations: 120.7 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/1.228, allocations: 7.906 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/1.228, allocations: 13.41 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/1.228, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.228, allocations: 0 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/1.228, allocations: 96 / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/1.229, allocations: 358.9 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.229, allocations: 0.6562 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.415e-05/1.229, allocations: 11.98 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.229, allocations: 5.75 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/1.229, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.229, allocations: 7.844 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.229, allocations: 0 / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003573/1.23, allocations: 200.4 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004863/1.23, allocations: 0.5698 MB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/1.23, allocations: 89 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.325e-05/1.23, allocations: 3.906 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.23, allocations: 4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/1.23, allocations: 7.984 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/1.23, allocations: 8 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.173e-05/1.231, allocations: 93.77 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001301/1.232, allocations: 59.92 kB / 1.105 GB, free: 10.92 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.0005996/1.232, allocations: 169.2 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002864/1.233, allocations: 67.92 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.233, allocations: 320 / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/1.233, allocations: 55.86 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/1.233, allocations: 10.42 kB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005218/1.234, allocations: 116.2 kB / 1.105 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/1.234, allocations: 0.7075 MB / 1.106 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/1.234, allocations: 0 / 1.106 GB, free: 9.77 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)