Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",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.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009438/0.0009438, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.073/1.073, allocations: 205.2 MB / 0.6195 GB, free: 10.28 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.0008906/0.0008906, allocations: 85.66 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2159/0.2168, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5208/0.7376, allocations: 115.3 MB / 0.9638 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.9002, allocations: 139.2 MB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.9005, allocations: 86.38 kB / 1.1 GB, free: 0.6758 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.009538/0.9101, allocations: 3.053 MB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9101, allocations: 8 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.9102, allocations: 11.91 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.9103, allocations: 175.4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.9104, allocations: 4 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.9104, allocations: 7.281 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.42e-05/0.9105, allocations: 20.5 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.9106, allocations: 55.56 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.9106, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.9106, allocations: 0.6562 kB / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.9106, allocations: 0 / 1.103 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.9111, allocations: 285.5 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.9112, allocations: 43.98 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.714e-05/0.9113, allocations: 24.98 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.9113, allocations: 0.5625 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.134e-05/0.9114, allocations: 64.55 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.9114, allocations: 0.7812 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002469/0.9117, allocations: 78.42 kB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.9117, allocations: 55.94 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.173e-05/0.9118, allocations: 113.3 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.9119, allocations: 34.2 kB / 1.104 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.74e-05/0.9119, allocations: 80.92 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.9119, allocations: 19.75 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-06/0.9119, allocations: 0.8438 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9121, allocations: 320.9 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.9121, allocations: 19.94 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.285e-05/0.9122, allocations: 41.19 kB / 1.104 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.555e-05/0.9123, allocations: 28.56 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9123, allocations: 0 / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001711/0.9124, allocations: 92.17 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.9125, allocations: 4 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.9125, allocations: 4 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.9125, allocations: 0 / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.9126, allocations: 11.98 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.9126, allocations: 4 kB / 1.104 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.9127, allocations: 11.97 kB / 1.104 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.9127, allocations: 8 kB / 1.104 GB, free: 11.9 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 8.314e-05/0.9128, allocations: 108.9 kB / 1.104 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.84e-05/0.9128, allocations: 7.906 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.28e-05/0.9129, allocations: 12.38 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.9129, allocations: 1.641 kB / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9129, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.9129, allocations: 0 / 1.104 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.9132, allocations: 325.2 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9133, allocations: 3.938 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.9133, allocations: 7.984 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9133, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.9133, allocations: 0.6562 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.9133, allocations: 3.906 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9134, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002055/0.9136, allocations: 175.4 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002817/0.9139, allocations: 0.5439 MB / 1.105 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.363e-05/0.9139, allocations: 81.02 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.9139, allocations: 7.984 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.82e-05/0.914, allocations: 8 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.9141, allocations: 7.984 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9141, allocations: 7.938 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.697e-05/0.9142, allocations: 87.28 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008532/0.9151, allocations: 55.83 kB / 1.106 GB, free: 10.37 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.0003696/0.9154, allocations: 172.6 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.9156, allocations: 59.91 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9156, allocations: 0 / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.515e-05/0.9157, allocations: 28 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001816/0.9158, allocations: 7.938 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.9162, allocations: 96.56 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.9165, allocations: 0.7131 MB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.9165, allocations: 0 / 1.107 GB, free: 9.266 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)