Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.1.4-maint.8.1.x/package.mo): time 1.474/1.474, allocations: 289.8 MB / 297 MB, free: 6.629 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.001093/0.001093, allocations: 177.3 kB / 366.3 MB, free: 1.941 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.546/1.546, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0008575/0.0008574, allocations: 90.22 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2783/0.2792, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7438/1.023, allocations: 116.3 MB / 0.9726 GB, free: 68.29 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/1.22, allocations: 140.1 MB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/1.22, allocations: 77.58 kB / 1.11 GB, free: 8.262 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008703/1.229, allocations: 2.981 MB / 1.112 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.229, allocations: 8 kB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/1.229, allocations: 7.906 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/1.229, allocations: 177.2 kB / 1.113 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/1.229, allocations: 8 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/1.229, allocations: 7.984 kB / 1.113 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000163/1.229, allocations: 20 kB / 1.113 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.946e-05/1.23, allocations: 53.67 kB / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/1.23, allocations: 0 / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/1.23, allocations: 0 / 1.113 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/1.23, allocations: 12.92 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/1.23, allocations: 269.3 kB / 1.113 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.396e-05/1.23, allocations: 42.5 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/1.23, allocations: 24.98 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/1.23, allocations: 0 / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.847e-05/1.23, allocations: 67.39 kB / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/1.23, allocations: 0 / 1.113 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001785/1.23, allocations: 80 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/1.23, allocations: 55.34 kB / 1.113 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/1.231, allocations: 112.9 kB / 1.113 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/1.231, allocations: 26.55 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/1.231, allocations: 88.33 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/1.231, allocations: 23.83 kB / 1.113 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.231, allocations: 0 / 1.113 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.257e-05/1.231, allocations: 314.8 kB / 1.114 GB, free: 3.715 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.214e-05/1.231, allocations: 16 kB / 1.114 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/1.231, allocations: 53.08 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/1.231, allocations: 24 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.231, allocations: 0 / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001528/1.231, allocations: 86.2 kB / 1.114 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/1.231, allocations: 8 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/1.231, allocations: 0 / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.231, allocations: 4 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/1.231, allocations: 16.14 kB / 1.114 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/1.231, allocations: 11.84 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/1.231, allocations: 4 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.231, allocations: 8 kB / 1.114 GB, free: 3.465 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.489e-05/1.231, allocations: 105.9 kB / 1.114 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/1.231, allocations: 11.89 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/1.231, allocations: 12.38 kB / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/1.232, allocations: 0 / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.232, allocations: 4 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.232, allocations: 3.906 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/1.232, allocations: 315.1 kB / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/1.232, allocations: 0 / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/1.232, allocations: 7.984 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/1.232, allocations: 3.906 kB / 1.114 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/1.232, allocations: 9.031 kB / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.232, allocations: 0 / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.232, allocations: 0 / 1.114 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001727/1.232, allocations: 171.4 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002806/1.232, allocations: 0.5493 MB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/1.232, allocations: 85.02 kB / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/1.233, allocations: 3.984 kB / 1.115 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/1.233, allocations: 8 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/1.233, allocations: 7.984 kB / 1.115 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/1.233, allocations: 7.906 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.336e-05/1.233, allocations: 93.41 kB / 1.115 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009634/1.234, allocations: 56.48 kB / 1.115 GB, free: 1.926 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: 6 (bli.sampleTrigger,$whenCondition1,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004459/1.234, allocations: 167.1 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001658/1.234, allocations: 51.92 kB / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.234, allocations: 0 / 1.116 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/1.234, allocations: 30.38 kB / 1.116 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/1.235, allocations: 13.95 kB / 1.116 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/1.235, allocations: 99.8 kB / 1.116 GB, free: 1.559 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004344/1.236, allocations: 0.7036 MB / 1.116 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.236, allocations: 0 / 1.116 GB, free: 0.8281 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)