Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.548/1.548, allocations: 289.8 MB / 297.1 MB, free: 6.707 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.001136/0.001136, allocations: 177.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.522/1.522, allocations: 205.1 MB / 0.6256 GB, free: 5.91 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.001099/0.001098, allocations: 82.86 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.056e-05/1.057e-05, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6894, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.492/5.182, allocations: 2.084 GB / 3.057 GB, free: 355.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/5.182, allocations: 86.03 kB / 3.057 GB, free: 355.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.787/6.969, allocations: 0.6069 GB / 3.664 GB, free: 109.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.715e-05/6.969, allocations: 27.98 kB / 3.664 GB, free: 109 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002273/6.971, allocations: 1.026 MB / 3.665 GB, free: 108 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/6.971, allocations: 8.031 kB / 3.665 GB, free: 108 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009542/6.972, allocations: 194.8 kB / 3.665 GB, free: 107.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/6.973, allocations: 0.5445 MB / 3.666 GB, free: 107.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003165/6.974, allocations: 93.25 kB / 3.666 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/6.974, allocations: 36 kB / 3.666 GB, free: 107.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005563/6.974, allocations: 330.5 kB / 3.666 GB, free: 106.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/6.975, allocations: 0.6451 MB / 3.667 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/6.975, allocations: 7.938 kB / 3.667 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/6.975, allocations: 4 kB / 3.667 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/6.975, allocations: 16.78 kB / 3.667 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00304/6.978, allocations: 4.108 MB / 3.671 GB, free: 101.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.41e-05/6.978, allocations: 98.42 kB / 3.671 GB, free: 101.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.032e-05/6.978, allocations: 75.53 kB / 3.671 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001828/6.979, allocations: 97.09 kB / 3.671 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/6.979, allocations: 38.56 kB / 3.671 GB, free: 101.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/6.979, allocations: 0 / 3.671 GB, free: 101.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.000477/6.979, allocations: 156.9 kB / 3.671 GB, free: 101.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/6.979, allocations: 144.4 kB / 3.671 GB, free: 100.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004808/6.98, allocations: 454.2 kB / 3.672 GB, free: 100.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/6.98, allocations: 25.7 kB / 3.672 GB, free: 100.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/6.98, allocations: 350.8 kB / 3.672 GB, free: 100.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/6.98, allocations: 31.55 kB / 3.672 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.349e-05/6.98, allocations: 0 / 3.672 GB, free: 100.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.655e-05/6.98, allocations: 362.7 kB / 3.673 GB, free: 99.71 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/6.98, allocations: 79.97 kB / 3.673 GB, free: 99.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/6.98, allocations: 316.6 kB / 3.673 GB, free: 99.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/6.981, allocations: 143.9 kB / 3.673 GB, free: 99.07 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/6.981, allocations: 8 kB / 3.673 GB, free: 99.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004936/6.981, allocations: 361 kB / 3.673 GB, free: 98.71 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/6.981, allocations: 4 kB / 3.673 GB, free: 98.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/6.981, allocations: 8 kB / 3.673 GB, free: 98.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/6.981, allocations: 12 kB / 3.673 GB, free: 98.68 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/6.981, allocations: 100.2 kB / 3.673 GB, free: 98.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/6.981, allocations: 15.92 kB / 3.674 GB, free: 98.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/6.982, allocations: 107.5 kB / 3.674 GB, free: 98.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/6.982, allocations: 24 kB / 3.674 GB, free: 98.44 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 8.268e-05/6.982, allocations: 120.8 kB / 3.674 GB, free: 98.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/6.982, allocations: 63.22 kB / 3.674 GB, free: 98.25 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.922e-05/6.982, allocations: 52.03 kB / 3.674 GB, free: 98.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/6.982, allocations: 4 kB / 3.674 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/6.982, allocations: 4 kB / 3.674 GB, free: 98.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/6.982, allocations: 3.984 kB / 3.674 GB, free: 98.18 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009896/6.983, allocations: 1.027 MB / 3.675 GB, free: 97.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/6.983, allocations: 4 kB / 3.675 GB, free: 97.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.985e-05/6.984, allocations: 19.92 kB / 3.675 GB, free: 97.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/6.984, allocations: 4 kB / 3.675 GB, free: 97.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/6.984, allocations: 4 kB / 3.675 GB, free: 97.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/6.984, allocations: 8.25 kB / 3.675 GB, free: 97.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/6.984, allocations: 4 kB / 3.675 GB, free: 97.04 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002255/6.984, allocations: 339.5 kB / 3.675 GB, free: 96.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/6.984, allocations: 144.4 kB / 3.675 GB, free: 96.44 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/6.984, allocations: 4 kB / 3.675 GB, free: 96.44 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/6.984, allocations: 27.97 kB / 3.675 GB, free: 96.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/6.984, allocations: 11.91 kB / 3.675 GB, free: 96.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/6.984, allocations: 8 kB / 3.675 GB, free: 96.39 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002977/6.985, allocations: 338.9 kB / 3.676 GB, free: 96.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009964/6.986, allocations: 299.4 kB / 3.676 GB, free: 95.77 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002468/6.988, allocations: 1.949 MB / 3.678 GB, free: 93.73 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003444/6.988, allocations: 184.9 kB / 3.678 GB, free: 93.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/6.988, allocations: 0.5625 kB / 3.678 GB, free: 93.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/6.989, allocations: 51.86 kB / 3.678 GB, free: 93.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/6.989, allocations: 175.3 kB / 3.678 GB, free: 93.33 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/6.991, allocations: 0.6938 MB / 3.679 GB, free: 92.58 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/6.991, allocations: 0.9899 MB / 3.68 GB, free: 91.56 MB / 0.948 GB Notification: Performance of SimCode: time 2.6e-07/6.991, allocations: 4 kB / 3.68 GB, free: 91.56 MB / 0.948 GB Notification: Performance of Templates: time 0.0249/7.016, allocations: 16.6 MB / 3.696 GB, free: 75.03 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)