Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.238/2.238, allocations: 253.1 MB / 260.4 MB, free: 7.52 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.001637/0.001636, allocations: 181.3 kB / 319.6 MB, free: 3.328 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.924/1.924, 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.001288/0.001288, allocations: 94.25 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.648e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2179, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.695/5.913, allocations: 2.222 GB / 3.11 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/5.913, allocations: 88.81 kB / 3.11 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.167/8.08, allocations: 457.8 MB / 3.557 GB, free: 28.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001107/8.08, allocations: 28 kB / 3.557 GB, free: 28.51 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.005772/8.086, allocations: 1.487 MB / 3.559 GB, free: 26.97 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/8.086, allocations: 16.02 kB / 3.559 GB, free: 26.96 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003194/8.089, allocations: 302.3 kB / 3.559 GB, free: 26.66 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003162/8.093, allocations: 0.8394 MB / 3.56 GB, free: 25.78 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/8.093, allocations: 24 kB / 3.56 GB, free: 25.76 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/8.093, allocations: 43.94 kB / 3.56 GB, free: 25.71 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002435/8.095, allocations: 0.8818 MB / 3.561 GB, free: 24.83 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/8.098, allocations: 0.9094 MB / 3.562 GB, free: 23.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-05/8.098, allocations: 0 / 3.562 GB, free: 23.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/8.098, allocations: 0 / 3.562 GB, free: 23.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/8.098, allocations: 81.84 kB / 3.562 GB, free: 23.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009752/8.108, allocations: 3.434 MB / 3.565 GB, free: 20.17 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/8.111, allocations: 0.7356 MB / 3.566 GB, free: 19.42 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/8.111, allocations: 355.5 kB / 3.566 GB, free: 19.07 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003759/8.112, allocations: 206.7 kB / 3.566 GB, free: 18.84 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/8.112, allocations: 43.06 kB / 3.566 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 3.817e-06/8.112, allocations: 0 / 3.566 GB, free: 18.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.00286/8.115, allocations: 0.7532 MB / 3.567 GB, free: 18.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/8.115, allocations: 115.2 kB / 3.567 GB, free: 17.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001106/8.116, allocations: 0.5507 MB / 3.568 GB, free: 17.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/8.116, allocations: 29.7 kB / 3.568 GB, free: 17.29 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/8.116, allocations: 311.7 kB / 3.568 GB, free: 16.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/8.117, allocations: 212.8 kB / 3.568 GB, free: 16.77 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.384e-05/8.117, allocations: 0 / 3.568 GB, free: 16.77 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001408/8.117, allocations: 390.8 kB / 3.569 GB, free: 16.38 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007974/8.118, allocations: 309.5 kB / 3.569 GB, free: 16.08 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009203/8.119, allocations: 451.6 kB / 3.569 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/8.13, allocations: 1.337 MB / 3.571 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.706e-05/8.13, allocations: 4 kB / 3.571 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.01276/8.142, allocations: 1.818 MB / 3.572 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/8.143, allocations: 0.8796 MB / 3.573 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/8.143, allocations: 4 kB / 3.573 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-05/8.143, allocations: 4 kB / 3.573 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/8.144, allocations: 143.8 kB / 3.573 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/8.144, allocations: 4 kB / 3.573 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/8.146, allocations: 83.23 kB / 3.574 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/8.146, allocations: 35.98 kB / 3.574 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/8.146, allocations: 4 kB / 3.574 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/8.158, allocations: 1.622 MB / 3.575 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/8.158, allocations: 0 / 3.575 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/8.158, allocations: 8 kB / 3.575 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/8.159, allocations: 147.8 kB / 3.575 GB, free: 9.426 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/8.159, allocations: 4 kB / 3.575 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/8.161, allocations: 75.67 kB / 3.575 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/8.161, allocations: 24 kB / 3.575 GB, free: 9.324 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 (86): * Single equations (assignments): 86 * 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.0002795/8.161, allocations: 116.9 kB / 3.575 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/8.162, allocations: 82.97 kB / 3.576 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/8.164, allocations: 0.7759 MB / 3.576 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/8.164, allocations: 8 kB / 3.576 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/8.164, allocations: 0 / 3.576 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001679/8.166, allocations: 0.7213 MB / 3.577 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005775/8.172, allocations: 1.937 MB / 3.579 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.504e-05/8.172, allocations: 3.906 kB / 3.579 GB, free: 5.547 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/8.174, allocations: 136.2 kB / 3.579 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/8.174, allocations: 8 kB / 3.579 GB, free: 5.406 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/8.174, allocations: 11.98 kB / 3.579 GB, free: 5.395 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/8.174, allocations: 8 kB / 3.579 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/8.174, allocations: 7.938 kB / 3.579 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004612/8.179, allocations: 1.518 MB / 3.581 GB, free: 3.719 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/8.18, allocations: 256 kB / 3.581 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003898/8.18, allocations: 7.938 kB / 3.581 GB, free: 3.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/8.182, allocations: 47.8 kB / 3.581 GB, free: 3.395 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/8.183, allocations: 44.3 kB / 3.581 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001287/8.183, allocations: 28 kB / 3.581 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001256/8.184, allocations: 435.1 kB / 3.581 GB, free: 2.898 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005238/8.189, allocations: 0.8772 MB / 3.582 GB, free: 2.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.0065/8.196, allocations: 1.935 MB / 3.584 GB, free: 40 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.3739/8.57, allocations: 1.112 MB / 3.585 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.524e-05/8.57, allocations: 3.938 kB / 3.585 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008526/8.571, allocations: 353.1 kB / 3.586 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/8.575, allocations: 422.9 kB / 3.586 GB, free: 272.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/8.58, allocations: 1.502 MB / 3.587 GB, free: 272 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/8.582, allocations: 1.182 MB / 3.589 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of SimCode: time 2.194e-06/8.582, allocations: 0 / 3.589 GB, free: 271.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.07887/8.661, allocations: 31.66 MB / 3.619 GB, free: 270.9 MB / 0.8698 GB