Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.5/1.5, allocations: 289.8 MB / 297.1 MB, free: 8.988 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.001056/0.001056, allocations: 189.2 kB / 366.3 MB, free: 11.33 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.26/1.26, allocations: 205.1 MB / 0.6256 GB, free: 11.36 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009194/0.0009194, allocations: 93.64 kB / 0.7396 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.532e-06/6.692e-06, allocations: 0 / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1726, allocations: 116.3 MB / 0.9726 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5191/0.6917, allocations: 138.8 MB / 1.108 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.6921, allocations: 78.39 kB / 1.108 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.006573/0.6986, allocations: 2.086 MB / 1.11 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.6987, allocations: 2.156 kB / 1.11 GB, free: 16.14 MB / 0.6823 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.0003919/0.6991, allocations: 0.493 MB / 1.111 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.6991, allocations: 8.781 kB / 1.111 GB, free: 15.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.6992, allocations: 22.34 kB / 1.111 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.332e-05/0.6993, allocations: 174.5 kB / 1.111 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.6994, allocations: 2.5 kB / 1.111 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.6994, allocations: 4.062 kB / 1.111 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001701/0.6996, allocations: 142.8 kB / 1.111 GB, free: 15.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.6998, allocations: 241.6 kB / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6999, allocations: 5.062 kB / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.6999, allocations: 1.344 kB / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.6999, allocations: 0 / 1.111 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.7001, allocations: 191.2 kB / 1.111 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.7004, allocations: 0.5348 MB / 1.112 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.7007, allocations: 0.5191 MB / 1.112 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-06/0.7007, allocations: 0 / 1.112 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/0.7011, allocations: 381.8 kB / 1.113 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 1.012e-06/0.7011, allocations: 1.312 kB / 1.113 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.0005783/0.7017, allocations: 0.5076 MB / 1.113 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.7017, allocations: 111.6 kB / 1.113 GB, free: 15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.7018, allocations: 92.73 kB / 1.114 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.7018, allocations: 26.86 kB / 1.114 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 1.367e-05/0.7018, allocations: 81.98 kB / 1.114 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.7019, allocations: 80.39 kB / 1.114 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-06/0.7019, allocations: 1.469 kB / 1.114 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.063e-05/0.7019, allocations: 324.5 kB / 1.114 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.048e-05/0.702, allocations: 79.23 kB / 1.114 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.424e-05/0.7021, allocations: 85.64 kB / 1.114 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.7022, allocations: 106.2 kB / 1.114 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7023, allocations: 0 / 1.114 GB, free: 14.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003815/0.7026, allocations: 378.3 kB / 1.115 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.7027, allocations: 5.312 kB / 1.115 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.7027, allocations: 0 / 1.115 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.7027, allocations: 1.344 kB / 1.115 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.046e-05/0.7027, allocations: 5.359 kB / 1.115 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.7028, allocations: 1.078 kB / 1.115 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.7028, allocations: 17.19 kB / 1.115 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.7028, allocations: 5.219 kB / 1.115 GB, free: 14.36 MB / 0.6823 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.0002026/0.703, allocations: 240.2 kB / 1.115 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.307e-05/0.7031, allocations: 21.75 kB / 1.115 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.7031, allocations: 10.41 kB / 1.115 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.7031, allocations: 1.547 kB / 1.115 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7031, allocations: 5.125 kB / 1.115 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7031, allocations: 0 / 1.115 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.7033, allocations: 237.3 kB / 1.115 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.7033, allocations: 1.156 kB / 1.115 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.7033, allocations: 0 / 1.115 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.7033, allocations: 5.438 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.52e-05/0.7033, allocations: 18.08 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7034, allocations: 0 / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7034, allocations: 1.438 kB / 1.115 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007632/0.7041, allocations: 0.6694 MB / 1.116 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.7042, allocations: 89.45 kB / 1.116 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.7043, allocations: 93.83 kB / 1.116 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.934e-05/0.7044, allocations: 11.56 kB / 1.116 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.7045, allocations: 10.73 kB / 1.116 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.267e-05/0.7045, allocations: 21.64 kB / 1.116 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.831e-05/0.7045, allocations: 77.56 kB / 1.116 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002866/0.7048, allocations: 59.88 kB / 1.116 GB, free: 13.75 MB / 0.6823 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.0004411/0.7053, allocations: 257.9 kB / 1.116 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.7058, allocations: 0.4984 MB / 1.117 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7058, allocations: 0 / 1.117 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.7071, allocations: 2.005 MB / 1.119 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.7073, allocations: 12.62 kB / 1.119 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004018/0.7077, allocations: 247.9 kB / 1.119 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/0.7081, allocations: 0.7305 MB / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of SimCode: time 8.22e-07/0.7081, allocations: 1.031 kB / 1.12 GB, free: 28.76 MB / 0.698 GB Notification: Performance of Templates: time 0.005032/0.7131, allocations: 2.693 MB / 1.122 GB, free: 28.48 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.sim & ./Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)