Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.348/2.348, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001576, allocations: 181.3 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 90.53 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.536e-06, allocations: 0 / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6221/0.6221, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2129/0.8351, allocations: 137.5 MB / 1.097 GB, free: 3.242 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.8354, allocations: 84.78 kB / 1.097 GB, free: 3.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.009685/0.8451, allocations: 2.036 MB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.8452, allocations: 0 / 1.099 GB, free: 1.168 MB / 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.0005868/0.8458, allocations: 428.8 kB / 1.1 GB, free: 0.707 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.8459, allocations: 10.62 kB / 1.1 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.846, allocations: 17.88 kB / 1.1 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.8461, allocations: 171.6 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.8462, allocations: 3.984 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.8462, allocations: 4 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002002/0.8464, allocations: 81.14 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.8468, allocations: 178.3 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.8468, allocations: 0.6562 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.8468, allocations: 0.7031 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.8469, allocations: 5.156 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.8471, allocations: 189.7 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/0.8474, allocations: 131.7 kB / 1.1 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.8475, allocations: 122.4 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.8475, allocations: 0.5156 kB / 1.1 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003372/0.8479, allocations: 191.3 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 1.904e-06/0.8479, allocations: 0.5938 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005837/0.8485, allocations: 360.3 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.08e-05/0.8486, allocations: 95.92 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.823e-05/0.8487, allocations: 106.3 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.91e-05/0.8488, allocations: 50.22 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.046e-05/0.8489, allocations: 81.42 kB / 1.101 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.849, allocations: 98.84 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.849, allocations: 0.5 kB / 1.101 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8492, allocations: 339.4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/0.8496, allocations: 165.8 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.85, allocations: 229.2 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004674/0.8505, allocations: 206.7 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.8505, allocations: 0 / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001141/0.8516, allocations: 0.5586 MB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.8517, allocations: 4.938 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8517, allocations: 1.312 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/0.8517, allocations: 8.469 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.8519, allocations: 20.58 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.8519, allocations: 7.938 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.8521, allocations: 30.72 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.8521, allocations: 12 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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.0002593/0.8524, allocations: 165.5 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.8525, allocations: 16.56 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.392e-05/0.8525, allocations: 5.312 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.8525, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.8525, allocations: 0 / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.8526, allocations: 7.984 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.8528, allocations: 177.9 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.8528, allocations: 0 / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/0.8528, allocations: 2.25 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.8528, allocations: 4.453 kB / 1.103 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.8529, allocations: 7.984 kB / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.8529, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8529, allocations: 0 / 1.103 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005906/0.8535, allocations: 402.3 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.8536, allocations: 92.95 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.8537, allocations: 43.95 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.8538, allocations: 3.906 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.8539, allocations: 4.797 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.8539, allocations: 11.98 kB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.321e-05/0.854, allocations: 83.28 kB / 1.104 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004639/0.8544, allocations: 47.92 kB / 1.104 GB, free: 12.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: 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: 35 (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],occ.occ,occ.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006067/0.8551, allocations: 212.6 kB / 1.104 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007242/0.8558, allocations: 352.7 kB / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8558, allocations: 0 / 1.104 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.856, allocations: 120 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.8562, allocations: 13.23 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006527/0.8569, allocations: 246 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.8574, allocations: 0.7353 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/0.8574, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.008302/0.8657, allocations: 2.521 MB / 1.108 GB, free: 7.836 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)