Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") [: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.171/2.171, allocations: 253.1 MB / 260.4 MB, free: 0.5469 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.001667/0.001666, allocations: 179.8 kB / 319.6 MB, free: 7.66 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.038/2.038, allocations: 205.4 MB / 0.5704 GB, free: 25.57 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.001363/0.001363, allocations: 89.03 kB / 0.6746 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.948e-06/1.013e-05, allocations: 0 / 0.7843 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.5255, allocations: 106.2 MB / 0.888 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.618/6.143, allocations: 2.202 GB / 3.091 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/6.144, allocations: 86.14 kB / 3.091 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.41/8.554, allocations: 0.574 GB / 3.665 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.465e-05/8.554, allocations: 27.98 kB / 3.665 GB, free: 20.86 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003238/8.557, allocations: 1.136 MB / 3.666 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/8.557, allocations: 8.031 kB / 3.666 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002105/8.559, allocations: 230.5 kB / 3.666 GB, free: 19.45 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/8.562, allocations: 0.6641 MB / 3.667 GB, free: 18.74 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.002e-05/8.562, allocations: 24 kB / 3.667 GB, free: 18.72 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/8.562, allocations: 59.91 kB / 3.667 GB, free: 18.66 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001595/8.563, allocations: 0.5155 MB / 3.667 GB, free: 18.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001764/8.565, allocations: 0.8093 MB / 3.668 GB, free: 17.26 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/8.565, allocations: 0 / 3.668 GB, free: 17.26 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/8.565, allocations: 4 kB / 3.668 GB, free: 17.25 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.666e-05/8.565, allocations: 33.25 kB / 3.668 GB, free: 17.22 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006158/8.572, allocations: 4.44 MB / 3.672 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/8.573, allocations: 448.4 kB / 3.673 GB, free: 12.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/8.573, allocations: 218.8 kB / 3.673 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002464/8.574, allocations: 101.1 kB / 3.673 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.564e-05/8.574, allocations: 46.55 kB / 3.673 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.767e-06/8.574, allocations: 0 / 3.673 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45): time 0.004087/8.578, allocations: 1.332 MB / 3.674 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/8.578, allocations: 110.8 kB / 3.675 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/8.579, allocations: 442.3 kB / 3.675 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.627e-05/8.579, allocations: 25.7 kB / 3.675 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/8.579, allocations: 351 kB / 3.675 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000184/8.579, allocations: 157.7 kB / 3.675 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/8.579, allocations: 0 / 3.675 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001227/8.579, allocations: 370.8 kB / 3.676 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/8.58, allocations: 173.3 kB / 3.676 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/8.58, allocations: 394.3 kB / 3.676 GB, free: 8.113 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/8.583, allocations: 0.6332 MB / 3.677 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/8.583, allocations: 0 / 3.677 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001452/8.585, allocations: 0.5756 MB / 3.678 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/8.585, allocations: 11.38 kB / 3.678 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/8.585, allocations: 8 kB / 3.678 GB, free: 6.863 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.474e-05/8.585, allocations: 15.94 kB / 3.678 GB, free: 6.848 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/8.586, allocations: 127.8 kB / 3.678 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/8.586, allocations: 15.94 kB / 3.678 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/8.587, allocations: 43.81 kB / 3.678 GB, free: 6.664 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/8.587, allocations: 28 kB / 3.678 GB, free: 6.637 MB / 0.8698 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * 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.0001889/8.587, allocations: 124.8 kB / 3.678 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/8.587, allocations: 63.25 kB / 3.678 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/8.588, allocations: 82.02 kB / 3.678 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/8.588, allocations: 4 kB / 3.678 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/8.588, allocations: 0 / 3.678 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009003/8.589, allocations: 0.6689 MB / 3.679 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/8.592, allocations: 1.48 MB / 3.68 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/8.592, allocations: 0 / 3.68 GB, free: 4.031 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/8.593, allocations: 107.8 kB / 3.68 GB, free: 3.926 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/8.593, allocations: 8 kB / 3.68 GB, free: 3.918 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/8.593, allocations: 4.469 kB / 3.68 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/8.593, allocations: 15.98 kB / 3.68 GB, free: 3.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/8.593, allocations: 7.938 kB / 3.68 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001645/8.595, allocations: 1.003 MB / 3.681 GB, free: 2.73 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004557/8.595, allocations: 188.3 kB / 3.681 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/8.595, allocations: 7.906 kB / 3.681 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008721/8.596, allocations: 35.91 kB / 3.681 GB, free: 2.484 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/8.596, allocations: 31.88 kB / 3.682 GB, free: 2.453 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.271e-05/8.596, allocations: 23.98 kB / 3.682 GB, free: 2.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005673/8.597, allocations: 330.9 kB / 3.682 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001593/8.598, allocations: 307.9 kB / 3.682 GB, free: 1.809 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.356/8.954, allocations: 1.872 MB / 3.684 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001293/8.956, allocations: 432.6 kB / 3.684 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/8.956, allocations: 0 / 3.684 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004237/8.956, allocations: 197.9 kB / 3.685 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/8.959, allocations: 286.3 kB / 3.685 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003379/8.962, allocations: 1.264 MB / 3.686 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009436/8.963, allocations: 1.104 MB / 3.687 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/8.963, allocations: 3.094 kB / 3.687 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.05137/9.015, allocations: 20.18 MB / 3.707 GB, free: 234.7 MB / 0.8698 GB