Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") [: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.127/2.127, allocations: 253.1 MB / 260.4 MB, free: 7.586 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.001715/0.001714, allocations: 173 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.919/1.919, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001287/0.001286, allocations: 98.39 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.308e-05/3.328e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2013, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.39/6.592, allocations: 2.443 GB / 3.331 GB, free: 302.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/6.592, allocations: 94.81 kB / 3.331 GB, free: 302.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.205/9.798, allocations: 0.6873 GB / 4.018 GB, free: 184 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003035/9.798, allocations: 35.58 kB / 4.018 GB, free: 183.9 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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.007387/9.805, allocations: 1.538 MB / 4.02 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/9.806, allocations: 7.875 kB / 4.02 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008732/9.814, allocations: 0.5195 MB / 4.02 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007757/9.822, allocations: 1.373 MB / 4.022 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/9.822, allocations: 35.56 kB / 4.022 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008039/9.823, allocations: 64.69 kB / 4.022 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006345/9.83, allocations: 1.254 MB / 4.023 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006526/9.836, allocations: 1.207 MB / 4.024 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.147e-05/9.836, allocations: 7.141 kB / 4.024 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003315/9.837, allocations: 0 / 4.024 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.931e-05/9.837, allocations: 50.5 kB / 4.024 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/9.854, allocations: 4.967 MB / 4.029 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/9.858, allocations: 0.9965 MB / 4.03 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001963/9.86, allocations: 0.5844 MB / 4.03 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/9.861, allocations: 202.7 kB / 4.031 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.215e-05/9.861, allocations: 41.75 kB / 4.031 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=81): time 6.111e-06/9.861, allocations: 2.312 kB / 4.031 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.01432/9.875, allocations: 2.63 MB / 4.033 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/9.875, allocations: 59.78 kB / 4.033 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/9.877, allocations: 0.8003 MB / 4.034 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003507/9.878, allocations: 25.7 kB / 4.034 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/9.878, allocations: 408.7 kB / 4.035 GB, free: 179.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001613/9.88, allocations: 290.2 kB / 4.035 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/9.88, allocations: 2.656 kB / 4.035 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001499/9.88, allocations: 335 kB / 4.035 GB, free: 179 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/9.882, allocations: 450.1 kB / 4.036 GB, free: 179 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001234/9.884, allocations: 0.5961 MB / 4.036 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/9.885, allocations: 0.5527 MB / 4.037 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/9.885, allocations: 0 / 4.037 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.003173/9.888, allocations: 1.209 MB / 4.038 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001989/9.889, allocations: 0.7966 MB / 4.039 GB, free: 178 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/9.889, allocations: 3.844 kB / 4.039 GB, free: 178 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/9.889, allocations: 71.05 kB / 4.039 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/9.891, allocations: 185.7 kB / 4.039 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00299/9.894, allocations: 2.915 MB / 4.042 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/9.897, allocations: 114.5 kB / 4.042 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/9.897, allocations: 29.22 kB / 4.042 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/9.897, allocations: 3.406 kB / 4.042 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00268/9.9, allocations: 1.072 MB / 4.043 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/9.9, allocations: 7.547 kB / 4.043 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/9.9, allocations: 69.7 kB / 4.043 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/9.902, allocations: 168.8 kB / 4.043 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/9.904, allocations: 1.713 MB / 4.045 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/9.907, allocations: 105.4 kB / 4.045 GB, free: 174.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/9.907, allocations: 32.81 kB / 4.045 GB, free: 174.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003781/9.908, allocations: 123.3 kB / 4.045 GB, free: 174.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/9.908, allocations: 109.6 kB / 4.045 GB, free: 174 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003156/9.911, allocations: 1.192 MB / 4.046 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/9.911, allocations: 7.5 kB / 4.046 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/9.911, allocations: 3.938 kB / 4.046 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002522/9.914, allocations: 1.252 MB / 4.048 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007299/9.921, allocations: 2.726 MB / 4.05 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/9.921, allocations: 3.969 kB / 4.05 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/9.923, allocations: 232.3 kB / 4.05 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/9.924, allocations: 73.45 kB / 4.051 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.349e-05/9.924, allocations: 17.72 kB / 4.051 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002651/9.926, allocations: 2.911 MB / 4.053 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/9.926, allocations: 9.109 kB / 4.053 GB, free: 170.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004192/9.931, allocations: 2.091 MB / 4.055 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/9.932, allocations: 339.4 kB / 4.056 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/9.932, allocations: 11.44 kB / 4.056 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/9.934, allocations: 93.58 kB / 4.056 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/9.935, allocations: 53.08 kB / 4.056 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/9.935, allocations: 32.22 kB / 4.056 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001179/9.936, allocations: 0.6281 MB / 4.057 GB, free: 170 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003372/9.939, allocations: 0.745 MB / 4.057 GB, free: 170 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002472/9.942, allocations: 1.517 MB / 4.059 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004802/9.947, allocations: 1.901 MB / 4.061 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/9.947, allocations: 0 / 4.061 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001484/9.948, allocations: 0.6586 MB / 4.061 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006456/9.955, allocations: 0.705 MB / 4.062 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00692/9.962, allocations: 2.729 MB / 4.065 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/9.964, allocations: 1.584 MB / 4.066 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/9.964, allocations: 0 / 4.066 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.09938/10.06, allocations: 37.91 MB / 4.103 GB, free: 164.4 MB / 0.8698 GB