Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") [: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.421/2.421, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001701/0.001701, allocations: 189.2 kB / 319.6 MB, free: 3.312 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.252/2.252, 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.001264/0.001264, allocations: 90.44 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.109e-05/1.139e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2071, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.632/5.839, allocations: 2.193 GB / 3.081 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/5.84, allocations: 90.31 kB / 3.081 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.717/8.556, allocations: 0.5503 GB / 3.631 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001244/8.556, allocations: 29.72 kB / 3.631 GB, free: 189.8 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.00431/8.561, allocations: 1.252 MB / 3.632 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/8.561, allocations: 13.47 kB / 3.632 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/8.564, allocations: 336.6 kB / 3.633 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/8.567, allocations: 0.8111 MB / 3.633 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006788/8.568, allocations: 110.3 kB / 3.634 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/8.568, allocations: 49.19 kB / 3.634 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002259/8.57, allocations: 0.7027 MB / 3.634 GB, free: 189 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002472/8.573, allocations: 0.9029 MB / 3.635 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/8.573, allocations: 3.906 kB / 3.635 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/8.573, allocations: 3.625 kB / 3.635 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.029e-05/8.573, allocations: 36.66 kB / 3.635 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008879/8.582, allocations: 3.877 MB / 3.639 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/8.583, allocations: 355.7 kB / 3.639 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004634/8.584, allocations: 197.6 kB / 3.64 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002411/8.584, allocations: 101.8 kB / 3.64 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/8.584, allocations: 37.59 kB / 3.64 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 3.767e-06/8.584, allocations: 0 / 3.64 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=38): time 0.003914/8.588, allocations: 1.1 MB / 3.641 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/8.588, allocations: 62.83 kB / 3.641 GB, free: 186.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/8.589, allocations: 0.5763 MB / 3.641 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/8.589, allocations: 32.02 kB / 3.641 GB, free: 186.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/8.59, allocations: 411 kB / 3.642 GB, free: 186 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/8.59, allocations: 131.1 kB / 3.642 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/8.59, allocations: 0 / 3.642 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001467/8.59, allocations: 390.5 kB / 3.642 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/8.59, allocations: 191.4 kB / 3.642 GB, free: 185.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006045/8.591, allocations: 384.1 kB / 3.643 GB, free: 185.4 MB / 0.8698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003013/8.594, allocations: 0.6842 MB / 3.643 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/8.594, allocations: 2.094 kB / 3.643 GB, free: 185.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001906/8.596, allocations: 0.6105 MB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/8.596, allocations: 9.781 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/8.596, allocations: 7.766 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.648e-05/8.596, allocations: 7.656 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/8.597, allocations: 147.1 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/8.597, allocations: 12.91 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/8.599, allocations: 91.58 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/8.599, allocations: 24.22 kB / 3.644 GB, free: 185.2 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 71 * 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.000273/8.6, allocations: 130.9 kB / 3.645 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/8.6, allocations: 73.75 kB / 3.645 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/8.6, allocations: 80.06 kB / 3.645 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/8.6, allocations: 3.375 kB / 3.645 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/8.6, allocations: 1.969 kB / 3.645 GB, free: 185 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000882/8.601, allocations: 0.6549 MB / 3.645 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003806/8.605, allocations: 1.451 MB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/8.605, allocations: 3.969 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/8.606, allocations: 88.7 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/8.606, allocations: 7.75 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/8.606, allocations: 3.5 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.336e-06/8.606, allocations: 14.28 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/8.606, allocations: 7.062 kB / 3.647 GB, free: 184.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00175/8.608, allocations: 0.9879 MB / 3.648 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007896/8.609, allocations: 224.8 kB / 3.648 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/8.609, allocations: 11.05 kB / 3.648 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/8.61, allocations: 55.11 kB / 3.648 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.867e-05/8.61, allocations: 27.75 kB / 3.648 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/8.611, allocations: 29.25 kB / 3.648 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008847/8.611, allocations: 445.8 kB / 3.649 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001825/8.613, allocations: 323.8 kB / 3.649 GB, free: 183.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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.002579/8.616, allocations: 1.515 MB / 3.65 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00133/8.617, allocations: 437 kB / 3.651 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/8.617, allocations: 4.047 kB / 3.651 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/8.618, allocations: 177 kB / 3.651 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00375/8.621, allocations: 393.5 kB / 3.651 GB, free: 183 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/8.626, allocations: 1.39 MB / 3.653 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/8.627, allocations: 1.188 MB / 3.654 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of SimCode: time 3.176e-06/8.627, allocations: 0 / 3.654 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.05596/8.683, allocations: 21.18 MB / 3.675 GB, free: 181.4 MB / 0.8698 GB