Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") [: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.144/2.144, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.001639/0.001639, allocations: 180.6 kB / 319.6 MB, free: 3.316 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.89/1.89, allocations: 205.4 MB / 0.5704 GB, free: 15.14 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.001405/0.001405, allocations: 106.5 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.291e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2133, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.62/5.833, allocations: 2.195 GB / 3.083 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/5.834, allocations: 86.2 kB / 3.083 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.519/9.352, allocations: 0.7354 GB / 3.819 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001611/9.353, allocations: 38.19 kB / 3.819 GB, free: 92.8 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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 0.005561/9.358, allocations: 1.556 MB / 3.82 GB, free: 91.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/9.358, allocations: 8.031 kB / 3.82 GB, free: 91.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005684/9.364, allocations: 0.5024 MB / 3.821 GB, free: 90.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003918/9.368, allocations: 1.133 MB / 3.822 GB, free: 89.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/9.368, allocations: 39.98 kB / 3.822 GB, free: 89.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/9.368, allocations: 71.91 kB / 3.822 GB, free: 89.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002749/9.371, allocations: 0.961 MB / 3.823 GB, free: 88.47 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/9.374, allocations: 1.095 MB / 3.824 GB, free: 87.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/9.374, allocations: 4 kB / 3.824 GB, free: 87.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001644/9.374, allocations: 3.938 kB / 3.824 GB, free: 87.33 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-05/9.374, allocations: 38.2 kB / 3.824 GB, free: 87.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009392/9.384, allocations: 4.02 MB / 3.828 GB, free: 83.06 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009824/9.385, allocations: 456.6 kB / 3.829 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008547/9.386, allocations: 421.5 kB / 3.829 GB, free: 82.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005444/9.386, allocations: 296.2 kB / 3.829 GB, free: 81.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/9.386, allocations: 43.22 kB / 3.829 GB, free: 81.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 4.168e-06/9.386, allocations: 4 kB / 3.829 GB, free: 81.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=76): time 0.006975/9.393, allocations: 1.949 MB / 3.831 GB, free: 79.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/9.393, allocations: 64.06 kB / 3.831 GB, free: 79.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/9.395, allocations: 0.6298 MB / 3.832 GB, free: 79.08 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/9.395, allocations: 29.7 kB / 3.832 GB, free: 79.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/9.395, allocations: 448.3 kB / 3.832 GB, free: 78.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/9.395, allocations: 260.1 kB / 3.833 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/9.395, allocations: 0 / 3.833 GB, free: 78.34 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001217/9.396, allocations: 337.9 kB / 3.833 GB, free: 78.01 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/9.396, allocations: 293.9 kB / 3.833 GB, free: 77.72 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008282/9.397, allocations: 498.9 kB / 3.834 GB, free: 77.16 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/9.398, allocations: 385.1 kB / 3.834 GB, free: 76.78 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/9.398, allocations: 0 / 3.834 GB, free: 76.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002211/9.4, allocations: 0.876 MB / 3.835 GB, free: 75.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/9.4, allocations: 11.89 kB / 3.835 GB, free: 75.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/9.4, allocations: 4.594 kB / 3.835 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.286e-05/9.4, allocations: 12 kB / 3.835 GB, free: 75.87 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/9.402, allocations: 163.8 kB / 3.835 GB, free: 75.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/9.402, allocations: 8 kB / 3.835 GB, free: 75.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/9.404, allocations: 55.8 kB / 3.835 GB, free: 75.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/9.404, allocations: 36 kB / 3.835 GB, free: 75.61 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * 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.0003016/9.405, allocations: 128.7 kB / 3.835 GB, free: 75.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/9.405, allocations: 106.8 kB / 3.835 GB, free: 75.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004402/9.405, allocations: 118.2 kB / 3.836 GB, free: 75.26 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/9.405, allocations: 4 kB / 3.836 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/9.405, allocations: 8 kB / 3.836 GB, free: 75.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001992/9.407, allocations: 0.9632 MB / 3.836 GB, free: 74.21 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/9.414, allocations: 2.411 MB / 3.839 GB, free: 71.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/9.414, allocations: 11.84 kB / 3.839 GB, free: 71.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00139/9.415, allocations: 148.6 kB / 3.839 GB, free: 71.53 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/9.416, allocations: 97.66 kB / 3.839 GB, free: 71.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/9.416, allocations: 19.92 kB / 3.839 GB, free: 71.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0031/9.419, allocations: 2.782 MB / 3.842 GB, free: 68.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.749e-06/9.419, allocations: 4 kB / 3.842 GB, free: 68.39 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003706/9.423, allocations: 1.809 MB / 3.844 GB, free: 66.33 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/9.424, allocations: 287.8 kB / 3.844 GB, free: 66.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/9.425, allocations: 8.125 kB / 3.844 GB, free: 66.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002438/9.427, allocations: 67.78 kB / 3.844 GB, free: 65.96 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/9.427, allocations: 60.22 kB / 3.844 GB, free: 65.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/9.427, allocations: 39.98 kB / 3.844 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009763/9.428, allocations: 487.1 kB / 3.844 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002756/9.431, allocations: 476.7 kB / 3.845 GB, free: 64.92 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 70 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003272/9.435, allocations: 1.864 MB / 3.847 GB, free: 63.17 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001929/9.437, allocations: 0.7059 MB / 3.847 GB, free: 62.47 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/9.437, allocations: 0 / 3.847 GB, free: 62.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001207/9.438, allocations: 0.5716 MB / 3.848 GB, free: 61.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006366/9.444, allocations: 0.6176 MB / 3.849 GB, free: 61.26 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007722/9.452, allocations: 2.116 MB / 3.851 GB, free: 59.04 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002226/9.454, allocations: 1.376 MB / 3.852 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of SimCode: time 1.943e-06/9.454, allocations: 0 / 3.852 GB, free: 57.64 MB / 0.8698 GB Notification: Performance of Templates: time 0.1055/9.56, allocations: 30.36 MB / 3.882 GB, free: 27.48 MB / 0.8698 GB