Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.918/1.918, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.0009819/0.0009819, allocations: 177.2 kB / 490.8 MB, free: 1.938 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.7863 GB, free: 13.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009716/0.0009718, allocations: 103.7 kB / 0.9264 GB, free: 14.35 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.5105/0.5115, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.7507, allocations: 143 MB / 1.212 GB, free: 21.84 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.65/1.401, allocations: 151.4 MB / 1.36 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/1.401, allocations: 75.95 kB / 1.36 GB, free: 1.445 MB / 0.8073 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.008415/1.409, allocations: 3.035 MB / 1.363 GB, free: 14.82 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/1.409, allocations: 8 kB / 1.363 GB, free: 14.81 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/1.41, allocations: 7.906 kB / 1.363 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/1.41, allocations: 171.1 kB / 1.363 GB, free: 14.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.41, allocations: 7.906 kB / 1.363 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/1.41, allocations: 4 kB / 1.363 GB, free: 14.59 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.296e-05/1.41, allocations: 22.88 kB / 1.363 GB, free: 14.57 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/1.41, allocations: 55.48 kB / 1.363 GB, free: 14.52 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.41, allocations: 0 / 1.363 GB, free: 14.52 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/1.41, allocations: 0 / 1.363 GB, free: 14.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.41, allocations: 0 / 1.363 GB, free: 14.52 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/1.41, allocations: 276.3 kB / 1.363 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.814e-05/1.41, allocations: 38.14 kB / 1.363 GB, free: 14.19 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.253e-05/1.41, allocations: 24.23 kB / 1.363 GB, free: 14.17 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/1.41, allocations: 0 / 1.363 GB, free: 14.17 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.931e-05/1.411, allocations: 73.08 kB / 1.363 GB, free: 14.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/1.411, allocations: 4 kB / 1.363 GB, free: 14.09 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0001853/1.411, allocations: 81.03 kB / 1.363 GB, free: 14.02 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/1.411, allocations: 51.41 kB / 1.363 GB, free: 13.96 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.937e-05/1.411, allocations: 112 kB / 1.363 GB, free: 13.85 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.411, allocations: 25.7 kB / 1.364 GB, free: 13.82 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/1.411, allocations: 88.14 kB / 1.364 GB, free: 13.73 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/1.411, allocations: 19.73 kB / 1.364 GB, free: 13.71 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/1.411, allocations: 0 / 1.364 GB, free: 13.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.411, allocations: 318.7 kB / 1.364 GB, free: 13.39 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.059e-05/1.411, allocations: 11.94 kB / 1.364 GB, free: 13.39 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/1.411, allocations: 59.02 kB / 1.364 GB, free: 13.32 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/1.411, allocations: 11.5 kB / 1.364 GB, free: 13.31 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.411, allocations: 15.92 kB / 1.364 GB, free: 13.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001335/1.411, allocations: 85.02 kB / 1.364 GB, free: 13.22 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.411, allocations: 8 kB / 1.364 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.411, allocations: 0 / 1.364 GB, free: 13.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/1.411, allocations: 7.938 kB / 1.364 GB, free: 13.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/1.412, allocations: 12.92 kB / 1.364 GB, free: 13.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/1.412, allocations: 8.062 kB / 1.364 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/1.412, allocations: 16.05 kB / 1.364 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/1.412, allocations: 4 kB / 1.364 GB, free: 13.16 MB / 0.823 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 9.177e-05/1.412, allocations: 116.1 kB / 1.364 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/1.412, allocations: 7.906 kB / 1.364 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.412, allocations: 4.375 kB / 1.364 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.412, allocations: 0 / 1.364 GB, free: 13.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.412, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/1.412, allocations: 4 kB / 1.364 GB, free: 13.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/1.412, allocations: 320.9 kB / 1.365 GB, free: 12.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.412, allocations: 3.984 kB / 1.365 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/1.412, allocations: 4 kB / 1.365 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/1.412, allocations: 0 / 1.365 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.412, allocations: 4 kB / 1.365 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.412, allocations: 8.406 kB / 1.365 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/1.412, allocations: 0 / 1.365 GB, free: 12.68 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001567/1.412, allocations: 178.4 kB / 1.365 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002466/1.413, allocations: 0.5394 MB / 1.365 GB, free: 11.96 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.708e-05/1.413, allocations: 88.94 kB / 1.365 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/1.413, allocations: 4 kB / 1.365 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/1.413, allocations: 8 kB / 1.365 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/1.413, allocations: 11.86 kB / 1.365 GB, free: 11.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/1.413, allocations: 4 kB / 1.365 GB, free: 11.83 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.155e-05/1.413, allocations: 97.44 kB / 1.366 GB, free: 11.74 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008889/1.414, allocations: 47.72 kB / 1.366 GB, free: 11.7 MB / 0.823 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.0002961/1.414, allocations: 163.2 kB / 1.366 GB, free: 11.54 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001107/1.414, allocations: 46.86 kB / 1.366 GB, free: 11.51 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/1.414, allocations: 4 kB / 1.366 GB, free: 11.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.991e-05/1.414, allocations: 26 kB / 1.366 GB, free: 11.49 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001782/1.415, allocations: 5.109 kB / 1.366 GB, free: 11.48 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/1.415, allocations: 102.6 kB / 1.366 GB, free: 11.37 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/1.415, allocations: 0.7036 MB / 1.367 GB, free: 10.64 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.415, allocations: 3.938 kB / 1.367 GB, free: 10.64 MB / 0.823 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)