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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.00101/0.00101, allocations: 179.5 kB / 361.1 MB, free: 7.113 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.144/1.144, allocations: 205.2 MB / 0.6195 GB, free: 10.27 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.0009662/0.0009661, allocations: 97.8 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2275/0.2285, allocations: 121.4 MB / 0.8511 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.7717, allocations: 115.3 MB / 0.9638 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.9314, allocations: 139.3 MB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.9317, allocations: 79.95 kB / 1.1 GB, free: 0.6523 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: 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.009242/0.941, allocations: 3.17 MB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.9411, allocations: 13 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.286e-05/0.9411, allocations: 8.531 kB / 1.103 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.9413, allocations: 175.8 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.9413, allocations: 0.6875 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.9413, allocations: 15.98 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.575e-05/0.9414, allocations: 26.03 kB / 1.103 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.9416, allocations: 78.59 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.9416, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.9416, allocations: 7.891 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.9416, allocations: 1.234 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.9421, allocations: 283.9 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.86e-05/0.9422, allocations: 56.09 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.9422, allocations: 36.8 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.9423, allocations: 0.5 kB / 1.104 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001166/0.9424, allocations: 86.39 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.9424, allocations: 0 / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002625/0.9427, allocations: 102.7 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.9427, allocations: 55.92 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.035e-05/0.9428, allocations: 117.5 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.9428, allocations: 29.7 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.9429, allocations: 85.22 kB / 1.104 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.9429, allocations: 23.88 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.9429, allocations: 4.562 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.863e-05/0.943, allocations: 319.1 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.9431, allocations: 20.91 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.9431, allocations: 59.56 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.096e-05/0.9432, allocations: 34.55 kB / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.9432, allocations: 0 / 1.104 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002057/0.9434, allocations: 107.6 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.9434, allocations: 8.156 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.9434, allocations: 4 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.9434, allocations: 3.938 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.9435, allocations: 19.98 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.9436, allocations: 0 / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.441e-05/0.9436, allocations: 17.77 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.9437, allocations: 8 kB / 1.105 GB, free: 11.57 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 7.546e-05/0.9437, allocations: 119.1 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.9438, allocations: 7.906 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.9438, allocations: 8.375 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9438, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9438, allocations: 0.5156 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.9438, allocations: 3.984 kB / 1.105 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.9442, allocations: 351 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9442, allocations: 0 / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.9443, allocations: 11.98 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9443, allocations: 0 / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.9443, allocations: 4.562 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.9443, allocations: 3.906 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.9443, allocations: 1.641 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002163/0.9445, allocations: 202.8 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003062/0.9448, allocations: 0.5701 MB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.9449, allocations: 81.02 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.9449, allocations: 11.89 kB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.945, allocations: 4 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.077e-05/0.9451, allocations: 14.61 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.9451, allocations: 0.7031 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.335e-05/0.9452, allocations: 101.5 kB / 1.106 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008646/0.946, allocations: 51.94 kB / 1.106 GB, free: 9.941 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.000401/0.9464, allocations: 181.1 kB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001668/0.9466, allocations: 68.19 kB / 1.106 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.9466, allocations: 4.062 kB / 1.106 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.437e-05/0.9467, allocations: 47.86 kB / 1.106 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.9469, allocations: 7.984 kB / 1.106 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.9473, allocations: 123 kB / 1.107 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.9476, allocations: 0.7083 MB / 1.107 GB, free: 8.777 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/0.9476, allocations: 4 kB / 1.107 GB, free: 8.773 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1)