Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.235/2.235, allocations: 253.1 MB / 260.4 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 181.2 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.994/1.994, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001358/0.001358, allocations: 99.25 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.009e-05/1.023e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2151, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/0.9208, allocations: 132.2 MB / 1.017 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.9212, allocations: 76.89 kB / 1.017 GB, free: 6.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.009967/0.9312, allocations: 2.039 MB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.9312, allocations: 4 kB / 1.019 GB, free: 4.348 MB / 0.6355 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.0006312/0.9319, allocations: 420.5 kB / 1.02 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.9319, allocations: 12.02 kB / 1.02 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.9321, allocations: 15.81 kB / 1.02 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.9322, allocations: 174.9 kB / 1.02 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.9323, allocations: 4 kB / 1.02 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/0.9323, allocations: 5.031 kB / 1.02 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001442/0.9325, allocations: 77.28 kB / 1.02 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.9328, allocations: 178.2 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.9328, allocations: 0 / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.9329, allocations: 3.562 kB / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9329, allocations: 0 / 1.02 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.9331, allocations: 183.9 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.9334, allocations: 144.8 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.9335, allocations: 111.3 kB / 1.021 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.9335, allocations: 0 / 1.021 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.9339, allocations: 202.4 kB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 2.244e-06/0.9339, allocations: 3.938 kB / 1.021 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0006117/0.9345, allocations: 353.2 kB / 1.021 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.313e-05/0.9347, allocations: 96.81 kB / 1.021 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.9348, allocations: 111.8 kB / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-05/0.9349, allocations: 52.56 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.9349, allocations: 84.92 kB / 1.021 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.9351, allocations: 90.38 kB / 1.021 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.9352, allocations: 4 kB / 1.021 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9353, allocations: 336.4 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/0.9357, allocations: 163.5 kB / 1.022 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.9361, allocations: 230.1 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004529/0.9365, allocations: 208.7 kB / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9366, allocations: 0 / 1.022 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001078/0.9376, allocations: 0.5602 MB / 1.023 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9377, allocations: 7.984 kB / 1.023 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.9377, allocations: 4 kB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.9377, allocations: 0 / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.9379, allocations: 19.88 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.9379, allocations: 7.984 kB / 1.023 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.9381, allocations: 31.58 kB / 1.023 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.9382, allocations: 8 kB / 1.023 GB, free: 0.9297 MB / 0.6355 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.0002619/0.9384, allocations: 168 kB / 1.023 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.661e-05/0.9385, allocations: 15.88 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.9385, allocations: 13.25 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.9386, allocations: 4 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.9386, allocations: 3.906 kB / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9386, allocations: 0 / 1.023 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.9388, allocations: 171.8 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.9388, allocations: 0 / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.825e-06/0.9388, allocations: 0 / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.9389, allocations: 3.906 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.9389, allocations: 7.984 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9389, allocations: 4 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9389, allocations: 0 / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005659/0.9395, allocations: 387.8 kB / 1.024 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.9396, allocations: 92.86 kB / 1.024 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.9397, allocations: 41.41 kB / 1.024 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.9398, allocations: 7.984 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.9399, allocations: 0 / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.9399, allocations: 15.98 kB / 1.024 GB, free: 28 kB / 0.6355 GB Notification: Performance of sort global known variables: time 6.077e-05/0.94, allocations: 87.03 kB / 1.024 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004792/0.9405, allocations: 47.94 kB / 1.024 GB, free: 15.9 MB / 0.6511 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.0005764/0.9411, allocations: 217.7 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007858/0.9419, allocations: 350.4 kB / 1.025 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.9419, allocations: 256 / 1.025 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.9421, allocations: 130.5 kB / 1.025 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.9423, allocations: 4 kB / 1.025 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.943, allocations: 254.4 kB / 1.025 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/0.9435, allocations: 0.7348 MB / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/0.9435, allocations: 0 / 1.026 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of Templates: time 0.008592/0.9521, allocations: 2.525 MB / 1.028 GB, free: 11.88 MB / 0.6511 GB