Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.842/1.842, allocations: 390.4 MB / 397.7 MB, free: 10.66 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.001081/0.001081, allocations: 179.3 kB / 490.8 MB, free: 11.17 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.229/1.229, allocations: 221.4 MB / 0.7863 GB, free: 13.55 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.0008827/0.0008828, allocations: 97.34 kB / 0.9264 GB, free: 20.92 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2709/0.2718, allocations: 149.1 MB / 1.072 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.619/0.8908, allocations: 143 MB / 1.212 GB, free: 53.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/1.071, allocations: 151.5 MB / 1.36 GB, free: 2.406 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.072, allocations: 79.95 kB / 1.36 GB, free: 2.328 MB / 0.8542 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.009967/1.082, allocations: 3.378 MB / 1.363 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/1.082, allocations: 12 kB / 1.363 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/1.082, allocations: 7.906 kB / 1.363 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/1.082, allocations: 178.9 kB / 1.363 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/1.082, allocations: 0 / 1.363 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/1.082, allocations: 4 kB / 1.363 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.992e-05/1.082, allocations: 28 kB / 1.363 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/1.082, allocations: 69.66 kB / 1.363 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/1.082, allocations: 3.938 kB / 1.363 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.082, allocations: 3.984 kB / 1.363 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/1.082, allocations: 0 / 1.363 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/1.083, allocations: 309.2 kB / 1.364 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.562e-05/1.083, allocations: 46.56 kB / 1.364 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.086e-05/1.083, allocations: 32.86 kB / 1.364 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.083, allocations: 0 / 1.364 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001138/1.083, allocations: 91.31 kB / 1.364 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/1.083, allocations: 0 / 1.364 GB, free: 14.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0002715/1.083, allocations: 96.08 kB / 1.364 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/1.083, allocations: 59.39 kB / 1.364 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.594e-05/1.084, allocations: 109 kB / 1.364 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/1.084, allocations: 29.7 kB / 1.364 GB, free: 13.71 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/1.084, allocations: 88.12 kB / 1.364 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/1.084, allocations: 15.72 kB / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/1.084, allocations: 4 kB / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/1.084, allocations: 322.8 kB / 1.364 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.36e-05/1.084, allocations: 20 kB / 1.364 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.068e-05/1.084, allocations: 52.28 kB / 1.364 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/1.084, allocations: 31.92 kB / 1.365 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.084, allocations: 4 kB / 1.365 GB, free: 13.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001675/1.084, allocations: 97.52 kB / 1.365 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/1.084, allocations: 8 kB / 1.365 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/1.084, allocations: 0 / 1.365 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.084, allocations: 4 kB / 1.365 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/1.084, allocations: 15.92 kB / 1.365 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.084, allocations: 4 kB / 1.365 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/1.084, allocations: 12 kB / 1.365 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/1.084, allocations: 4 kB / 1.365 GB, free: 13 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.584e-05/1.084, allocations: 120.8 kB / 1.365 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.773e-05/1.084, allocations: 7.906 kB / 1.365 GB, free: 12.87 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.39e-05/1.085, allocations: 8.375 kB / 1.365 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.085, allocations: 0 / 1.365 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/1.085, allocations: 0 / 1.365 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.085, allocations: 3.906 kB / 1.365 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003524/1.085, allocations: 355.1 kB / 1.365 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/1.085, allocations: 4 kB / 1.365 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.578e-05/1.085, allocations: 8 kB / 1.365 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/1.085, allocations: 3.906 kB / 1.365 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/1.085, allocations: 7.922 kB / 1.365 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.085, allocations: 0 / 1.365 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.085, allocations: 48 / 1.365 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002151/1.085, allocations: 207.3 kB / 1.365 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003284/1.086, allocations: 0.5565 MB / 1.366 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/1.086, allocations: 85 kB / 1.366 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/1.086, allocations: 7.906 kB / 1.366 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/1.086, allocations: 8 kB / 1.366 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.086, allocations: 7.984 kB / 1.366 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/1.086, allocations: 0 / 1.366 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.071e-05/1.086, allocations: 100.5 kB / 1.366 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008838/1.087, allocations: 51.98 kB / 1.366 GB, free: 11.38 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003045/1.087, allocations: 178.3 kB / 1.366 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001572/1.087, allocations: 67.97 kB / 1.366 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/1.087, allocations: 0 / 1.366 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/1.087, allocations: 35.94 kB / 1.366 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001821/1.088, allocations: 11.98 kB / 1.366 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/1.088, allocations: 115.4 kB / 1.367 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/1.088, allocations: 0.7077 MB / 1.367 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/1.088, allocations: 4 kB / 1.367 GB, free: 10.23 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)