Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") [: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.14/2.14, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001771/0.001771, allocations: 181.2 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 2.207/2.207, 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.001271/0.001271, allocations: 98.44 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.312e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2107, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.441/1.651, allocations: 392.5 MB / 1.271 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/1.652, allocations: 85.39 kB / 1.271 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.7646/2.416, allocations: 234.3 MB / 1.5 GB, free: 91.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.925e-05/2.416, allocations: 19.94 kB / 1.5 GB, free: 91.71 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001817/2.418, allocations: 0.8711 MB / 1.501 GB, free: 90.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/2.418, allocations: 8.031 kB / 1.501 GB, free: 90.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004815/2.419, allocations: 87.05 kB / 1.501 GB, free: 90.71 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04089/2.46, allocations: 11.85 MB / 1.513 GB, free: 78.83 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/2.46, allocations: 12 kB / 1.513 GB, free: 78.82 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.138e-05/2.46, allocations: 31.94 kB / 1.513 GB, free: 78.79 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008023/2.461, allocations: 265.9 kB / 1.513 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009067/2.462, allocations: 422.2 kB / 1.514 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/2.462, allocations: 0 / 1.514 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.564e-05/2.462, allocations: 0 / 1.514 GB, free: 78.08 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.897e-05/2.462, allocations: 16 kB / 1.514 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003752/2.466, allocations: 2.651 MB / 1.516 GB, free: 75.22 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002811/2.466, allocations: 133.9 kB / 1.516 GB, free: 75.08 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/2.466, allocations: 93.2 kB / 1.516 GB, free: 74.99 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/2.467, allocations: 339.9 kB / 1.517 GB, free: 74.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/2.467, allocations: 46.66 kB / 1.517 GB, free: 74.53 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 3.096e-06/2.467, allocations: 0 / 1.517 GB, free: 74.53 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.0007604/2.467, allocations: 227.7 kB / 1.517 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/2.467, allocations: 55.41 kB / 1.517 GB, free: 74.24 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007305/2.468, allocations: 434.2 kB / 1.517 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/2.468, allocations: 25.7 kB / 1.517 GB, free: 73.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/2.468, allocations: 263.4 kB / 1.518 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.483e-05/2.468, allocations: 78.84 kB / 1.518 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.85e-05/2.468, allocations: 0 / 1.518 GB, free: 73.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001049/2.469, allocations: 366.7 kB / 1.518 GB, free: 73.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/2.469, allocations: 79.97 kB / 1.518 GB, free: 72.98 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/2.469, allocations: 226.8 kB / 1.518 GB, free: 72.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/2.469, allocations: 128 kB / 1.519 GB, free: 72.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/2.47, allocations: 0 / 1.519 GB, free: 72.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008642/2.47, allocations: 352.5 kB / 1.519 GB, free: 72.22 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000342/2.471, allocations: 1.655 MB / 1.52 GB, free: 70.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/2.471, allocations: 8 kB / 1.52 GB, free: 70.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/2.471, allocations: 4 kB / 1.52 GB, free: 70.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/2.471, allocations: 71.91 kB / 1.521 GB, free: 70.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/2.471, allocations: 15.92 kB / 1.521 GB, free: 70.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008376/2.472, allocations: 55.52 kB / 1.521 GB, free: 70.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/2.472, allocations: 19.98 kB / 1.521 GB, free: 70.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/2.472, allocations: 6.5 kB / 1.521 GB, free: 70.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007198/2.473, allocations: 259.5 kB / 1.521 GB, free: 70 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/2.473, allocations: 4 kB / 1.521 GB, free: 70 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/2.473, allocations: 4.562 kB / 1.521 GB, free: 70 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004572/2.474, allocations: 87.84 kB / 1.521 GB, free: 69.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/2.474, allocations: 7.984 kB / 1.521 GB, free: 69.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/2.474, allocations: 39.67 kB / 1.521 GB, free: 69.86 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/2.474, allocations: 23.94 kB / 1.521 GB, free: 69.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001381/2.474, allocations: 120.8 kB / 1.521 GB, free: 69.71 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/2.475, allocations: 55.25 kB / 1.521 GB, free: 69.66 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008704/2.475, allocations: 267.1 kB / 1.521 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/2.476, allocations: 3.938 kB / 1.521 GB, free: 69.39 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/2.476, allocations: 8.062 kB / 1.521 GB, free: 69.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005588/2.476, allocations: 369.5 kB / 1.522 GB, free: 68.97 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/2.478, allocations: 0.9477 MB / 1.523 GB, free: 67.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/2.478, allocations: 4.031 kB / 1.523 GB, free: 67.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000402/2.479, allocations: 51.91 kB / 1.523 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/2.479, allocations: 4 kB / 1.523 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/2.479, allocations: 4 kB / 1.523 GB, free: 67.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/2.479, allocations: 7.984 kB / 1.523 GB, free: 67.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/2.479, allocations: 7.984 kB / 1.523 GB, free: 67.86 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009788/2.48, allocations: 0.5924 MB / 1.523 GB, free: 67.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003659/2.48, allocations: 180.2 kB / 1.524 GB, free: 66.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/2.48, allocations: 4 kB / 1.524 GB, free: 66.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006329/2.481, allocations: 24.05 kB / 1.524 GB, free: 66.95 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/2.481, allocations: 23.81 kB / 1.524 GB, free: 66.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/2.481, allocations: 12 kB / 1.524 GB, free: 66.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000556/2.482, allocations: 334.9 kB / 1.524 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001646/2.483, allocations: 363.1 kB / 1.524 GB, free: 66.23 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009835/2.484, allocations: 406.4 kB / 1.525 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009511/2.485, allocations: 386.7 kB / 1.525 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/2.485, allocations: 2.25 kB / 1.525 GB, free: 65.48 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/2.485, allocations: 103.7 kB / 1.525 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/2.488, allocations: 309.2 kB / 1.525 GB, free: 65.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/2.491, allocations: 0.805 MB / 1.526 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/2.491, allocations: 0.9684 MB / 1.527 GB, free: 63.22 MB / 0.8698 GB Notification: Performance of SimCode: time 1.413e-06/2.492, allocations: 4 kB / 1.527 GB, free: 63.21 MB / 0.8698 GB Notification: Performance of Templates: time 0.03405/2.526, allocations: 12.63 MB / 1.54 GB, free: 50.75 MB / 0.8698 GB