Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.486/2.486, allocations: 284.8 MB / 292.1 MB, free: 10.71 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.001614/0.001613, allocations: 177.3 kB / 360.3 MB, free: 7.504 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.923/1.923, allocations: 205.1 MB / 0.6187 GB, free: 12.46 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.001537/0.001536, allocations: 86.53 kB / 0.7317 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2912/0.2927, allocations: 121.4 MB / 0.8502 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.9996, allocations: 115.2 MB / 0.9627 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2483/1.248, allocations: 137.5 MB / 1.097 GB, free: 3.266 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.248, allocations: 80.72 kB / 1.097 GB, free: 3.191 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.01119/1.259, allocations: 2.461 MB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.26, allocations: 8 kB / 1.1 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/1.26, allocations: 19.8 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/1.26, allocations: 168.8 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.26, allocations: 4 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/1.26, allocations: 4 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001625/1.26, allocations: 81.64 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003659/1.26, allocations: 187.7 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/1.261, allocations: 2.016 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/1.261, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/1.261, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000301/1.261, allocations: 182.2 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002807/1.261, allocations: 142.5 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/1.261, allocations: 114.5 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/1.261, allocations: 0 / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/1.262, allocations: 196.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/1.262, allocations: 0.5938 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0006728/1.262, allocations: 357.1 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.263, allocations: 91.36 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/1.263, allocations: 114.1 kB / 1.101 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-05/1.263, allocations: 50.17 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.714e-05/1.263, allocations: 85.61 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/1.263, allocations: 95.41 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.52e-05/1.263, allocations: 4 kB / 1.101 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.263, allocations: 336.5 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003459/1.264, allocations: 162.2 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/1.264, allocations: 226.7 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005029/1.265, allocations: 209 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.265, allocations: 3.938 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001221/1.266, allocations: 0.5506 MB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/1.266, allocations: 4 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.266, allocations: 5.406 kB / 1.103 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.266, allocations: 3.906 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/1.266, allocations: 23.92 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/1.266, allocations: 7.938 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/1.266, allocations: 31.72 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/1.267, allocations: 17.62 kB / 1.103 GB, free: 13.16 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.0002694/1.267, allocations: 159.7 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/1.267, allocations: 17.77 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/1.267, allocations: 6.016 kB / 1.103 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/1.267, allocations: 4 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.267, allocations: 0 / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.267, allocations: 0 / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/1.267, allocations: 173.9 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/1.267, allocations: 7.984 kB / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.724e-06/1.267, allocations: 0 / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/1.267, allocations: 0 / 1.103 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.299e-05/1.267, allocations: 4 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.267, allocations: 3.938 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.267, allocations: 4 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006522/1.268, allocations: 395 kB / 1.104 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006998/1.269, allocations: 0.7512 MB / 1.104 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/1.269, allocations: 100.8 kB / 1.104 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.269, allocations: 39.97 kB / 1.104 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/1.269, allocations: 4 kB / 1.104 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/1.269, allocations: 3.984 kB / 1.104 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.464e-05/1.269, allocations: 8 kB / 1.105 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.762e-05/1.269, allocations: 84.02 kB / 1.105 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001289/1.271, allocations: 59.94 kB / 1.105 GB, free: 11.26 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.0006922/1.271, allocations: 215.8 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008526/1.272, allocations: 357.2 kB / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/1.272, allocations: 0 / 1.105 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/1.272, allocations: 123.9 kB / 1.105 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/1.273, allocations: 15.25 kB / 1.105 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006694/1.273, allocations: 243.5 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/1.274, allocations: 0.7353 MB / 1.106 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of SimCode: time 1.412e-06/1.274, allocations: 0 / 1.106 GB, free: 9.562 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)