Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [: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.443/1.443, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.001056/0.001056, allocations: 189.2 kB / 361.1 MB, free: 7.105 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.384/1.384, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009557/0.0009558, allocations: 88.58 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.06e-05, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6697, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.8418, allocations: 139.2 MB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.8421, allocations: 87.19 kB / 1.1 GB, free: 0.75 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: Performance of FrontEnd: time 0.008872/0.851, allocations: 2.647 MB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.851, allocations: 0 / 1.102 GB, free: 14.16 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.0004933/0.8515, allocations: 414.7 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.8515, allocations: 8.531 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.877e-05/0.8516, allocations: 9.531 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.8517, allocations: 174.9 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.8517, allocations: 1.625 kB / 1.103 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.8518, allocations: 4.562 kB / 1.103 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.708e-05/0.8519, allocations: 20 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.852, allocations: 56.88 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.852, allocations: 0.875 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.852, allocations: 4 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.852, allocations: 1.141 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005187/0.8526, allocations: 290.6 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.8527, allocations: 39.97 kB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.8527, allocations: 24.98 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.8528, allocations: 1.109 kB / 1.103 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.8529, allocations: 64.64 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.434e-06/0.8529, allocations: 0.5625 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002557/0.8531, allocations: 73.59 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.8532, allocations: 64.14 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.8533, allocations: 111.7 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.8533, allocations: 30.95 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.8534, allocations: 92.31 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.8534, allocations: 15.81 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/0.8534, allocations: 0.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8535, allocations: 324 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.855e-05/0.8536, allocations: 16 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.8536, allocations: 35.61 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.8537, allocations: 24.64 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8537, allocations: 0.9375 kB / 1.104 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001644/0.8539, allocations: 90.05 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.8539, allocations: 8 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8539, allocations: 0.7812 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8539, allocations: 0 / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.854, allocations: 17.75 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.854, allocations: 0.5625 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.659e-05/0.8541, allocations: 13.91 kB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.8542, allocations: 7.938 kB / 1.104 GB, free: 11.98 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.0001206/0.8543, allocations: 113 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.8543, allocations: 7.906 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.8543, allocations: 4.375 kB / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.8543, allocations: 0 / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8544, allocations: 0 / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8544, allocations: 0 / 1.104 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.8547, allocations: 337.6 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8547, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-05/0.8547, allocations: 7.984 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.8547, allocations: 1.031 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.8548, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.8548, allocations: 3.906 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.8548, allocations: 0 / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001985/0.855, allocations: 176.2 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.855, allocations: 88.95 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.8551, allocations: 0 / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.856e-05/0.8552, allocations: 7.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.8552, allocations: 4 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.8552, allocations: 3.984 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.447e-05/0.8553, allocations: 89.91 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002892/0.8556, allocations: 61.05 kB / 1.105 GB, free: 11.01 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.00036/0.8559, allocations: 170.2 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.8561, allocations: 48 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8561, allocations: 3.938 kB / 1.105 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.986e-05/0.8562, allocations: 32.11 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.8564, allocations: 7.891 kB / 1.105 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.8567, allocations: 96.62 kB / 1.105 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.857, allocations: 0.701 MB / 1.106 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.857, allocations: 6.625 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of Templates: time 0.004204/0.8612, allocations: 1.637 MB / 1.108 GB, free: 8.324 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1)