Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.465/2.465, allocations: 284.8 MB / 292.1 MB, free: 9.812 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.001616/0.001615, allocations: 183.6 kB / 360.3 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 0.6187 GB, free: 3.289 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001296/0.001295, allocations: 93.98 kB / 0.7317 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6097/0.611, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.834, allocations: 115.3 MB / 0.9628 GB, free: 57 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7108/1.545, allocations: 139 MB / 1.099 GB, free: 33.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/1.545, allocations: 85.12 kB / 1.099 GB, free: 33.04 MB / 0.7136 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.01407/1.559, allocations: 3.057 MB / 1.102 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.559, allocations: 7.875 kB / 1.102 GB, free: 32.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/1.56, allocations: 9.969 kB / 1.102 GB, free: 32.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/1.56, allocations: 166.9 kB / 1.102 GB, free: 32.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/1.56, allocations: 15.02 kB / 1.102 GB, free: 32.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/1.56, allocations: 3.875 kB / 1.102 GB, free: 32.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001149/1.56, allocations: 19.19 kB / 1.102 GB, free: 32.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.56, allocations: 54.61 kB / 1.102 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/1.56, allocations: 0 / 1.102 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.56, allocations: 0 / 1.102 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/1.56, allocations: 3.875 kB / 1.102 GB, free: 32.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/1.561, allocations: 282.7 kB / 1.102 GB, free: 32.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.561, allocations: 37.31 kB / 1.102 GB, free: 32 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/1.561, allocations: 24.23 kB / 1.102 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/1.561, allocations: 0 / 1.102 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/1.561, allocations: 74.61 kB / 1.102 GB, free: 31.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/1.561, allocations: 0 / 1.102 GB, free: 31.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003114/1.561, allocations: 81.84 kB / 1.102 GB, free: 31.9 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/1.561, allocations: 56.84 kB / 1.102 GB, free: 31.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/1.561, allocations: 112.1 kB / 1.102 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/1.561, allocations: 25.7 kB / 1.103 GB, free: 31.71 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/1.562, allocations: 85.92 kB / 1.103 GB, free: 31.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/1.562, allocations: 19.38 kB / 1.103 GB, free: 31.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/1.562, allocations: 0 / 1.103 GB, free: 31.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.445e-05/1.562, allocations: 321.6 kB / 1.103 GB, free: 31.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.456e-05/1.562, allocations: 18.22 kB / 1.103 GB, free: 31.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.017e-05/1.562, allocations: 42.42 kB / 1.103 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/1.562, allocations: 24.97 kB / 1.103 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.562, allocations: 0 / 1.103 GB, free: 31.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002503/1.562, allocations: 89.84 kB / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.562, allocations: 7.812 kB / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.562, allocations: 3.875 kB / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.562, allocations: 0 / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/1.563, allocations: 14.84 kB / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/1.563, allocations: 3.875 kB / 1.103 GB, free: 31.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/1.563, allocations: 7.656 kB / 1.103 GB, free: 31.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/1.563, allocations: 5.438 kB / 1.103 GB, free: 31.22 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 9.071e-05/1.563, allocations: 112.1 kB / 1.103 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/1.563, allocations: 7.656 kB / 1.103 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.765e-05/1.563, allocations: 9.562 kB / 1.103 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.563, allocations: 0 / 1.103 GB, free: 31.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.563, allocations: 3.938 kB / 1.103 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.563, allocations: 0 / 1.103 GB, free: 31.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/1.563, allocations: 325 kB / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/1.563, allocations: 3.719 kB / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-05/1.564, allocations: 7.188 kB / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.564, allocations: 0 / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/1.564, allocations: 0 / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.564, allocations: 7.016 kB / 1.104 GB, free: 30.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.564, allocations: 7.891 kB / 1.104 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002327/1.564, allocations: 172 kB / 1.104 GB, free: 30.69 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002858/1.564, allocations: 0.5527 MB / 1.104 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.264e-05/1.564, allocations: 81.02 kB / 1.104 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/1.564, allocations: 3.844 kB / 1.104 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/1.564, allocations: 3.875 kB / 1.104 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/1.564, allocations: 4.656 kB / 1.104 GB, free: 30.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/1.564, allocations: 7.875 kB / 1.104 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.381e-05/1.564, allocations: 100.4 kB / 1.104 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001294/1.566, allocations: 57.53 kB / 1.105 GB, free: 29.98 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.0005019/1.566, allocations: 166.9 kB / 1.105 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003072/1.567, allocations: 52.28 kB / 1.105 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.567, allocations: 5.25 kB / 1.105 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/1.567, allocations: 28 kB / 1.105 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/1.567, allocations: 3.938 kB / 1.105 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/1.568, allocations: 101 kB / 1.105 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/1.568, allocations: 0.7015 MB / 1.106 GB, free: 45.08 MB / 0.7292 GB Notification: Performance of SimCode: time 1.182e-06/1.568, allocations: 0 / 1.106 GB, free: 45.08 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)