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: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",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.1-maint.8.0.x/package.mo): time 1.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009885/0.0009886, allocations: 181.3 kB / 361.1 MB, free: 7.094 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.148/1.148, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007805/0.0007806, allocations: 90.08 kB / 0.7325 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2208/0.2216, allocations: 121.4 MB / 0.8511 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5569/0.7785, allocations: 115.3 MB / 0.9638 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.9281, allocations: 137.8 MB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.9284, allocations: 75.94 kB / 1.098 GB, free: 2.176 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.007254/0.9356, allocations: 2.593 MB / 1.101 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.9357, allocations: 8 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.9359, allocations: 15.89 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.9361, allocations: 177.6 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.9361, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.9361, allocations: 7.984 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001889/0.9363, allocations: 147.9 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.9366, allocations: 249.2 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.9366, allocations: 0 / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.9366, allocations: 4 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9367, allocations: 3.219 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.9368, allocations: 177.9 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.9372, allocations: 0.5298 MB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.9375, allocations: 0.5171 MB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.9375, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.9379, allocations: 396.3 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.114e-06/0.9379, allocations: 0.6875 kB / 1.103 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0005264/0.9384, allocations: 0.5003 MB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.9385, allocations: 106.3 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.102e-05/0.9386, allocations: 89 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.9386, allocations: 32.23 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.9386, allocations: 85.3 kB / 1.104 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.368e-05/0.9387, allocations: 78.86 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.9387, allocations: 0.5 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.9388, allocations: 332.3 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.9389, allocations: 75.98 kB / 1.104 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.178e-05/0.939, allocations: 83.92 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.9391, allocations: 108.6 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9391, allocations: 0.625 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003268/0.9394, allocations: 378.3 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.9395, allocations: 4.906 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9395, allocations: 0 / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.9395, allocations: 0.5938 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.373e-05/0.9395, allocations: 4 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.9395, allocations: 2.719 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.9396, allocations: 18.62 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.9396, allocations: 0.5312 kB / 1.105 GB, free: 11.35 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.0001964/0.9398, allocations: 238.2 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.9399, allocations: 19.81 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.261e-05/0.9399, allocations: 13.34 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.9399, allocations: 3.984 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.9399, allocations: 4 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.9399, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.9401, allocations: 233.8 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9401, allocations: 0.625 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.9401, allocations: 96 / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9401, allocations: 4 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.9402, allocations: 19.98 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9402, allocations: 3.906 kB / 1.105 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.9402, allocations: 3.984 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006842/0.9409, allocations: 0.6688 MB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007534/0.9416, allocations: 1.04 MB / 1.107 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.9417, allocations: 92.86 kB / 1.107 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.9418, allocations: 87.92 kB / 1.107 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.9419, allocations: 10.06 kB / 1.107 GB, free: 8.828 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.942, allocations: 8 kB / 1.107 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.942, allocations: 23.98 kB / 1.107 GB, free: 8.797 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.704e-05/0.942, allocations: 83.45 kB / 1.107 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008487/0.9429, allocations: 56 kB / 1.107 GB, free: 8.66 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.0004853/0.9434, allocations: 265.1 kB / 1.108 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.9439, allocations: 0.4976 MB / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9439, allocations: 0 / 1.108 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.9453, allocations: 2.005 MB / 1.11 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.9455, allocations: 14.06 kB / 1.11 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.946, allocations: 257 kB / 1.11 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.9463, allocations: 0.7239 MB / 1.111 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.9463, allocations: 4 kB / 1.111 GB, free: 4.852 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)