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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.1.4-maint.8.1.x/package.mo): time 1.532/1.532, allocations: 289.8 MB / 297.1 MB, free: 6.723 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.001212/0.001212, allocations: 177.3 kB / 366.3 MB, free: 2.008 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.399/1.399, allocations: 205.2 MB / 0.6256 GB, free: 5.832 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.0009355/0.0009353, allocations: 82.34 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3066/0.3075, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/1.023, allocations: 116.3 MB / 0.9726 GB, free: 68.57 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/1.205, allocations: 140.2 MB / 1.11 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.206, allocations: 79.02 kB / 1.11 GB, free: 8.254 MB / 0.7136 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: 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.01009/1.216, allocations: 3.163 MB / 1.113 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.216, allocations: 8 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.289e-05/1.216, allocations: 15.83 kB / 1.113 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/1.216, allocations: 170.9 kB / 1.113 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/1.216, allocations: 8 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/1.216, allocations: 4 kB / 1.113 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/1.216, allocations: 35.97 kB / 1.113 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/1.217, allocations: 73.59 kB / 1.113 GB, free: 4.691 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/1.217, allocations: 5.781 kB / 1.113 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/1.217, allocations: 7.906 kB / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/1.217, allocations: 0 / 1.113 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000525/1.217, allocations: 285.3 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/1.217, allocations: 46.58 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.236e-05/1.217, allocations: 44.84 kB / 1.113 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/1.217, allocations: 8.141 kB / 1.113 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001252/1.218, allocations: 79.41 kB / 1.114 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/1.218, allocations: 0 / 1.114 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003093/1.218, allocations: 98.61 kB / 1.114 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/1.218, allocations: 63.34 kB / 1.114 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/1.218, allocations: 112.9 kB / 1.114 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/1.218, allocations: 33.7 kB / 1.114 GB, free: 3.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/1.218, allocations: 84.36 kB / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/1.218, allocations: 19.75 kB / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-06/1.218, allocations: 0 / 1.114 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001232/1.218, allocations: 322.8 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.241e-05/1.218, allocations: 16 kB / 1.114 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/1.218, allocations: 69.52 kB / 1.114 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.533e-05/1.218, allocations: 20 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.218, allocations: 0.9375 kB / 1.114 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001813/1.219, allocations: 113.3 kB / 1.114 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.219, allocations: 8.156 kB / 1.114 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.219, allocations: 3.938 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/1.219, allocations: 4 kB / 1.114 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/1.219, allocations: 23.92 kB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/1.219, allocations: 8 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.579e-05/1.219, allocations: 7.906 kB / 1.114 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/1.219, allocations: 4 kB / 1.114 GB, free: 3.102 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 9.477e-05/1.219, allocations: 117.7 kB / 1.115 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/1.219, allocations: 12.73 kB / 1.115 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/1.219, allocations: 12.38 kB / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/1.219, allocations: 0 / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.219, allocations: 0 / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/1.219, allocations: 0 / 1.115 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004411/1.22, allocations: 359.7 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/1.22, allocations: 4 kB / 1.115 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.868e-05/1.22, allocations: 8 kB / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/1.22, allocations: 0 / 1.115 GB, free: 2.547 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/1.22, allocations: 3.984 kB / 1.115 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.22, allocations: 3.906 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.22, allocations: 1.031 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002508/1.22, allocations: 203.4 kB / 1.115 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003486/1.22, allocations: 0.5676 MB / 1.116 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.947e-05/1.22, allocations: 89 kB / 1.116 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/1.22, allocations: 7.906 kB / 1.116 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/1.221, allocations: 11.98 kB / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/1.221, allocations: 0 / 1.116 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/1.221, allocations: 7.984 kB / 1.116 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.049e-05/1.221, allocations: 93.53 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009409/1.222, allocations: 59.92 kB / 1.116 GB, free: 1.457 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.0003894/1.222, allocations: 166.5 kB / 1.116 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001747/1.222, allocations: 78.17 kB / 1.116 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/1.222, allocations: 8 kB / 1.116 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/1.222, allocations: 35.98 kB / 1.116 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/1.223, allocations: 9.25 kB / 1.116 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/1.223, allocations: 127.3 kB / 1.116 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/1.223, allocations: 0.7036 MB / 1.117 GB, free: 312 kB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/1.223, allocations: 0 / 1.117 GB, free: 312 kB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)