Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.8 MB / 297.1 MB, free: 6.73 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 181.3 kB / 366.3 MB, free: 2 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 0.6256 GB, free: 5.852 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 87.5 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.486e-06/8.506e-06, allocations: 0 / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6617, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.678/5.34, allocations: 2.085 GB / 3.058 GB, free: 355.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/5.34, allocations: 89.91 kB / 3.058 GB, free: 355.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.602/6.942, allocations: 0.5876 GB / 3.646 GB, free: 128.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.743e-05/6.942, allocations: 28 kB / 3.646 GB, free: 128.6 MB / 0.948 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.002088/6.944, allocations: 1.123 MB / 3.647 GB, free: 127.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/6.944, allocations: 8.031 kB / 3.647 GB, free: 127.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/6.945, allocations: 226.6 kB / 3.647 GB, free: 127.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/6.946, allocations: 0.6677 MB / 3.648 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/6.947, allocations: 24 kB / 3.648 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/6.947, allocations: 48 kB / 3.648 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007946/6.947, allocations: 0.5194 MB / 3.648 GB, free: 125.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009484/6.948, allocations: 0.797 MB / 3.649 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/6.948, allocations: 0 / 3.649 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.662e-05/6.948, allocations: 7.938 kB / 3.649 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/6.949, allocations: 33.3 kB / 3.649 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/6.952, allocations: 4.447 MB / 3.653 GB, free: 120.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/6.952, allocations: 449.8 kB / 3.654 GB, free: 119.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/6.953, allocations: 218.8 kB / 3.654 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/6.953, allocations: 102.1 kB / 3.654 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/6.953, allocations: 42.56 kB / 3.654 GB, free: 119.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=43): time 2.345e-06/6.953, allocations: 0 / 3.654 GB, free: 119.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002219/6.955, allocations: 1.332 MB / 3.655 GB, free: 118 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/6.955, allocations: 114.8 kB / 3.656 GB, free: 117.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/6.955, allocations: 430.4 kB / 3.656 GB, free: 117.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.554e-05/6.956, allocations: 29.64 kB / 3.656 GB, free: 117.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/6.956, allocations: 358.5 kB / 3.656 GB, free: 117.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/6.956, allocations: 157.8 kB / 3.656 GB, free: 116.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/6.956, allocations: 0 / 3.656 GB, free: 116.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/6.956, allocations: 370.7 kB / 3.657 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/6.956, allocations: 173.2 kB / 3.657 GB, free: 116.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/6.956, allocations: 402.3 kB / 3.657 GB, free: 115.9 MB / 0.948 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.001422/6.958, allocations: 0.6475 MB / 3.658 GB, free: 115.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/6.958, allocations: 0 / 3.658 GB, free: 115.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007278/6.959, allocations: 0.575 MB / 3.659 GB, free: 114.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/6.959, allocations: 8 kB / 3.659 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/6.959, allocations: 12.03 kB / 3.659 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/6.959, allocations: 12 kB / 3.659 GB, free: 114.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/6.959, allocations: 119.8 kB / 3.659 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/6.959, allocations: 19.92 kB / 3.659 GB, free: 114.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/6.96, allocations: 35.83 kB / 3.659 GB, free: 114.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-05/6.96, allocations: 35.98 kB / 3.659 GB, free: 114.4 MB / 0.948 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.0001138/6.96, allocations: 126.5 kB / 3.659 GB, free: 114.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/6.96, allocations: 67.25 kB / 3.659 GB, free: 114.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/6.96, allocations: 69.88 kB / 3.659 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/6.96, allocations: 4 kB / 3.659 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/6.96, allocations: 0 / 3.659 GB, free: 114.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005025/6.961, allocations: 0.6725 MB / 3.66 GB, free: 113.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/6.962, allocations: 1.482 MB / 3.661 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/6.962, allocations: 4 kB / 3.661 GB, free: 111.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/6.963, allocations: 103.8 kB / 3.661 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/6.963, allocations: 12.41 kB / 3.661 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.272e-05/6.963, allocations: 19.98 kB / 3.661 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/6.963, allocations: 4 kB / 3.661 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.963, allocations: 4 kB / 3.661 GB, free: 111.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008745/6.964, allocations: 1.01 MB / 3.662 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/6.964, allocations: 187 kB / 3.662 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.897e-05/6.964, allocations: 11.98 kB / 3.663 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004517/6.965, allocations: 31.83 kB / 3.663 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.155e-05/6.965, allocations: 31.95 kB / 3.663 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/6.965, allocations: 27.91 kB / 3.663 GB, free: 110.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002771/6.965, allocations: 322.9 kB / 3.663 GB, free: 109.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001003/6.966, allocations: 311.9 kB / 3.663 GB, free: 109.6 MB / 0.948 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.002495/6.969, allocations: 1.865 MB / 3.665 GB, free: 107.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007334/6.969, allocations: 433.3 kB / 3.665 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/6.969, allocations: 8 kB / 3.665 GB, free: 107.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/6.97, allocations: 199.7 kB / 3.666 GB, free: 107 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/6.971, allocations: 299 kB / 3.666 GB, free: 106.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/6.973, allocations: 1.243 MB / 3.667 GB, free: 105.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006132/6.974, allocations: 1.101 MB / 3.668 GB, free: 104.3 MB / 0.948 GB Notification: Performance of SimCode: time 6.31e-07/6.974, allocations: 8 kB / 3.668 GB, free: 104.3 MB / 0.948 GB Notification: Performance of Templates: time 0.03057/7.004, allocations: 20.07 MB / 3.688 GB, free: 84.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)