Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.475/1.475, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001149/0.001149, allocations: 180.1 kB / 366.3 MB, free: 1.938 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.535/1.535, allocations: 205.2 MB / 0.6256 GB, free: 5.785 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.0009768/0.0009766, allocations: 78.19 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2735/0.2745, allocations: 122.4 MB / 0.8591 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7002/0.9747, allocations: 116.3 MB / 0.9726 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/1.162, allocations: 140.1 MB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.162, allocations: 84.48 kB / 1.11 GB, free: 8.246 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.008991/1.171, allocations: 2.978 MB / 1.112 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.171, allocations: 8 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/1.171, allocations: 7.906 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.171, allocations: 178.9 kB / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/1.172, allocations: 0 / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/1.172, allocations: 7.984 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.981e-05/1.172, allocations: 24.5 kB / 1.113 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/1.172, allocations: 57.67 kB / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/1.172, allocations: 0 / 1.113 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/1.172, allocations: 4 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.172, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/1.172, allocations: 261.3 kB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/1.172, allocations: 39.97 kB / 1.113 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/1.172, allocations: 24.98 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/1.172, allocations: 7.938 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.816e-05/1.173, allocations: 71.39 kB / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/1.173, allocations: 0 / 1.113 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002032/1.173, allocations: 77.64 kB / 1.113 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/1.173, allocations: 55.41 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.439e-05/1.173, allocations: 116 kB / 1.113 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/1.173, allocations: 25.7 kB / 1.113 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/1.173, allocations: 84.33 kB / 1.113 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/1.173, allocations: 19.75 kB / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/1.173, allocations: 0 / 1.113 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.923e-05/1.173, allocations: 322.8 kB / 1.114 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.143e-05/1.173, allocations: 15.94 kB / 1.114 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/1.173, allocations: 49.09 kB / 1.114 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.054e-05/1.173, allocations: 24.73 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.173, allocations: 0 / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001408/1.173, allocations: 93.45 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.173, allocations: 5.719 kB / 1.114 GB, free: 3.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/1.173, allocations: 4.156 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.173, allocations: 4 kB / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/1.174, allocations: 15.98 kB / 1.114 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.174, allocations: 3.906 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/1.174, allocations: 9.125 kB / 1.114 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/1.174, allocations: 4 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 7.368e-05/1.174, allocations: 109 kB / 1.114 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/1.174, allocations: 19.88 kB / 1.114 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/1.174, allocations: 8.375 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.174, allocations: 0 / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.174, allocations: 0 / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.174, allocations: 3.906 kB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/1.174, allocations: 312.6 kB / 1.114 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.174, allocations: 4 kB / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/1.174, allocations: 11.92 kB / 1.114 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.174, allocations: 7.906 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/1.174, allocations: 2.344 kB / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/1.174, allocations: 0 / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.174, allocations: 0 / 1.114 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001638/1.174, allocations: 175.4 kB / 1.115 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002609/1.175, allocations: 0.541 MB / 1.115 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/1.175, allocations: 85.02 kB / 1.115 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/1.175, allocations: 11.92 kB / 1.115 GB, free: 2.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/1.175, allocations: 4 kB / 1.115 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/1.175, allocations: 11.98 kB / 1.115 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/1.175, allocations: 3.906 kB / 1.115 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.355e-05/1.175, allocations: 91.22 kB / 1.115 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008978/1.176, allocations: 51.92 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.0003962/1.176, allocations: 165.6 kB / 1.116 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001376/1.176, allocations: 55.91 kB / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.176, allocations: 0 / 1.116 GB, free: 1.715 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/1.177, allocations: 24.31 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.0001958/1.177, allocations: 10.05 kB / 1.116 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/1.177, allocations: 99.75 kB / 1.116 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/1.177, allocations: 0.7036 MB / 1.116 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.177, allocations: 1.594 kB / 1.116 GB, free: 0.832 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)