Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.315/2.315, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 185.3 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 0.6188 GB, free: 12.4 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 87.83 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.374e-05, allocations: 4 kB / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6247/0.6248, allocations: 115.2 MB / 0.9628 GB, free: 78.28 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.972/5.597, allocations: 2.084 GB / 3.047 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/5.597, allocations: 82.25 kB / 3.047 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.595/8.192, allocations: 0.5876 GB / 3.635 GB, free: 72.01 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.118e-05/8.192, allocations: 27.98 kB / 3.635 GB, free: 71.98 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002804/8.195, allocations: 1.126 MB / 3.636 GB, free: 70.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/8.195, allocations: 8.531 kB / 3.636 GB, free: 70.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/8.197, allocations: 222.6 kB / 3.636 GB, free: 70.58 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/8.199, allocations: 0.664 MB / 3.637 GB, free: 69.88 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/8.199, allocations: 24 kB / 3.637 GB, free: 69.86 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/8.199, allocations: 52 kB / 3.637 GB, free: 69.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001516/8.201, allocations: 0.5193 MB / 3.637 GB, free: 69.29 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/8.203, allocations: 0.7999 MB / 3.638 GB, free: 68.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/8.203, allocations: 3.938 kB / 3.638 GB, free: 68.39 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-05/8.203, allocations: 4 kB / 3.638 GB, free: 68.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/8.203, allocations: 29.3 kB / 3.638 GB, free: 68.36 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/8.209, allocations: 4.449 MB / 3.642 GB, free: 63.64 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/8.21, allocations: 451.2 kB / 3.643 GB, free: 63.18 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/8.21, allocations: 218.9 kB / 3.643 GB, free: 62.95 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/8.211, allocations: 101.1 kB / 3.643 GB, free: 62.83 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/8.211, allocations: 46.55 kB / 3.643 GB, free: 62.78 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=43): time 3.566e-06/8.211, allocations: 4 kB / 3.643 GB, free: 62.77 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.003903/8.215, allocations: 1.325 MB / 3.645 GB, free: 61.39 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/8.215, allocations: 114.8 kB / 3.645 GB, free: 61.25 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007369/8.215, allocations: 438.4 kB / 3.645 GB, free: 60.82 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/8.216, allocations: 25.7 kB / 3.645 GB, free: 60.79 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/8.216, allocations: 347 kB / 3.645 GB, free: 60.44 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/8.216, allocations: 153.7 kB / 3.646 GB, free: 60.29 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/8.216, allocations: 4 kB / 3.646 GB, free: 60.28 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001189/8.216, allocations: 366.8 kB / 3.646 GB, free: 59.91 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000466/8.217, allocations: 173.2 kB / 3.646 GB, free: 59.75 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005693/8.217, allocations: 402.3 kB / 3.646 GB, free: 59.25 MB / 0.9323 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.002803/8.22, allocations: 0.656 MB / 3.647 GB, free: 58.57 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/8.22, allocations: 0 / 3.647 GB, free: 58.57 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001497/8.221, allocations: 0.5779 MB / 3.648 GB, free: 57.99 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/8.222, allocations: 16.66 kB / 3.648 GB, free: 57.97 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/8.222, allocations: 4 kB / 3.648 GB, free: 57.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/8.222, allocations: 16 kB / 3.648 GB, free: 57.95 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009234/8.223, allocations: 123.7 kB / 3.648 GB, free: 57.83 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/8.223, allocations: 19.92 kB / 3.648 GB, free: 57.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/8.224, allocations: 39.81 kB / 3.648 GB, free: 57.77 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.493e-05/8.224, allocations: 32 kB / 3.648 GB, free: 57.74 MB / 0.9323 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.0002025/8.224, allocations: 116.8 kB / 3.648 GB, free: 57.62 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/8.224, allocations: 63.25 kB / 3.648 GB, free: 57.56 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/8.225, allocations: 77.88 kB / 3.648 GB, free: 57.48 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/8.225, allocations: 7.938 kB / 3.648 GB, free: 57.48 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/8.225, allocations: 7.891 kB / 3.648 GB, free: 57.47 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009121/8.226, allocations: 0.657 MB / 3.649 GB, free: 56.73 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/8.229, allocations: 1.482 MB / 3.65 GB, free: 55.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/8.229, allocations: 4 kB / 3.65 GB, free: 55.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009052/8.23, allocations: 95.83 kB / 3.65 GB, free: 55.05 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/8.23, allocations: 8.469 kB / 3.65 GB, free: 55.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/8.23, allocations: 15.98 kB / 3.65 GB, free: 55.03 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/8.23, allocations: 8 kB / 3.65 GB, free: 55.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/8.23, allocations: 11.84 kB / 3.65 GB, free: 55.01 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/8.231, allocations: 1.006 MB / 3.651 GB, free: 53.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/8.232, allocations: 184.3 kB / 3.652 GB, free: 53.65 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/8.232, allocations: 11.91 kB / 3.652 GB, free: 53.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/8.233, allocations: 31.91 kB / 3.652 GB, free: 53.61 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/8.233, allocations: 31.88 kB / 3.652 GB, free: 53.57 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/8.233, allocations: 24 kB / 3.652 GB, free: 53.55 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005391/8.234, allocations: 326.9 kB / 3.652 GB, free: 53.23 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001509/8.235, allocations: 308 kB / 3.652 GB, free: 52.93 MB / 0.9323 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.002892/8.238, allocations: 1.878 MB / 3.654 GB, free: 50.98 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001255/8.239, allocations: 437.5 kB / 3.655 GB, free: 50.56 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/8.239, allocations: 4.125 kB / 3.655 GB, free: 50.55 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000431/8.24, allocations: 199.6 kB / 3.655 GB, free: 50.36 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004283/8.244, allocations: 296 kB / 3.655 GB, free: 50.07 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006447/8.251, allocations: 1.244 MB / 3.656 GB, free: 48.75 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/8.252, allocations: 1.098 MB / 3.657 GB, free: 47.63 MB / 0.9323 GB Notification: Performance of SimCode: time 2.935e-06/8.252, allocations: 0 / 3.657 GB, free: 47.63 MB / 0.9323 GB Notification: Performance of Templates: time 0.05222/8.305, allocations: 20.1 MB / 3.677 GB, free: 27.64 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)