Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.827/1.827, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009768/0.0009767, allocations: 185.2 kB / 490.8 MB, free: 11.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 221.4 MB / 0.7863 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 89.86 kB / 0.9264 GB, free: 4.582 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.278/0.2789, allocations: 149.1 MB / 1.072 GB, free: 15.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6318/0.9107, allocations: 143 MB / 1.212 GB, free: 156 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1572/1.068, allocations: 151.3 MB / 1.359 GB, free: 40.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.068, allocations: 84.97 kB / 1.359 GB, free: 40.35 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.008465/1.077, allocations: 3.213 MB / 1.363 GB, free: 37.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/1.077, allocations: 8 kB / 1.363 GB, free: 37.11 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/1.077, allocations: 13.19 kB / 1.363 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.077, allocations: 174.9 kB / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/1.077, allocations: 0 / 1.363 GB, free: 36.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/1.077, allocations: 4 kB / 1.363 GB, free: 36.88 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.587e-05/1.077, allocations: 33 kB / 1.363 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/1.077, allocations: 77.58 kB / 1.363 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.077, allocations: 2.062 kB / 1.363 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/1.077, allocations: 0.6562 kB / 1.363 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/1.077, allocations: 0 / 1.363 GB, free: 36.77 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004422/1.078, allocations: 292 kB / 1.363 GB, free: 36.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/1.078, allocations: 54.58 kB / 1.363 GB, free: 36.39 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.87e-05/1.078, allocations: 37.61 kB / 1.363 GB, free: 36.35 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.078, allocations: 4.031 kB / 1.363 GB, free: 36.34 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/1.078, allocations: 80.72 kB / 1.363 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/1.078, allocations: 0.9062 kB / 1.363 GB, free: 36.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.0002721/1.078, allocations: 104.2 kB / 1.363 GB, free: 36.15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/1.078, allocations: 64.17 kB / 1.364 GB, free: 36.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.734e-05/1.078, allocations: 113.5 kB / 1.364 GB, free: 35.96 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/1.078, allocations: 25.7 kB / 1.364 GB, free: 35.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 2.675e-05/1.079, allocations: 89.95 kB / 1.364 GB, free: 35.83 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/1.079, allocations: 19.75 kB / 1.364 GB, free: 35.81 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-06/1.079, allocations: 0 / 1.364 GB, free: 35.81 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/1.079, allocations: 323.4 kB / 1.364 GB, free: 35.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/1.079, allocations: 20.53 kB / 1.364 GB, free: 35.47 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/1.079, allocations: 55.36 kB / 1.364 GB, free: 35.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/1.079, allocations: 38.38 kB / 1.364 GB, free: 35.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.079, allocations: 0 / 1.364 GB, free: 35.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001504/1.079, allocations: 107.4 kB / 1.364 GB, free: 35.25 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/1.079, allocations: 4 kB / 1.364 GB, free: 35.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.079, allocations: 7.938 kB / 1.364 GB, free: 35.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/1.079, allocations: 0.5938 kB / 1.364 GB, free: 35.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/1.079, allocations: 20.7 kB / 1.364 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/1.079, allocations: 4.781 kB / 1.364 GB, free: 35.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.139e-05/1.079, allocations: 8.562 kB / 1.364 GB, free: 35.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/1.079, allocations: 4.594 kB / 1.364 GB, free: 35.2 MB / 0.8855 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 6.592e-05/1.079, allocations: 118 kB / 1.364 GB, free: 35.08 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.824e-05/1.079, allocations: 11.89 kB / 1.364 GB, free: 35.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/1.079, allocations: 11.12 kB / 1.364 GB, free: 35.06 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.079, allocations: 0.6875 kB / 1.364 GB, free: 35.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/1.079, allocations: 4 kB / 1.364 GB, free: 35.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.079, allocations: 0.5938 kB / 1.364 GB, free: 35.05 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/1.08, allocations: 358.5 kB / 1.365 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/1.08, allocations: 0.5312 kB / 1.365 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/1.08, allocations: 5.094 kB / 1.365 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/1.08, allocations: 0 / 1.365 GB, free: 34.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/1.08, allocations: 12.58 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/1.08, allocations: 0 / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/1.08, allocations: 0.9375 kB / 1.365 GB, free: 34.65 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002046/1.08, allocations: 206.4 kB / 1.365 GB, free: 34.43 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002487/1.08, allocations: 0.5683 MB / 1.366 GB, free: 33.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/1.08, allocations: 81.02 kB / 1.366 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/1.08, allocations: 4 kB / 1.366 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.08, allocations: 13.7 kB / 1.366 GB, free: 33.74 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/1.08, allocations: 16.89 kB / 1.366 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/1.081, allocations: 0 / 1.366 GB, free: 33.72 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.148e-05/1.081, allocations: 96.42 kB / 1.366 GB, free: 33.63 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008418/1.081, allocations: 48 kB / 1.366 GB, free: 33.58 MB / 0.8855 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.0003357/1.082, allocations: 180.8 kB / 1.366 GB, free: 33.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001449/1.082, allocations: 65.16 kB / 1.366 GB, free: 33.35 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.082, allocations: 5.844 kB / 1.366 GB, free: 33.35 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/1.082, allocations: 43.91 kB / 1.366 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/1.082, allocations: 8 kB / 1.366 GB, free: 33.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/1.083, allocations: 116.3 kB / 1.366 GB, free: 33.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/1.083, allocations: 0.7124 MB / 1.367 GB, free: 32.43 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/1.083, allocations: 0 / 1.367 GB, free: 32.43 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)