Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.001/2.001, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009784/0.0009784, allocations: 177.3 kB / 487 MB, free: 5.406 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.259/1.259, allocations: 221.3 MB / 0.7819 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00094/0.00094, allocations: 98.72 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4654/0.4664, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.6732, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5509/1.224, allocations: 150.5 MB / 1.352 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/1.224, allocations: 82.97 kB / 1.352 GB, free: 15.79 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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.009173/1.234, allocations: 3.208 MB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/1.234, allocations: 13.06 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/1.234, allocations: 8.219 kB / 1.355 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/1.234, allocations: 174.1 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/1.234, allocations: 3.656 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/1.234, allocations: 5.312 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.513e-05/1.234, allocations: 31.06 kB / 1.356 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/1.234, allocations: 74.38 kB / 1.356 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/1.234, allocations: 0.875 kB / 1.356 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/1.234, allocations: 3.906 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.234, allocations: 1.812 kB / 1.356 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/1.234, allocations: 289.4 kB / 1.356 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.173e-05/1.235, allocations: 61.17 kB / 1.356 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/1.235, allocations: 37.34 kB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/1.235, allocations: 1.031 kB / 1.356 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/1.235, allocations: 86.33 kB / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.974e-06/1.235, allocations: 0 / 1.356 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0002475/1.235, allocations: 103 kB / 1.356 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/1.235, allocations: 59.55 kB / 1.356 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.43e-05/1.235, allocations: 111.2 kB / 1.356 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/1.235, allocations: 26.83 kB / 1.357 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/1.235, allocations: 92.98 kB / 1.357 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/1.235, allocations: 20.14 kB / 1.357 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/1.235, allocations: 5.219 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.601e-05/1.235, allocations: 318.6 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.89e-05/1.235, allocations: 18 kB / 1.357 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.335e-05/1.235, allocations: 63.78 kB / 1.357 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/1.235, allocations: 28.34 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.235, allocations: 1.5 kB / 1.357 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000166/1.236, allocations: 114 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/1.236, allocations: 4.781 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.236, allocations: 4.906 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.236, allocations: 2.812 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.236, allocations: 20.3 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.236, allocations: 3.156 kB / 1.357 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/1.236, allocations: 10.73 kB / 1.357 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.236, allocations: 5.281 kB / 1.357 GB, free: 13.87 MB / 0.8073 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.261e-05/1.236, allocations: 119.3 kB / 1.357 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/1.236, allocations: 7.906 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/1.236, allocations: 15.81 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/1.236, allocations: 1.125 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.236, allocations: 0 / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.236, allocations: 2.125 kB / 1.357 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/1.236, allocations: 356 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.236, allocations: 1.422 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.003e-05/1.236, allocations: 6.266 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/1.236, allocations: 0 / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.237, allocations: 8.094 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.237, allocations: 1.875 kB / 1.358 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.237, allocations: 3.906 kB / 1.358 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002118/1.237, allocations: 198.5 kB / 1.358 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002399/1.237, allocations: 0.5672 MB / 1.358 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.101e-05/1.237, allocations: 86.77 kB / 1.359 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/1.237, allocations: 10.56 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/1.237, allocations: 7.703 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/1.237, allocations: 6.156 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/1.237, allocations: 8.719 kB / 1.359 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.458e-05/1.237, allocations: 93.53 kB / 1.359 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009011/1.238, allocations: 50.22 kB / 1.359 GB, free: 12.63 MB / 0.8073 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.0003125/1.239, allocations: 183.1 kB / 1.359 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001618/1.239, allocations: 67.25 kB / 1.359 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.239, allocations: 0.625 kB / 1.359 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/1.239, allocations: 43.52 kB / 1.359 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/1.239, allocations: 15.25 kB / 1.359 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003054/1.239, allocations: 120 kB / 1.359 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/1.24, allocations: 0.7108 MB / 1.36 GB, free: 27.72 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.24, allocations: 0 / 1.36 GB, free: 27.72 MB / 0.823 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1)