Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.559/1.559, allocations: 289.8 MB / 297.1 MB, free: 12.64 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.001322/0.001322, allocations: 184.2 kB / 366.3 MB, free: 12 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.55/1.55, allocations: 205.1 MB / 0.6256 GB, free: 2.055 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.0009821/0.0009821, allocations: 91.81 kB / 0.7395 GB, free: 46.95 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.279/0.28, allocations: 122.4 MB / 0.8591 GB, free: 7.125 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/1.026, allocations: 116.3 MB / 0.9726 GB, free: 81.44 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/1.219, allocations: 140.2 MB / 1.11 GB, free: 3.73 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.219, allocations: 80.59 kB / 1.11 GB, free: 3.652 MB / 0.7059 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.229, allocations: 3.163 MB / 1.113 GB, free: 476 kB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/1.229, allocations: 8.562 kB / 1.113 GB, free: 468 kB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/1.23, allocations: 8.938 kB / 1.113 GB, free: 460 kB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.23, allocations: 178.9 kB / 1.113 GB, free: 240 kB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.119e-05/1.23, allocations: 8.922 kB / 1.113 GB, free: 232 kB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/1.23, allocations: 4.5 kB / 1.113 GB, free: 228 kB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001095/1.23, allocations: 29.81 kB / 1.113 GB, free: 200 kB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/1.23, allocations: 73.64 kB / 1.113 GB, free: 120 kB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.23, allocations: 0 / 1.113 GB, free: 120 kB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/1.23, allocations: 11.84 kB / 1.113 GB, free: 108 kB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/1.23, allocations: 0.75 kB / 1.113 GB, free: 108 kB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/1.231, allocations: 288.5 kB / 1.113 GB, free: 15.79 MB / 0.7215 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/1.231, allocations: 52.25 kB / 1.113 GB, free: 15.73 MB / 0.7215 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.925e-05/1.231, allocations: 32.86 kB / 1.113 GB, free: 15.7 MB / 0.7215 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/1.231, allocations: 4.969 kB / 1.113 GB, free: 15.69 MB / 0.7215 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/1.231, allocations: 86.28 kB / 1.114 GB, free: 15.6 MB / 0.7215 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/1.231, allocations: 0 / 1.114 GB, free: 15.6 MB / 0.7215 GB Notification: Performance of matching and sorting (n=9): time 0.0003059/1.231, allocations: 102.1 kB / 1.114 GB, free: 15.49 MB / 0.7215 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/1.231, allocations: 56.06 kB / 1.114 GB, free: 15.43 MB / 0.7215 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/1.232, allocations: 124.1 kB / 1.114 GB, free: 15.3 MB / 0.7215 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/1.232, allocations: 33.7 kB / 1.114 GB, free: 15.26 MB / 0.7215 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/1.232, allocations: 84.38 kB / 1.114 GB, free: 15.17 MB / 0.7215 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/1.232, allocations: 23.73 kB / 1.114 GB, free: 15.15 MB / 0.7215 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/1.232, allocations: 0 / 1.114 GB, free: 15.15 MB / 0.7215 GB Notification: Performance of setup shared object (initialization): time 0.0001018/1.232, allocations: 322.8 kB / 1.114 GB, free: 14.82 MB / 0.7215 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.493e-05/1.232, allocations: 16 kB / 1.114 GB, free: 14.81 MB / 0.7215 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/1.232, allocations: 62.02 kB / 1.114 GB, free: 14.73 MB / 0.7215 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.741e-05/1.232, allocations: 23.98 kB / 1.114 GB, free: 14.7 MB / 0.7215 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.232, allocations: 0 / 1.114 GB, free: 14.7 MB / 0.7215 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001849/1.232, allocations: 110.1 kB / 1.114 GB, free: 14.59 MB / 0.7215 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/1.232, allocations: 12.14 kB / 1.114 GB, free: 14.58 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/1.232, allocations: 0 / 1.114 GB, free: 14.58 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.232, allocations: 4.094 kB / 1.114 GB, free: 14.57 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/1.232, allocations: 19.92 kB / 1.114 GB, free: 14.55 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.232, allocations: 7.984 kB / 1.114 GB, free: 14.55 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.035e-05/1.232, allocations: 7.906 kB / 1.114 GB, free: 14.54 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/1.232, allocations: 9.328 kB / 1.114 GB, free: 14.53 MB / 0.7215 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.946e-05/1.233, allocations: 121.4 kB / 1.115 GB, free: 14.41 MB / 0.7215 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/1.233, allocations: 3.906 kB / 1.115 GB, free: 14.4 MB / 0.7215 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/1.233, allocations: 16.36 kB / 1.115 GB, free: 14.38 MB / 0.7215 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/1.233, allocations: 1.438 kB / 1.115 GB, free: 14.38 MB / 0.7215 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.233, allocations: 0 / 1.115 GB, free: 14.38 MB / 0.7215 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.233, allocations: 0 / 1.115 GB, free: 14.38 MB / 0.7215 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/1.233, allocations: 361.5 kB / 1.115 GB, free: 13.99 MB / 0.7215 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/1.233, allocations: 4 kB / 1.115 GB, free: 13.98 MB / 0.7215 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/1.233, allocations: 8 kB / 1.115 GB, free: 13.98 MB / 0.7215 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.233, allocations: 0 / 1.115 GB, free: 13.98 MB / 0.7215 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/1.233, allocations: 3.984 kB / 1.115 GB, free: 13.97 MB / 0.7215 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.233, allocations: 3.906 kB / 1.115 GB, free: 13.97 MB / 0.7215 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.233, allocations: 4 kB / 1.115 GB, free: 13.96 MB / 0.7215 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002596/1.233, allocations: 196.7 kB / 1.115 GB, free: 13.76 MB / 0.7215 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003493/1.234, allocations: 0.571 MB / 1.116 GB, free: 13.17 MB / 0.7215 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/1.234, allocations: 85.02 kB / 1.116 GB, free: 13.07 MB / 0.7215 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/1.234, allocations: 3.906 kB / 1.116 GB, free: 13.06 MB / 0.7215 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/1.234, allocations: 11.98 kB / 1.116 GB, free: 13.05 MB / 0.7215 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/1.234, allocations: 3.938 kB / 1.116 GB, free: 13.05 MB / 0.7215 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/1.234, allocations: 7.984 kB / 1.116 GB, free: 13.04 MB / 0.7215 GB Notification: Performance of sort global known variables: time 5.198e-05/1.234, allocations: 96.03 kB / 1.116 GB, free: 12.95 MB / 0.7215 GB Notification: Performance of remove unused functions: time 0.0009363/1.235, allocations: 51.98 kB / 1.116 GB, free: 12.89 MB / 0.7215 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.0004375/1.236, allocations: 172.3 kB / 1.116 GB, free: 12.74 MB / 0.7215 GB Notification: Performance of simCode: created initialization part: time 0.0001666/1.236, allocations: 76.05 kB / 1.116 GB, free: 12.66 MB / 0.7215 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.236, allocations: 4.125 kB / 1.116 GB, free: 12.66 MB / 0.7215 GB Notification: Performance of simCode: created simulation system equations: time 7.336e-05/1.236, allocations: 35.98 kB / 1.116 GB, free: 12.62 MB / 0.7215 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/1.236, allocations: 9.219 kB / 1.116 GB, free: 12.62 MB / 0.7215 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/1.236, allocations: 128.1 kB / 1.116 GB, free: 12.47 MB / 0.7215 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00032/1.237, allocations: 0.7072 MB / 1.117 GB, free: 11.74 MB / 0.7215 GB Notification: Performance of SimCode: time 2.71e-07/1.237, allocations: 0 / 1.117 GB, free: 11.74 MB / 0.7215 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)