Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.458/2.458, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001595/0.001595, allocations: 181.3 kB / 360.3 MB, free: 7.559 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.906/1.906, allocations: 205.1 MB / 0.6187 GB, free: 13.32 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.001358/0.001358, allocations: 93.92 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2835/0.2849, allocations: 121.4 MB / 0.8502 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7269/1.012, allocations: 115.2 MB / 0.9627 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2384/1.25, allocations: 139.1 MB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.251, allocations: 84.5 kB / 1.099 GB, free: 1.707 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.02176/1.273, allocations: 3.175 MB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001298/1.273, allocations: 8 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/1.273, allocations: 7.906 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003504/1.273, allocations: 174.9 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/1.273, allocations: 5.438 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/1.274, allocations: 4 kB / 1.102 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003956/1.274, allocations: 31.94 kB / 1.102 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005113/1.275, allocations: 77.64 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/1.275, allocations: 0.5938 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/1.275, allocations: 4.625 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/1.275, allocations: 4 kB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007611/1.276, allocations: 280.7 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/1.276, allocations: 59.31 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.276, allocations: 33.39 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/1.276, allocations: 4.844 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001855/1.276, allocations: 85.52 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 3.316e-06/1.276, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0004162/1.277, allocations: 107.3 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.277, allocations: 56.03 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/1.277, allocations: 116.3 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/1.277, allocations: 29.7 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/1.277, allocations: 85.03 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/1.277, allocations: 24.27 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/1.277, allocations: 0.625 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.277, allocations: 323.8 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/1.277, allocations: 18.16 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/1.277, allocations: 63.33 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.705e-05/1.277, allocations: 28.58 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.277, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002742/1.278, allocations: 113.3 kB / 1.103 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.278, allocations: 8.922 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.278, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.278, allocations: 8.094 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/1.278, allocations: 16 kB / 1.103 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/1.278, allocations: 11.92 kB / 1.103 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/1.278, allocations: 7.906 kB / 1.103 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/1.278, allocations: 4 kB / 1.103 GB, free: 12.62 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.0001723/1.278, allocations: 117.6 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/1.278, allocations: 11.91 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.738e-05/1.278, allocations: 16.36 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/1.278, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/1.278, allocations: 1.375 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.278, allocations: 0 / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/1.279, allocations: 356.6 kB / 1.104 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.279, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/1.279, allocations: 4 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.279, allocations: 7.938 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.072e-05/1.279, allocations: 3.984 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/1.279, allocations: 3.906 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.279, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003599/1.28, allocations: 201.2 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005018/1.28, allocations: 0.5678 MB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/1.28, allocations: 85.02 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.422e-05/1.28, allocations: 3.906 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/1.28, allocations: 8 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/1.281, allocations: 3.984 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/1.281, allocations: 11.98 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.011e-05/1.281, allocations: 87.28 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001386/1.282, allocations: 63.84 kB / 1.105 GB, free: 10.98 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.0007443/1.283, allocations: 166.8 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003003/1.283, allocations: 69.14 kB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.283, allocations: 0 / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/1.283, allocations: 52.17 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/1.284, allocations: 13.73 kB / 1.105 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/1.284, allocations: 120.2 kB / 1.105 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003583/1.285, allocations: 0.708 MB / 1.106 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of SimCode: time 1.343e-06/1.285, allocations: 0 / 1.106 GB, free: 9.828 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)