Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",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.0.1-maint.8.0.x/package.mo): time 1.375/1.375, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009892/0.0009892, allocations: 175.4 kB / 361.1 MB, free: 7.105 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.196/1.196, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0008163/0.0008164, allocations: 86.81 kB / 0.7325 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2079/0.2087, allocations: 121.4 MB / 0.8511 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5085/0.7173, allocations: 115.3 MB / 0.9638 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.8625, allocations: 139.2 MB / 1.1 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.8628, allocations: 77.22 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.008801/0.8716, allocations: 3.058 MB / 1.103 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.8717, allocations: 10.09 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.33e-05/0.8717, allocations: 7.906 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.8718, allocations: 174.9 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.8719, allocations: 4 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.8719, allocations: 4.594 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.813e-05/0.872, allocations: 23.98 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.8721, allocations: 54.3 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.8721, allocations: 5.391 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.8721, allocations: 0 / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8721, allocations: 4 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.8726, allocations: 281.2 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.605e-05/0.8727, allocations: 35.23 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.8728, allocations: 29.56 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.8728, allocations: 1.656 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.091e-05/0.8729, allocations: 64.69 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.8729, allocations: 0.5625 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002144/0.8731, allocations: 86.23 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.8732, allocations: 51.41 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.8732, allocations: 117 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.8733, allocations: 29.7 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/0.8733, allocations: 84.81 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.8733, allocations: 20.38 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.8733, allocations: 0.6875 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.8734, allocations: 315.5 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.718e-05/0.8735, allocations: 23.92 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.671e-05/0.8735, allocations: 39.33 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.8736, allocations: 25.39 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8736, allocations: 0 / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001634/0.8738, allocations: 94.66 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.8738, allocations: 4 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.8738, allocations: 5.312 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.8738, allocations: 0 / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.894e-05/0.8739, allocations: 12 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.8739, allocations: 14.22 kB / 1.104 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.874, allocations: 9.188 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.874, allocations: 4 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.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.412e-05/0.8741, allocations: 107.7 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.8742, allocations: 7.906 kB / 1.104 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.8742, allocations: 16.36 kB / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.8742, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8742, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8742, allocations: 0 / 1.104 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.8745, allocations: 319 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.8745, allocations: 2 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.836e-05/0.8746, allocations: 8 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8746, allocations: 0 / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.8746, allocations: 3.984 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8746, allocations: 3.906 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.8746, allocations: 4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002013/0.8749, allocations: 175.4 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00029/0.8752, allocations: 0.5484 MB / 1.105 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.8752, allocations: 81.02 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.8752, allocations: 8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.8753, allocations: 7.984 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.8754, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.8754, allocations: 7.938 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.395e-05/0.8755, allocations: 91.27 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008726/0.8763, allocations: 55.84 kB / 1.106 GB, free: 10.49 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 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.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.0003319/0.8767, allocations: 178 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001306/0.8768, allocations: 51.94 kB / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.8768, allocations: 0 / 1.106 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.561e-05/0.8769, allocations: 32.86 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.8771, allocations: 4 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.8774, allocations: 105.1 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.8776, allocations: 0.7005 MB / 1.107 GB, free: 9.391 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.8776, allocations: 2.25 kB / 1.107 GB, free: 9.391 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1)