Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.541/1.541, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001126/0.001126, allocations: 173.3 kB / 366.3 MB, free: 2.02 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.708/1.708, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0009027/0.0009026, allocations: 87.28 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.093e-06/7.123e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.626, allocations: 116.3 MB / 0.9726 GB, free: 68.77 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.652/5.278, allocations: 2.075 GB / 3.047 GB, free: 356 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/5.279, allocations: 90.23 kB / 3.047 GB, free: 356 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.647/6.926, allocations: 0.564 GB / 3.611 GB, free: 166.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.031e-05/6.926, allocations: 27.61 kB / 3.611 GB, free: 166.5 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002319/6.928, allocations: 1.242 MB / 3.612 GB, free: 165.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/6.928, allocations: 8.031 kB / 3.612 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/6.93, allocations: 346.3 kB / 3.613 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/6.932, allocations: 0.8018 MB / 3.614 GB, free: 164.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/6.932, allocations: 112.2 kB / 3.614 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/6.932, allocations: 52 kB / 3.614 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/6.933, allocations: 0.6951 MB / 3.614 GB, free: 163.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/6.934, allocations: 0.8903 MB / 3.615 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/6.934, allocations: 3.938 kB / 3.615 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/6.934, allocations: 4 kB / 3.615 GB, free: 162.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/6.934, allocations: 37.89 kB / 3.615 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/6.939, allocations: 3.898 MB / 3.619 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005588/6.94, allocations: 371.9 kB / 3.619 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/6.94, allocations: 200.8 kB / 3.62 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/6.94, allocations: 97.09 kB / 3.62 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/6.94, allocations: 50.55 kB / 3.62 GB, free: 157.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.895e-06/6.94, allocations: 0 / 3.62 GB, free: 157.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=38): time 0.002097/6.942, allocations: 1.108 MB / 3.621 GB, free: 156.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/6.942, allocations: 62.91 kB / 3.621 GB, free: 156.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/6.943, allocations: 0.5622 MB / 3.621 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/6.943, allocations: 25.7 kB / 3.622 GB, free: 155.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/6.943, allocations: 410.3 kB / 3.622 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/6.943, allocations: 134 kB / 3.622 GB, free: 155 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.644e-05/6.943, allocations: 1.688 kB / 3.622 GB, free: 155 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.59e-05/6.943, allocations: 374.8 kB / 3.622 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/6.943, allocations: 197.2 kB / 3.623 GB, free: 154.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/6.944, allocations: 375 kB / 3.623 GB, free: 154 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: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/6.945, allocations: 0.7173 MB / 3.624 GB, free: 153.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/6.945, allocations: 0 / 3.624 GB, free: 153.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008437/6.946, allocations: 0.6287 MB / 3.624 GB, free: 152.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/6.946, allocations: 4 kB / 3.624 GB, free: 152.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/6.946, allocations: 8 kB / 3.624 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/6.946, allocations: 8 kB / 3.624 GB, free: 152.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000561/6.947, allocations: 144.4 kB / 3.624 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/6.947, allocations: 19.92 kB / 3.624 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/6.948, allocations: 79.78 kB / 3.624 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/6.948, allocations: 28 kB / 3.625 GB, free: 152.4 MB / 0.948 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: 22 * 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.000128/6.948, allocations: 124.8 kB / 3.625 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/6.948, allocations: 79.06 kB / 3.625 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/6.948, allocations: 78.77 kB / 3.625 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/6.948, allocations: 5.219 kB / 3.625 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/6.948, allocations: 0 / 3.625 GB, free: 152.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004877/6.949, allocations: 0.6479 MB / 3.625 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/6.951, allocations: 1.447 MB / 3.627 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/6.951, allocations: 4 kB / 3.627 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004171/6.951, allocations: 87.89 kB / 3.627 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/6.951, allocations: 4.5 kB / 3.627 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/6.951, allocations: 14.95 kB / 3.627 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/6.951, allocations: 11.92 kB / 3.627 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/6.951, allocations: 4 kB / 3.627 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008347/6.952, allocations: 0.9989 MB / 3.628 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002626/6.952, allocations: 208.2 kB / 3.628 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/6.953, allocations: 8 kB / 3.628 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/6.953, allocations: 56.98 kB / 3.628 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/6.953, allocations: 27.91 kB / 3.628 GB, free: 148.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/6.953, allocations: 27.98 kB / 3.628 GB, free: 148.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004261/6.954, allocations: 443 kB / 3.629 GB, free: 147.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001076/6.955, allocations: 331.9 kB / 3.629 GB, free: 147.4 MB / 0.948 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.001643/6.957, allocations: 1.509 MB / 3.63 GB, free: 146 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006005/6.957, allocations: 440.1 kB / 3.631 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/6.957, allocations: 4 kB / 3.631 GB, free: 145.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/6.957, allocations: 179.9 kB / 3.631 GB, free: 145.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/6.959, allocations: 385.8 kB / 3.631 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/6.961, allocations: 1.361 MB / 3.633 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006616/6.962, allocations: 1.185 MB / 3.634 GB, free: 142.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.4e-07/6.962, allocations: 0 / 3.634 GB, free: 142.4 MB / 0.948 GB Notification: Performance of Templates: time 0.03141/6.993, allocations: 21.01 MB / 3.654 GB, free: 121.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1)