Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") [: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.471/1.471, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009848/0.0009849, allocations: 181.2 kB / 361.1 MB, free: 7.102 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.407/1.407, allocations: 205.1 MB / 0.6195 GB, free: 11.94 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.0008857/0.0008852, allocations: 98.08 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.161e-06/6.191e-06, allocations: 0 / 0.8511 GB, free: 3.246 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.6174, allocations: 115.3 MB / 0.9637 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.7946, allocations: 137.8 MB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.7949, allocations: 84.28 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.006397/0.8013, allocations: 2.078 MB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.8013, allocations: 4 kB / 1.1 GB, free: 152 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004372/0.8018, allocations: 0.4994 MB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.8018, allocations: 9.406 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.652e-05/0.8019, allocations: 15.89 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.8021, allocations: 175.4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.8021, allocations: 5 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.8021, allocations: 4 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001586/0.8023, allocations: 145.2 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.8026, allocations: 246.5 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.8026, allocations: 9.25 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.8026, allocations: 0 / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.8026, allocations: 1.578 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.8029, allocations: 179.9 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.8032, allocations: 0.5322 MB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.8036, allocations: 0.5171 MB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-06/0.8036, allocations: 4.5 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.8039, allocations: 385.9 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.753e-06/0.8039, allocations: 0 / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005473/0.8045, allocations: 0.5041 MB / 1.103 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.8046, allocations: 109.6 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.503e-05/0.8047, allocations: 90.25 kB / 1.104 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.8047, allocations: 25.7 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.8047, allocations: 81.64 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.226e-05/0.8048, allocations: 83.42 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.8048, allocations: 0 / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8049, allocations: 327.3 kB / 1.104 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.805, allocations: 80.66 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.8051, allocations: 84.48 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.8052, allocations: 105.6 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8052, allocations: 0 / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003346/0.8056, allocations: 378.3 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8056, allocations: 7.984 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.8056, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.8056, allocations: 5.438 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.201e-05/0.8057, allocations: 0 / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8057, allocations: 1.562 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.8058, allocations: 16.41 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.8058, allocations: 5.312 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002158/0.806, allocations: 236.8 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.806, allocations: 19.81 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.468e-05/0.8061, allocations: 18 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.8061, allocations: 0 / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8061, allocations: 0 / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.8061, allocations: 5.391 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.8063, allocations: 233.8 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8063, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/0.8063, allocations: 0 / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.8063, allocations: 4 kB / 1.105 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.8064, allocations: 16.92 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.8064, allocations: 5.469 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8064, allocations: 0 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006848/0.8071, allocations: 0.6767 MB / 1.106 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.8072, allocations: 96.84 kB / 1.106 GB, free: 10 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.8073, allocations: 83.94 kB / 1.106 GB, free: 9.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.931e-05/0.8074, allocations: 11.98 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.8074, allocations: 8 kB / 1.106 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.3e-05/0.8075, allocations: 23.98 kB / 1.106 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.681e-05/0.8075, allocations: 75.97 kB / 1.106 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002932/0.8078, allocations: 64.64 kB / 1.106 GB, free: 9.738 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: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0004988/0.8083, allocations: 258.5 kB / 1.107 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004719/0.8088, allocations: 0.4938 MB / 1.107 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8088, allocations: 0 / 1.107 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/0.8102, allocations: 2.005 MB / 1.109 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.8104, allocations: 16.12 kB / 1.109 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004366/0.8109, allocations: 248.8 kB / 1.109 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002938/0.8112, allocations: 0.7317 MB / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of SimCode: time 3.01e-07/0.8112, allocations: 0 / 1.11 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of Templates: time 0.005156/0.8163, allocations: 2.701 MB / 1.113 GB, free: 3.309 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)