Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance.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.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MoistureMixingConservationDynamicBalance") [: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.03/2.03, allocations: 253.1 MB / 260.4 MB, free: 7.598 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.001609/0.001609, allocations: 192.5 kB / 319.6 MB, free: 3.32 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.928/1.928, 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.001327/0.001327, allocations: 95.98 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.392e-05/1.41e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.709/5.922, allocations: 2.204 GB / 3.092 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/5.923, allocations: 86.64 kB / 3.092 GB, free: 159 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.991/10.91, allocations: 1.064 GB / 4.156 GB, free: 73.3 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002143/10.91, allocations: 56.88 kB / 4.156 GB, free: 73.25 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 357 * Number of variables: 357 Notification: Performance of Generate backend data structure: time 0.006764/10.92, allocations: 1.89 MB / 4.158 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/10.92, allocations: 8.031 kB / 4.158 GB, free: 71.32 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005293/10.93, allocations: 0.5217 MB / 4.159 GB, free: 70.79 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005954/10.93, allocations: 1.57 MB / 4.16 GB, free: 69.21 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/10.93, allocations: 48 kB / 4.16 GB, free: 69.16 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/10.93, allocations: 91.91 kB / 4.16 GB, free: 69.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003774/10.94, allocations: 1.247 MB / 4.161 GB, free: 67.82 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00397/10.94, allocations: 1.519 MB / 4.163 GB, free: 66.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.81e-05/10.94, allocations: 3.938 kB / 4.163 GB, free: 66.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002159/10.94, allocations: 7.906 kB / 4.163 GB, free: 66.18 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.626e-05/10.94, allocations: 54.58 kB / 4.163 GB, free: 66.13 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/10.95, allocations: 7.157 MB / 4.17 GB, free: 58.66 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/10.96, allocations: 0.7481 MB / 4.171 GB, free: 57.88 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001367/10.96, allocations: 0.6522 MB / 4.171 GB, free: 57.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003019/10.96, allocations: 113.1 kB / 4.171 GB, free: 57.08 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/10.96, allocations: 51.56 kB / 4.171 GB, free: 57.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=106): time 4.238e-06/10.96, allocations: 4 kB / 4.171 GB, free: 57.02 MB / 0.8698 GB Notification: Performance of matching and sorting (n=112): time 0.01093/10.97, allocations: 3.618 MB / 4.175 GB, free: 53.33 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/10.97, allocations: 167.2 kB / 4.175 GB, free: 53.13 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/10.97, allocations: 0.8062 MB / 4.176 GB, free: 52.32 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002991/10.97, allocations: 25.7 kB / 4.176 GB, free: 52.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/10.97, allocations: 0.5366 MB / 4.176 GB, free: 51.74 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005167/10.97, allocations: 382.3 kB / 4.177 GB, free: 51.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.726e-05/10.97, allocations: 128 / 4.177 GB, free: 51.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001123/10.97, allocations: 361.8 kB / 4.177 GB, free: 51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/10.97, allocations: 482.5 kB / 4.178 GB, free: 50.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/10.97, allocations: 0.794 MB / 4.178 GB, free: 49.6 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol2.dynBal.medium.p = vol2.dynBal.p_start (sin.p = vol2.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (sin.p = vol1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.03723/11.01, allocations: 4.085 MB / 4.182 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/11.01, allocations: 4 kB / 4.182 GB, free: 45.46 MB / 0.8698 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003678/11.02, allocations: 1.412 MB / 4.184 GB, free: 44.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/11.02, allocations: 4 kB / 4.184 GB, free: 44.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/11.02, allocations: 8.094 kB / 4.184 GB, free: 44.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.912e-05/11.02, allocations: 23.91 kB / 4.184 GB, free: 44.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/11.02, allocations: 283.5 kB / 4.184 GB, free: 43.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/11.02, allocations: 23.92 kB / 4.184 GB, free: 43.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/11.02, allocations: 59.8 kB / 4.184 GB, free: 43.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/11.02, allocations: 67.88 kB / 4.184 GB, free: 43.58 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 3 initial equations: vol2.dynBal.medium.p = vol2.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (intMasVapOut.local_reset,intEntIn.local_reset,intEntOut.local_reset,intMasFloIn.local_reset,intMasFloOut.local_reset,intMasFloVapIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * Array equations: 0 * 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.0004137/11.02, allocations: 147.7 kB / 4.184 GB, free: 43.43 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/11.02, allocations: 146.3 kB / 4.185 GB, free: 43.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/11.03, allocations: 1.162 MB / 4.186 GB, free: 42.12 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/11.03, allocations: 12 kB / 4.186 GB, free: 42.11 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/11.03, allocations: 4 kB / 4.186 GB, free: 42.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/11.03, allocations: 1.145 MB / 4.187 GB, free: 40.89 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009123/11.04, allocations: 3.511 MB / 4.19 GB, free: 37.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.662e-05/11.04, allocations: 15.89 kB / 4.19 GB, free: 37.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/11.04, allocations: 247.7 kB / 4.19 GB, free: 36.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.561e-05/11.04, allocations: 16 kB / 4.19 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/11.04, allocations: 19.98 kB / 4.191 GB, free: 36.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.895e-05/11.04, allocations: 24.41 kB / 4.191 GB, free: 36.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-05/11.04, allocations: 23.92 kB / 4.191 GB, free: 36.88 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004328/11.04, allocations: 2.647 MB / 4.193 GB, free: 33.89 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/11.04, allocations: 347.3 kB / 4.193 GB, free: 33.53 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003359/11.05, allocations: 19.98 kB / 4.193 GB, free: 33.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/11.05, allocations: 79.69 kB / 4.194 GB, free: 33.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/11.05, allocations: 88.41 kB / 4.194 GB, free: 33.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/11.05, allocations: 55.89 kB / 4.194 GB, free: 33.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001182/11.05, allocations: 0.5923 MB / 4.194 GB, free: 32.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002786/11.05, allocations: 0.5272 MB / 4.195 GB, free: 32.17 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1],vol2.dynBal.U,vol2.dynBal.mXi[1],intMasFloVapIn.y,intMasFloOut.y,intMasFloIn.y,intEntOut.y,intEntIn.y,intMasVapOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.003771/11.06, allocations: 2.325 MB / 4.197 GB, free: 29.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003089/11.06, allocations: 1.129 MB / 4.198 GB, free: 28.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/11.06, allocations: 4 kB / 4.198 GB, free: 28.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/11.06, allocations: 0.5035 MB / 4.199 GB, free: 28.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006491/11.07, allocations: 0.6868 MB / 4.199 GB, free: 27.42 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007591/11.07, allocations: 2.743 MB / 4.202 GB, free: 24.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002078/11.08, allocations: 1.542 MB / 4.204 GB, free: 22.93 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/11.08, allocations: 0 / 4.204 GB, free: 22.93 MB / 0.8698 GB Notification: Performance of Templates: time 0.09452/11.17, allocations: 36.14 MB / 4.239 GB, free: 3.039 MB / 0.8855 GB