Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 0.6172 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 192 kB / 316 MB, free: 8.797 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.114/1.114, allocations: 205.1 MB / 0.5667 GB, free: 13.38 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007818/0.0007817, allocations: 88.3 kB / 0.671 GB, free: 51.46 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1904/0.1912, allocations: 112.5 MB / 0.7808 GB, free: 9.781 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4982/0.6895, allocations: 106.3 MB / 0.8846 GB, free: 89.04 MB / 0.6433 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.8398, allocations: 131.5 MB / 1.013 GB, free: 14.05 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.8401, allocations: 71.95 kB / 1.013 GB, free: 13.98 MB / 0.6589 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.006467/0.8465, allocations: 2.589 MB / 1.016 GB, free: 11.4 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.8466, allocations: 8 kB / 1.016 GB, free: 11.39 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.8467, allocations: 21.98 kB / 1.016 GB, free: 11.37 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.8469, allocations: 174.9 kB / 1.016 GB, free: 11.16 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.8469, allocations: 1.375 kB / 1.016 GB, free: 11.16 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.8469, allocations: 4 kB / 1.016 GB, free: 11.16 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/0.8471, allocations: 147.9 kB / 1.016 GB, free: 11.01 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.8473, allocations: 245.8 kB / 1.016 GB, free: 10.77 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.8473, allocations: 0 / 1.016 GB, free: 10.77 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.8473, allocations: 5.688 kB / 1.016 GB, free: 10.77 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.8474, allocations: 0 / 1.016 GB, free: 10.77 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.8475, allocations: 181.9 kB / 1.016 GB, free: 10.55 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.8479, allocations: 0.5371 MB / 1.017 GB, free: 10.01 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.8482, allocations: 0.5171 MB / 1.017 GB, free: 9.488 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.8482, allocations: 0 / 1.017 GB, free: 9.488 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002981/0.8485, allocations: 388.6 kB / 1.018 GB, free: 9.082 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=39): time 1.924e-06/0.8485, allocations: 1.25 kB / 1.018 GB, free: 9.082 MB / 0.6589 GB Notification: Performance of matching and sorting (n=39): time 0.000512/0.849, allocations: 0.508 MB / 1.018 GB, free: 8.57 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.8491, allocations: 101.1 kB / 1.018 GB, free: 8.453 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.8491, allocations: 94 kB / 1.019 GB, free: 8.355 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.8492, allocations: 29.7 kB / 1.019 GB, free: 8.32 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.8492, allocations: 82.05 kB / 1.019 GB, free: 8.238 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 9.854e-05/0.8493, allocations: 78.95 kB / 1.019 GB, free: 8.16 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-06/0.8493, allocations: 0 / 1.019 GB, free: 8.16 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8495, allocations: 331.5 kB / 1.019 GB, free: 7.828 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.933e-05/0.8496, allocations: 80.98 kB / 1.019 GB, free: 7.75 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.8496, allocations: 75.98 kB / 1.019 GB, free: 7.676 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.8498, allocations: 108 kB / 1.019 GB, free: 7.57 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8498, allocations: 0.5625 kB / 1.019 GB, free: 7.57 MB / 0.6589 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003642/0.8502, allocations: 383.5 kB / 1.02 GB, free: 7.191 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8502, allocations: 4 kB / 1.02 GB, free: 7.188 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.8502, allocations: 0.5938 kB / 1.02 GB, free: 7.188 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.8502, allocations: 0 / 1.02 GB, free: 7.188 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.284e-05/0.8502, allocations: 5.25 kB / 1.02 GB, free: 7.184 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8503, allocations: 0 / 1.02 GB, free: 7.184 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.839e-05/0.8503, allocations: 12.78 kB / 1.02 GB, free: 7.172 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.8503, allocations: 3.938 kB / 1.02 GB, free: 7.168 MB / 0.6589 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.0002088/0.8506, allocations: 243.1 kB / 1.02 GB, free: 6.926 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.8506, allocations: 19.81 kB / 1.02 GB, free: 6.906 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.8506, allocations: 9.25 kB / 1.02 GB, free: 6.898 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8506, allocations: 0.9375 kB / 1.02 GB, free: 6.898 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.8506, allocations: 12.2 kB / 1.02 GB, free: 6.891 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.8506, allocations: 0.7188 kB / 1.02 GB, free: 6.891 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.8508, allocations: 233.8 kB / 1.02 GB, free: 6.625 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.8509, allocations: 2.844 kB / 1.02 GB, free: 6.625 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.8509, allocations: 0 / 1.02 GB, free: 6.625 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.8509, allocations: 0 / 1.02 GB, free: 6.625 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.8509, allocations: 19.98 kB / 1.02 GB, free: 6.605 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.8509, allocations: 0 / 1.02 GB, free: 6.605 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.8509, allocations: 0 / 1.02 GB, free: 6.605 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000687/0.8516, allocations: 0.6631 MB / 1.021 GB, free: 5.93 MB / 0.6589 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007709/0.8524, allocations: 1.05 MB / 1.022 GB, free: 4.859 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.8524, allocations: 92.86 kB / 1.022 GB, free: 4.75 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.8526, allocations: 91.42 kB / 1.022 GB, free: 4.664 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.8527, allocations: 8 kB / 1.022 GB, free: 4.656 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.8527, allocations: 12.44 kB / 1.022 GB, free: 4.645 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/0.8528, allocations: 19.98 kB / 1.022 GB, free: 4.625 MB / 0.6589 GB Notification: Performance of sort global known variables: time 3.775e-05/0.8528, allocations: 87.44 kB / 1.022 GB, free: 4.539 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0008442/0.8537, allocations: 59.98 kB / 1.022 GB, free: 4.48 MB / 0.6589 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.0004779/0.8542, allocations: 245 kB / 1.022 GB, free: 4.242 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.0004419/0.8546, allocations: 0.4977 MB / 1.023 GB, free: 3.738 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8546, allocations: 0 / 1.023 GB, free: 3.738 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/0.856, allocations: 2.009 MB / 1.025 GB, free: 1.723 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.8561, allocations: 12.12 kB / 1.025 GB, free: 1.711 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.8565, allocations: 251.2 kB / 1.025 GB, free: 1.445 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/0.8568, allocations: 0.7316 MB / 1.026 GB, free: 0.6836 MB / 0.6589 GB Notification: Performance of SimCode: time 2.51e-07/0.8568, allocations: 4 kB / 1.026 GB, free: 0.6797 MB / 0.6589 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)