Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") [: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.049/2.049, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001729/0.001729, allocations: 181.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.882/1.882, 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.001346/0.001345, allocations: 89.5 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.059e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.676/5.918, allocations: 2.194 GB / 3.082 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.918, allocations: 85.58 kB / 3.082 GB, free: 168 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.698/7.616, allocations: 357.7 MB / 3.432 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002931/7.616, allocations: 17.72 kB / 3.432 GB, free: 159.6 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003962/7.62, allocations: 0.8785 MB / 3.433 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001012/7.62, allocations: 12.02 kB / 3.433 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003841/7.624, allocations: 177.1 kB / 3.433 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/7.626, allocations: 0.5614 MB / 3.433 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/7.626, allocations: 12 kB / 3.433 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/7.626, allocations: 35.91 kB / 3.433 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001065/7.627, allocations: 353.8 kB / 3.434 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/7.628, allocations: 380.4 kB / 3.434 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/7.628, allocations: 0 / 3.434 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/7.628, allocations: 4 kB / 3.434 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.073e-05/7.629, allocations: 17 kB / 3.434 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/7.633, allocations: 1.951 MB / 3.436 GB, free: 155.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/7.633, allocations: 185.8 kB / 3.436 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003515/7.634, allocations: 166.5 kB / 3.436 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003721/7.634, allocations: 199.4 kB / 3.437 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/7.634, allocations: 34.56 kB / 3.437 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.446e-06/7.634, allocations: 0 / 3.437 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.001621/7.636, allocations: 382.8 kB / 3.437 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/7.636, allocations: 51.41 kB / 3.437 GB, free: 154 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/7.636, allocations: 333.2 kB / 3.437 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/7.636, allocations: 29.7 kB / 3.437 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/7.636, allocations: 220.9 kB / 3.438 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/7.637, allocations: 102.5 kB / 3.438 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/7.637, allocations: 4 kB / 3.438 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.788e-05/7.637, allocations: 350.7 kB / 3.438 GB, free: 153 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/7.637, allocations: 115.7 kB / 3.438 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/7.637, allocations: 197.3 kB / 3.438 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/7.638, allocations: 129.5 kB / 3.438 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/7.638, allocations: 0 / 3.438 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000858/7.639, allocations: 357.4 kB / 3.439 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/7.639, allocations: 0.5279 MB / 3.439 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/7.639, allocations: 0 / 3.439 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/7.639, allocations: 4 kB / 3.439 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000688/7.64, allocations: 75.89 kB / 3.439 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/7.64, allocations: 0 / 3.439 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/7.641, allocations: 55.66 kB / 3.439 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/7.641, allocations: 15.98 kB / 3.439 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/7.641, allocations: 8 kB / 3.439 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006997/7.641, allocations: 267.8 kB / 3.44 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/7.641, allocations: 0 / 3.44 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/7.641, allocations: 4 kB / 3.44 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/7.642, allocations: 71.89 kB / 3.44 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/7.642, allocations: 4 kB / 3.44 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/7.643, allocations: 43.97 kB / 3.44 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/7.643, allocations: 23.98 kB / 3.44 GB, free: 151 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001528/7.643, allocations: 112.8 kB / 3.44 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/7.643, allocations: 43.44 kB / 3.44 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/7.645, allocations: 363 kB / 3.44 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/7.645, allocations: 7.984 kB / 3.44 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/7.645, allocations: 3.984 kB / 3.44 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007826/7.645, allocations: 402.2 kB / 3.441 GB, free: 150.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002415/7.648, allocations: 1.025 MB / 3.442 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/7.648, allocations: 4 kB / 3.442 GB, free: 149 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/7.648, allocations: 63.89 kB / 3.442 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003239/7.649, allocations: 53.05 kB / 3.442 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/7.649, allocations: 4 kB / 3.442 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/7.65, allocations: 1.393 MB / 3.443 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/7.65, allocations: 7.938 kB / 3.443 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001425/7.652, allocations: 0.7372 MB / 3.444 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/7.652, allocations: 164.4 kB / 3.444 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/7.652, allocations: 4 kB / 3.444 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/7.653, allocations: 36.03 kB / 3.444 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/7.653, allocations: 23.88 kB / 3.444 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/7.653, allocations: 11.98 kB / 3.444 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000423/7.654, allocations: 263.2 kB / 3.444 GB, free: 146 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001671/7.656, allocations: 391.1 kB / 3.445 GB, free: 145.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 27 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002095/7.658, allocations: 1.268 MB / 3.446 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001191/7.659, allocations: 446 kB / 3.446 GB, free: 144 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/7.659, allocations: 0 / 3.446 GB, free: 144 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005743/7.66, allocations: 253.8 kB / 3.447 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002605/7.662, allocations: 275 kB / 3.447 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/7.665, allocations: 0.818 MB / 3.448 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006322/7.665, allocations: 0.9598 MB / 3.449 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/7.665, allocations: 0 / 3.449 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04156/7.707, allocations: 16.91 MB / 3.465 GB, free: 124.9 MB / 0.8698 GB