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: "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.00119/0.00119, allocations: 185.3 kB / 366.3 MB, free: 2.008 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.535/1.535, allocations: 205.2 MB / 0.6256 GB, free: 5.906 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.00103/0.00103, allocations: 87.19 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3034/0.3045, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/1.007, allocations: 116.3 MB / 0.9727 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/1.194, allocations: 138.8 MB / 1.108 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.194, allocations: 79.89 kB / 1.108 GB, free: 9.629 MB / 0.7136 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.007226/1.202, allocations: 2.601 MB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.202, allocations: 8 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/1.202, allocations: 15.91 kB / 1.111 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/1.202, allocations: 174.9 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/1.202, allocations: 0 / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/1.202, allocations: 4 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001599/1.202, allocations: 145.2 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/1.202, allocations: 243.9 kB / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.202, allocations: 0 / 1.111 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/1.202, allocations: 4 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.202, allocations: 4 kB / 1.111 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/1.203, allocations: 181.7 kB / 1.112 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/1.203, allocations: 0.5337 MB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/1.203, allocations: 0.5165 MB / 1.113 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/1.204, allocations: 0 / 1.113 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/1.204, allocations: 392.8 kB / 1.113 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=39): time 3.586e-06/1.204, allocations: 4 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=39): time 0.0006364/1.205, allocations: 0.5041 MB / 1.113 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/1.205, allocations: 105.1 kB / 1.114 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.401e-05/1.205, allocations: 96.98 kB / 1.114 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/1.205, allocations: 25.7 kB / 1.114 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.95e-05/1.205, allocations: 84.8 kB / 1.114 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.346e-05/1.205, allocations: 78.8 kB / 1.114 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/1.205, allocations: 4 kB / 1.114 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.205, allocations: 326.8 kB / 1.114 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.272e-05/1.205, allocations: 84.02 kB / 1.114 GB, free: 3.328 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.732e-05/1.205, allocations: 75.98 kB / 1.114 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/1.205, allocations: 108 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/1.205, allocations: 1.969 kB / 1.114 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003439/1.206, allocations: 378.7 kB / 1.115 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/1.206, allocations: 4 kB / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.206, allocations: 0 / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.206, allocations: 0 / 1.115 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.735e-05/1.206, allocations: 4 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/1.206, allocations: 1.406 kB / 1.115 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/1.206, allocations: 19.81 kB / 1.115 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/1.206, allocations: 0 / 1.115 GB, free: 2.746 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.0002319/1.206, allocations: 229.2 kB / 1.115 GB, free: 2.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/1.206, allocations: 27.8 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.439e-05/1.206, allocations: 5.312 kB / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.206, allocations: 192 / 1.115 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.206, allocations: 7.875 kB / 1.115 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.206, allocations: 3.984 kB / 1.115 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/1.206, allocations: 245.8 kB / 1.115 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/1.206, allocations: 7.938 kB / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/1.206, allocations: 0 / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.207, allocations: 0 / 1.115 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/1.207, allocations: 19.98 kB / 1.115 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/1.207, allocations: 7.906 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.207, allocations: 0.6562 kB / 1.115 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007086/1.207, allocations: 0.6569 MB / 1.116 GB, free: 1.484 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008832/1.208, allocations: 1.044 MB / 1.117 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.268e-05/1.208, allocations: 92.86 kB / 1.117 GB, free: 316 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/1.208, allocations: 91.92 kB / 1.117 GB, free: 224 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/1.208, allocations: 8 kB / 1.117 GB, free: 216 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/1.209, allocations: 7.984 kB / 1.117 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/1.209, allocations: 25.02 kB / 1.117 GB, free: 184 kB / 0.7136 GB Notification: Performance of sort global known variables: time 3.879e-05/1.209, allocations: 75.28 kB / 1.117 GB, free: 108 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009411/1.21, allocations: 64.03 kB / 1.117 GB, free: 44 kB / 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.0006266/1.21, allocations: 247.2 kB / 1.118 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006271/1.211, allocations: 0.4899 MB / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.211, allocations: 0 / 1.118 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.213, allocations: 2.009 MB / 1.12 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.213, allocations: 21.92 kB / 1.12 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/1.214, allocations: 260 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/1.214, allocations: 0.7239 MB / 1.121 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of SimCode: time 8.42e-07/1.214, allocations: 0.6562 kB / 1.121 GB, free: 12.24 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Occupancy_Validation_Wang2005Occupancy.fmu > Buildings_8_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.pipe 2>&1)