Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.0/package.mo): time 2.48/2.48, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.002348/0.002348, allocations: 173.3 kB / 360.3 MB, free: 7.562 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.894/1.894, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.001265/0.001264, allocations: 97.14 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2967/0.298, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.9392, allocations: 115.2 MB / 0.9627 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2289/1.168, allocations: 139 MB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/1.169, allocations: 76.52 kB / 1.099 GB, free: 1.75 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01608/1.185, allocations: 3.06 MB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.185, allocations: 8.5 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/1.185, allocations: 13.2 kB / 1.102 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/1.185, allocations: 171 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/1.185, allocations: 0.5 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/1.185, allocations: 7.594 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/1.185, allocations: 20 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/1.185, allocations: 67.06 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/1.185, allocations: 3.984 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/1.185, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.185, allocations: 0.8125 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005982/1.186, allocations: 275.3 kB / 1.102 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/1.186, allocations: 43.81 kB / 1.102 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.731e-05/1.186, allocations: 20.98 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/1.186, allocations: 4 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/1.187, allocations: 72.77 kB / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/1.187, allocations: 0 / 1.102 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003872/1.187, allocations: 73.67 kB / 1.102 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/1.187, allocations: 63.38 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/1.187, allocations: 108.1 kB / 1.102 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.187, allocations: 29.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.463e-05/1.187, allocations: 92.31 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/1.187, allocations: 15.75 kB / 1.103 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/1.188, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002157/1.188, allocations: 318.8 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/1.188, allocations: 19.94 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/1.188, allocations: 34.58 kB / 1.103 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/1.188, allocations: 31.92 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/1.188, allocations: 0 / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004731/1.189, allocations: 86.75 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.189, allocations: 4 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.189, allocations: 0 / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.691e-05/1.189, allocations: 7.938 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.189, allocations: 11.98 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.189, allocations: 0 / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/1.189, allocations: 15.97 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/1.19, allocations: 4 kB / 1.103 GB, free: 12.96 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 0.0001668/1.19, allocations: 113.4 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/1.19, allocations: 7.906 kB / 1.103 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.577e-05/1.19, allocations: 8.375 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/1.19, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.19, allocations: 4 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/1.19, allocations: 0 / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/1.191, allocations: 326.2 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.191, allocations: 1.5 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/1.191, allocations: 11.98 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/1.191, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/1.191, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.191, allocations: 3.906 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.191, allocations: 0 / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005874/1.192, allocations: 183.4 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007162/1.192, allocations: 0.542 MB / 1.104 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/1.193, allocations: 85.02 kB / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.016e-05/1.193, allocations: 0 / 1.104 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/1.193, allocations: 13.36 kB / 1.104 GB, free: 11.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-05/1.193, allocations: 8 kB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/1.193, allocations: 7.922 kB / 1.104 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001105/1.193, allocations: 87.28 kB / 1.104 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002997/1.196, allocations: 59.83 kB / 1.105 GB, free: 11.42 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.0007101/1.197, allocations: 180.1 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004055/1.197, allocations: 47.98 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.197, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001761/1.198, allocations: 27.94 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/1.198, allocations: 11 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006833/1.199, allocations: 94.39 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004849/1.199, allocations: 0.7124 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of SimCode: time 1.512e-06/1.199, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)