Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") [: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.166/2.166, 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.001718/0.001718, allocations: 177.2 kB / 319.6 MB, free: 3.332 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.857/1.857, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001333/0.001332, allocations: 95.38 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.739e-06/9.898e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2006, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.592/5.792, allocations: 2.205 GB / 3.093 GB, free: 157 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/5.793, allocations: 86.5 kB / 3.093 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.295/12.09, allocations: 1.301 GB / 4.394 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002907/12.09, allocations: 58.06 kB / 4.394 GB, free: 112.6 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.009153/12.1, allocations: 2.195 MB / 4.396 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/12.1, allocations: 11.09 kB / 4.396 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/12.1, allocations: 0.5336 MB / 4.397 GB, free: 111.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006343/12.11, allocations: 1.473 MB / 4.398 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/12.11, allocations: 129.3 kB / 4.398 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006418/12.11, allocations: 92.94 kB / 4.398 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004708/12.11, allocations: 1.262 MB / 4.399 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004812/12.12, allocations: 1.478 MB / 4.401 GB, free: 111 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.529e-05/12.12, allocations: 7.188 kB / 4.401 GB, free: 111 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/12.12, allocations: 0 / 4.401 GB, free: 111 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.287e-05/12.12, allocations: 61.92 kB / 4.401 GB, free: 111 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01684/12.14, allocations: 7.668 MB / 4.408 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/12.14, allocations: 0.5853 MB / 4.409 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/12.14, allocations: 0.5096 MB / 4.409 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009155/12.14, allocations: 417.1 kB / 4.41 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/12.14, allocations: 49.38 kB / 4.41 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=105): time 3.847e-06/12.14, allocations: 0 / 4.41 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=111): time 0.01165/12.15, allocations: 2.868 MB / 4.413 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/12.15, allocations: 63.94 kB / 4.413 GB, free: 105.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/12.15, allocations: 0.885 MB / 4.414 GB, free: 105.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/12.15, allocations: 35.3 kB / 4.414 GB, free: 105.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003977/12.16, allocations: 0.5752 MB / 4.414 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/12.16, allocations: 377.9 kB / 4.415 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/12.16, allocations: 0 / 4.415 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001106/12.16, allocations: 356.9 kB / 4.415 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/12.16, allocations: 404.1 kB / 4.415 GB, free: 104.5 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/12.16, allocations: 0.7578 MB / 4.416 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/12.16, allocations: 0.6115 MB / 4.417 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/12.16, allocations: 2.719 kB / 4.417 GB, free: 104.1 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004004/12.16, allocations: 1.349 MB / 4.418 GB, free: 104 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007963/12.17, allocations: 3.1 MB / 4.421 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/12.17, allocations: 10.69 kB / 4.421 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.65e-05/12.17, allocations: 12.12 kB / 4.421 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/12.17, allocations: 295.2 kB / 4.421 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.483e-05/12.17, allocations: 13.12 kB / 4.421 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/12.17, allocations: 159 kB / 4.422 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002559/12.17, allocations: 49.22 kB / 4.422 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/12.17, allocations: 7.75 kB / 4.422 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003394/12.18, allocations: 1.147 MB / 4.423 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/12.18, allocations: 10.56 kB / 4.423 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/12.18, allocations: 17.52 kB / 4.423 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/12.18, allocations: 288.4 kB / 4.423 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.322e-05/12.18, allocations: 19.41 kB / 4.423 GB, free: 100.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003449/12.18, allocations: 151.4 kB / 4.423 GB, free: 100.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/12.18, allocations: 52.22 kB / 4.423 GB, free: 100.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.00049/12.18, allocations: 136.6 kB / 4.423 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/12.18, allocations: 157.2 kB / 4.423 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/12.19, allocations: 1.182 MB / 4.425 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/12.19, allocations: 11.22 kB / 4.425 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/12.19, allocations: 3.781 kB / 4.425 GB, free: 100.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002566/12.19, allocations: 1.104 MB / 4.426 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008163/12.2, allocations: 2.686 MB / 4.428 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/12.2, allocations: 0 / 4.428 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002697/12.2, allocations: 270.3 kB / 4.429 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.22e-05/12.2, allocations: 7.594 kB / 4.429 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/12.2, allocations: 16.5 kB / 4.429 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/12.2, allocations: 9.938 kB / 4.429 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/12.2, allocations: 7.703 kB / 4.429 GB, free: 99.84 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004519/12.2, allocations: 1.934 MB / 4.431 GB, free: 99.38 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001467/12.21, allocations: 340.2 kB / 4.431 GB, free: 99.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/12.21, allocations: 10.8 kB / 4.431 GB, free: 99.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003088/12.21, allocations: 146.1 kB / 4.431 GB, free: 99.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/12.21, allocations: 59.48 kB / 4.431 GB, free: 99.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/12.21, allocations: 45.56 kB / 4.431 GB, free: 99.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001429/12.21, allocations: 0.6716 MB / 4.432 GB, free: 99.08 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004543/12.22, allocations: 0.9399 MB / 4.433 GB, free: 99.07 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.005905/12.22, allocations: 3.345 MB / 4.436 GB, free: 97.79 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004415/12.23, allocations: 1.671 MB / 4.438 GB, free: 97.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/12.23, allocations: 0 / 4.438 GB, free: 97.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001211/12.23, allocations: 0.4962 MB / 4.438 GB, free: 97.76 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008595/12.24, allocations: 0.8428 MB / 4.439 GB, free: 97.73 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009221/12.25, allocations: 2.995 MB / 4.442 GB, free: 97.02 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/12.25, allocations: 1.639 MB / 4.443 GB, free: 96.29 MB / 0.9011 GB Notification: Performance of SimCode: time 1.583e-06/12.25, allocations: 0 / 4.443 GB, free: 96.29 MB / 0.9011 GB Notification: Performance of Templates: time 0.1453/12.39, allocations: 49.72 MB / 4.492 GB, free: 92.24 MB / 0.9011 GB