Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009116/0.0009115, allocations: 181.3 kB / 361.1 MB, free: 7.074 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.171/1.171, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0007905/0.0007905, allocations: 92.62 kB / 0.7326 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2117/0.2125, allocations: 121.4 MB / 0.8511 GB, free: 2.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5568/0.7693, allocations: 115.3 MB / 0.9637 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.9262, allocations: 139.3 MB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/0.9265, allocations: 79.95 kB / 1.1 GB, free: 0.7109 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.009113/0.9356, allocations: 3.178 MB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.9357, allocations: 11.69 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.9357, allocations: 11.89 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.9358, allocations: 173.5 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.9359, allocations: 4 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.9359, allocations: 8 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.779e-05/0.936, allocations: 27.94 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.9361, allocations: 78.3 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.9361, allocations: 0 / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.9361, allocations: 7.719 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.9362, allocations: 4 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.9366, allocations: 281.3 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.9367, allocations: 59.2 kB / 1.104 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.9367, allocations: 38.16 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.9368, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001167/0.9369, allocations: 84.19 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.9369, allocations: 0 / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002668/0.9372, allocations: 107.5 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.9372, allocations: 56.56 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.9373, allocations: 112.9 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.9373, allocations: 26.3 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.9374, allocations: 92.36 kB / 1.104 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.9374, allocations: 20.38 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.9374, allocations: 1.469 kB / 1.104 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.9375, allocations: 318.8 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.638e-05/0.9376, allocations: 20 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.769e-05/0.9376, allocations: 67.72 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.81e-05/0.9377, allocations: 25.73 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9377, allocations: 0.5938 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001669/0.9379, allocations: 106.8 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.9379, allocations: 13.62 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9379, allocations: 5.656 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.9379, allocations: 4 kB / 1.105 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.938, allocations: 15.98 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.9381, allocations: 7.938 kB / 1.105 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.135e-05/0.9381, allocations: 7.906 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.9382, allocations: 4 kB / 1.105 GB, free: 11.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 8.334e-05/0.9383, allocations: 121.9 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.9383, allocations: 7.906 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.9383, allocations: 12.38 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.9383, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.9383, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.9383, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.9387, allocations: 361.4 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.9387, allocations: 0 / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.023e-05/0.9388, allocations: 13.23 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.9388, allocations: 7.938 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.9388, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.9388, allocations: 3.906 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.9388, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002234/0.9391, allocations: 195.4 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003115/0.9394, allocations: 0.5678 MB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.494e-05/0.9394, allocations: 89.02 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.103e-05/0.9395, allocations: 7.891 kB / 1.106 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9396, allocations: 5.375 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-05/0.9396, allocations: 7.984 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.9396, allocations: 4 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.459e-05/0.9397, allocations: 98.64 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008514/0.9405, allocations: 59.88 kB / 1.106 GB, free: 9.988 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.0003228/0.9409, allocations: 175.7 kB / 1.106 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.941, allocations: 67.88 kB / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.941, allocations: 320 / 1.106 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.9411, allocations: 47.92 kB / 1.106 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.9413, allocations: 12.92 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003151/0.9416, allocations: 120.2 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.9419, allocations: 0.7044 MB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/0.9419, allocations: 4.656 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)