Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.038/2.038, allocations: 253.1 MB / 260.4 MB, free: 7.508 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.002603/0.002603, allocations: 185 kB / 319.6 MB, free: 3.309 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.855/1.855, 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.001338/0.001338, allocations: 87.02 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.275e-05/1.291e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2171, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.464/1.681, allocations: 393.1 MB / 1.272 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/1.682, allocations: 91.02 kB / 1.272 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.7799/2.462, allocations: 235.6 MB / 1.502 GB, free: 98.46 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001311/2.462, allocations: 28 kB / 1.502 GB, free: 98.43 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002714/2.464, allocations: 1.182 MB / 1.503 GB, free: 97.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/2.465, allocations: 8.031 kB / 1.503 GB, free: 97.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007619/2.465, allocations: 146.5 kB / 1.503 GB, free: 97.05 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/2.491, allocations: 7.445 MB / 1.511 GB, free: 89.49 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/2.491, allocations: 28 kB / 1.511 GB, free: 89.46 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/2.491, allocations: 51.89 kB / 1.511 GB, free: 89.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001977/2.493, allocations: 0.6559 MB / 1.511 GB, free: 88.76 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/2.495, allocations: 0.858 MB / 1.512 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/2.495, allocations: 0 / 1.512 GB, free: 87.86 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/2.496, allocations: 4 kB / 1.512 GB, free: 87.85 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/2.496, allocations: 23.94 kB / 1.512 GB, free: 87.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007209/2.503, allocations: 4.491 MB / 1.517 GB, free: 83.01 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006088/2.503, allocations: 305.4 kB / 1.517 GB, free: 82.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/2.504, allocations: 253.4 kB / 1.517 GB, free: 82.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/2.504, allocations: 429.8 kB / 1.518 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/2.504, allocations: 46.83 kB / 1.518 GB, free: 81.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=40): time 4.037e-06/2.504, allocations: 0 / 1.518 GB, free: 81.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40): time 0.001835/2.506, allocations: 0.55 MB / 1.518 GB, free: 81.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/2.506, allocations: 55.41 kB / 1.518 GB, free: 81.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/2.508, allocations: 0.7817 MB / 1.519 GB, free: 80.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.519e-05/2.508, allocations: 25.7 kB / 1.519 GB, free: 80.45 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/2.508, allocations: 382.8 kB / 1.519 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001938/2.508, allocations: 138 kB / 1.52 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/2.508, allocations: 0 / 1.52 GB, free: 79.93 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/2.509, allocations: 334 kB / 1.52 GB, free: 79.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/2.509, allocations: 217.2 kB / 1.52 GB, free: 79.39 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006286/2.51, allocations: 428 kB / 1.52 GB, free: 78.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/2.51, allocations: 325.2 kB / 1.521 GB, free: 78.56 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/2.511, allocations: 4 kB / 1.521 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002049/2.513, allocations: 0.7517 MB / 1.521 GB, free: 77.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005306/2.513, allocations: 2.179 MB / 1.524 GB, free: 75.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/2.513, allocations: 8 kB / 1.524 GB, free: 75.44 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/2.513, allocations: 56.83 kB / 1.524 GB, free: 75.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/2.514, allocations: 119.7 kB / 1.524 GB, free: 75.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006351/2.515, allocations: 0.6342 MB / 1.524 GB, free: 74.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/2.516, allocations: 91.38 kB / 1.524 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/2.516, allocations: 32 kB / 1.525 GB, free: 74.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/2.516, allocations: 4 kB / 1.525 GB, free: 74.48 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/2.518, allocations: 0.6212 MB / 1.525 GB, free: 73.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/2.518, allocations: 7.938 kB / 1.525 GB, free: 73.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002543/2.518, allocations: 60.89 kB / 1.525 GB, free: 73.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/2.519, allocations: 115.8 kB / 1.525 GB, free: 73.67 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/2.521, allocations: 1.583 MB / 1.527 GB, free: 71.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/2.522, allocations: 79.53 kB / 1.527 GB, free: 71.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/2.523, allocations: 28 kB / 1.527 GB, free: 71.86 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/2.523, allocations: 120.8 kB / 1.527 GB, free: 71.74 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/2.523, allocations: 90.88 kB / 1.527 GB, free: 71.65 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001832/2.525, allocations: 0.6264 MB / 1.528 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/2.525, allocations: 4 kB / 1.528 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/2.525, allocations: 3.938 kB / 1.528 GB, free: 71 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/2.526, allocations: 0.8094 MB / 1.529 GB, free: 70.11 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/2.53, allocations: 1.546 MB / 1.53 GB, free: 68.49 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/2.53, allocations: 11.98 kB / 1.53 GB, free: 68.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006347/2.53, allocations: 80.02 kB / 1.53 GB, free: 68.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/2.531, allocations: 32.89 kB / 1.53 GB, free: 68.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/2.531, allocations: 11.98 kB / 1.53 GB, free: 68.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003915/2.531, allocations: 0.5718 MB / 1.531 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.531, allocations: 0 / 1.531 GB, free: 67.75 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001965/2.533, allocations: 0.9993 MB / 1.532 GB, free: 66.69 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006442/2.534, allocations: 255.9 kB / 1.532 GB, free: 66.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/2.534, allocations: 3.938 kB / 1.532 GB, free: 66.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/2.535, allocations: 59.78 kB / 1.532 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/2.535, allocations: 27.88 kB / 1.532 GB, free: 66.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/2.535, allocations: 19.98 kB / 1.532 GB, free: 66.31 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001076/2.536, allocations: 0.6123 MB / 1.533 GB, free: 65.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002538/2.539, allocations: 0.5649 MB / 1.533 GB, free: 65.14 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009949/2.54, allocations: 390.7 kB / 1.534 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002182/2.542, allocations: 0.9745 MB / 1.535 GB, free: 63.77 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/2.542, allocations: 0 / 1.535 GB, free: 63.77 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005021/2.543, allocations: 231.8 kB / 1.535 GB, free: 63.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/2.547, allocations: 0.5172 MB / 1.535 GB, free: 63.03 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/2.551, allocations: 1.636 MB / 1.537 GB, free: 61.36 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.552, allocations: 1.33 MB / 1.538 GB, free: 60 MB / 0.8698 GB Notification: Performance of SimCode: time 1.092e-06/2.552, allocations: 0 / 1.538 GB, free: 60 MB / 0.8698 GB Notification: Performance of Templates: time 0.05249/2.605, allocations: 21.37 MB / 1.559 GB, free: 38.82 MB / 0.8698 GB