Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") [: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.1.4-maint.8.1.x/package.mo): time 1.445/1.445, allocations: 289.8 MB / 297.1 MB, free: 6.637 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.001042/0.001042, allocations: 189.2 kB / 366.3 MB, free: 1.949 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.213/1.213, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0009556/0.0009555, allocations: 94.62 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.743e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5679/0.568, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.7247, allocations: 140.2 MB / 1.109 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.725, allocations: 87.88 kB / 1.11 GB, free: 8.297 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: Performance of FrontEnd: time 0.008281/0.7333, allocations: 2.634 MB / 1.112 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7333, allocations: 0 / 1.112 GB, free: 5.68 MB / 0.7136 GB 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.0004492/0.7338, allocations: 422.3 kB / 1.113 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.7338, allocations: 12.03 kB / 1.113 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.7338, allocations: 11.89 kB / 1.113 GB, free: 5.195 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.734, allocations: 170.9 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.734, allocations: 0 / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.734, allocations: 8.641 kB / 1.113 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.739e-05/0.7341, allocations: 20 kB / 1.113 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.63e-05/0.7342, allocations: 57.67 kB / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7342, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.7342, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.7342, allocations: 0 / 1.113 GB, free: 4.898 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.7347, allocations: 289.2 kB / 1.113 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.7348, allocations: 39.61 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.7348, allocations: 20.98 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.7348, allocations: 8 kB / 1.113 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.487e-05/0.7349, allocations: 67.39 kB / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7349, allocations: 0 / 1.113 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001995/0.7351, allocations: 81.52 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.7352, allocations: 51.41 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.29e-05/0.7353, allocations: 116 kB / 1.113 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7353, allocations: 25.7 kB / 1.113 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.7353, allocations: 84.33 kB / 1.114 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.7353, allocations: 23.75 kB / 1.114 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-06/0.7354, allocations: 4.5 kB / 1.114 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.67e-05/0.7355, allocations: 318.8 kB / 1.114 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.7355, allocations: 16 kB / 1.114 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.7356, allocations: 42.56 kB / 1.114 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.565e-05/0.7356, allocations: 18.89 kB / 1.114 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7356, allocations: 4 kB / 1.114 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000159/0.7358, allocations: 98.52 kB / 1.114 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.7358, allocations: 4 kB / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7358, allocations: 0 / 1.114 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7358, allocations: 4 kB / 1.114 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.736, allocations: 15.98 kB / 1.114 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.736, allocations: 3.938 kB / 1.114 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.7361, allocations: 15.97 kB / 1.114 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.7361, allocations: 3.984 kB / 1.114 GB, free: 3.453 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.262e-05/0.7362, allocations: 105.8 kB / 1.114 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.7362, allocations: 7.906 kB / 1.114 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.7362, allocations: 9.312 kB / 1.114 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.7362, allocations: 4 kB / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.7362, allocations: 0 / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.7362, allocations: 0 / 1.114 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.7365, allocations: 323 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7365, allocations: 3.984 kB / 1.114 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.484e-05/0.7366, allocations: 8 kB / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.7366, allocations: 0 / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.7366, allocations: 0 / 1.115 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.7366, allocations: 3.906 kB / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7366, allocations: 0.8438 kB / 1.115 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001695/0.7368, allocations: 179.4 kB / 1.115 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.7369, allocations: 81.02 kB / 1.115 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.7369, allocations: 3.984 kB / 1.115 GB, free: 2.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.523e-05/0.737, allocations: 8 kB / 1.115 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.737, allocations: 7.922 kB / 1.115 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.737, allocations: 8 kB / 1.115 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.02e-05/0.7371, allocations: 91.22 kB / 1.115 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002618/0.7374, allocations: 43.92 kB / 1.115 GB, free: 2.496 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.0003106/0.7377, allocations: 172.8 kB / 1.115 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001295/0.7378, allocations: 53.8 kB / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.7378, allocations: 0 / 1.115 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.7379, allocations: 24 kB / 1.115 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.738, allocations: 17.16 kB / 1.115 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002867/0.7383, allocations: 99.8 kB / 1.115 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.7387, allocations: 0.7036 MB / 1.116 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7387, allocations: 0 / 1.116 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of Templates: time 0.004361/0.7431, allocations: 1.636 MB / 1.118 GB, free: 15.78 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)