Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.634/2.634, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.002426/0.002426, allocations: 195.3 kB / 360.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.6187 GB, free: 13.18 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.001677/0.001676, allocations: 85.67 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3372/0.3389, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6972/1.036, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2451/1.281, allocations: 139 MB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004642/1.282, allocations: 81.09 kB / 1.099 GB, free: 1.715 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.02258/1.304, allocations: 3.062 MB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.305, allocations: 12 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/1.305, allocations: 7.906 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/1.305, allocations: 167 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/1.305, allocations: 6.297 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.915e-05/1.305, allocations: 7.984 kB / 1.102 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001163/1.305, allocations: 20.59 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/1.305, allocations: 54.39 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.305, allocations: 0 / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.305, allocations: 0.5312 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.305, allocations: 4 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/1.306, allocations: 280.4 kB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/1.306, allocations: 42.56 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.854e-05/1.306, allocations: 24.98 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/1.306, allocations: 80 / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/1.306, allocations: 71.38 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.054e-06/1.306, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003627/1.307, allocations: 79.56 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/1.307, allocations: 55.41 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.307, allocations: 119 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.307, allocations: 25.7 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.794e-05/1.307, allocations: 89.62 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/1.307, allocations: 15.75 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/1.307, allocations: 0 / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.307, allocations: 322.8 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/1.307, allocations: 19.94 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.744e-05/1.307, allocations: 34.58 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/1.307, allocations: 23.98 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.308, allocations: 0 / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002719/1.308, allocations: 97.5 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.308, allocations: 8 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.308, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/1.308, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/1.308, allocations: 19.92 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.308, allocations: 4.062 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/1.308, allocations: 11.59 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/1.308, allocations: 4 kB / 1.103 GB, free: 12.92 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.0001068/1.308, allocations: 108.8 kB / 1.103 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/1.308, allocations: 3.906 kB / 1.103 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/1.308, allocations: 16.36 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/1.308, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/1.308, allocations: 4 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.309, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005242/1.309, allocations: 319 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.309, allocations: 0 / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.404e-05/1.309, allocations: 7.984 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.309, allocations: 0 / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/1.309, allocations: 4 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.309, allocations: 5.656 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.309, allocations: 7.672 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002872/1.31, allocations: 175.4 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004399/1.31, allocations: 0.5467 MB / 1.104 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/1.31, allocations: 85.02 kB / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/1.31, allocations: 0 / 1.104 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/1.31, allocations: 11.98 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/1.31, allocations: 4 kB / 1.104 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/1.31, allocations: 7.922 kB / 1.104 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001671/1.311, allocations: 88.97 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001292/1.312, allocations: 59.83 kB / 1.105 GB, free: 11.39 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.000518/1.312, allocations: 170.5 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002476/1.313, allocations: 55.92 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.313, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.838e-05/1.313, allocations: 31.92 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/1.313, allocations: 5.031 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/1.313, allocations: 97.95 kB / 1.105 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004008/1.314, allocations: 0.7075 MB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.314, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)