Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.08/2.08, allocations: 253.1 MB / 260.4 MB, free: 7.473 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.001739/0.001739, allocations: 189 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.878/1.878, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.00141/0.001409, allocations: 87.94 kB / 0.6746 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.017e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2641, allocations: 106.3 MB / 0.8881 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.623/5.887, allocations: 2.191 GB / 3.079 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/5.888, allocations: 85.95 kB / 3.079 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.28/7.168, allocations: 254.1 MB / 3.327 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.124e-05/7.168, allocations: 15.44 kB / 3.327 GB, free: 247.2 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002135/7.171, allocations: 0.7952 MB / 3.328 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/7.171, allocations: 9.406 kB / 3.328 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002081/7.173, allocations: 182.9 kB / 3.328 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/7.175, allocations: 0.5184 MB / 3.328 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/7.175, allocations: 13.88 kB / 3.328 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/7.175, allocations: 33.06 kB / 3.329 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/7.176, allocations: 382.3 kB / 3.329 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/7.177, allocations: 459.9 kB / 3.329 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/7.177, allocations: 0.75 kB / 3.329 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.538e-05/7.177, allocations: 0 / 3.329 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/7.177, allocations: 19.06 kB / 3.329 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/7.182, allocations: 1.644 MB / 3.331 GB, free: 245 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/7.182, allocations: 194.5 kB / 3.331 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/7.183, allocations: 154.1 kB / 3.331 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002775/7.183, allocations: 99.22 kB / 3.331 GB, free: 244.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/7.183, allocations: 41.8 kB / 3.331 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=27): time 3.046e-06/7.183, allocations: 0 / 3.331 GB, free: 244.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=28): time 0.002981/7.186, allocations: 0.8105 MB / 3.332 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/7.186, allocations: 54.3 kB / 3.332 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/7.187, allocations: 315.6 kB / 3.333 GB, free: 244 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/7.187, allocations: 31.94 kB / 3.333 GB, free: 244 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/7.187, allocations: 223.8 kB / 3.333 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/7.187, allocations: 93.59 kB / 3.333 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/7.187, allocations: 0 / 3.333 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001096/7.187, allocations: 347.5 kB / 3.333 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/7.188, allocations: 110.5 kB / 3.333 GB, free: 243.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003894/7.188, allocations: 200.3 kB / 3.334 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/7.189, allocations: 145.5 kB / 3.334 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/7.189, allocations: 1.469 kB / 3.334 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001023/7.19, allocations: 362.8 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/7.19, allocations: 8.75 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/7.19, allocations: 2.188 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/7.19, allocations: 4.906 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006059/7.19, allocations: 67.45 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/7.19, allocations: 4.844 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009436/7.191, allocations: 23.95 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/7.191, allocations: 15.47 kB / 3.334 GB, free: 243 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002141/7.192, allocations: 116.5 kB / 3.334 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/7.192, allocations: 41.91 kB / 3.334 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/7.192, allocations: 46.53 kB / 3.334 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/7.192, allocations: 6.047 kB / 3.334 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/7.192, allocations: 8.406 kB / 3.334 GB, free: 242.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007035/7.193, allocations: 358 kB / 3.335 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/7.195, allocations: 1.025 MB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.377e-06/7.195, allocations: 3.844 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/7.196, allocations: 64.45 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/7.196, allocations: 5.094 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/7.196, allocations: 5.703 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/7.196, allocations: 5.078 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/7.196, allocations: 6.688 kB / 3.336 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001419/7.198, allocations: 0.7432 MB / 3.336 GB, free: 241.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/7.198, allocations: 170.8 kB / 3.337 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/7.198, allocations: 5.625 kB / 3.337 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008475/7.199, allocations: 23.67 kB / 3.337 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/7.199, allocations: 26.42 kB / 3.337 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/7.199, allocations: 19.34 kB / 3.337 GB, free: 241.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004491/7.2, allocations: 239.1 kB / 3.337 GB, free: 241.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001203/7.201, allocations: 194.2 kB / 3.337 GB, free: 241.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.002072/7.203, allocations: 1.089 MB / 3.338 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009647/7.204, allocations: 273.9 kB / 3.338 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/7.204, allocations: 1.344 kB / 3.338 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/7.205, allocations: 136.7 kB / 3.339 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/7.207, allocations: 228.8 kB / 3.339 GB, free: 240.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/7.21, allocations: 0.7921 MB / 3.34 GB, free: 240.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008564/7.211, allocations: 0.9449 MB / 3.341 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/7.211, allocations: 0.8438 kB / 3.341 GB, free: 239.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.04122/7.252, allocations: 13.51 MB / 3.354 GB, free: 235.4 MB / 0.8698 GB