Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.3-maint.7.0.x/package.mo): time 1.263/1.263, allocations: 249.4 MB / 256.7 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 181.3 kB / 316 MB, free: 3.512 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.231/1.231, allocations: 205.1 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 93.45 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.335/0.3359, allocations: 112.4 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.5105, allocations: 106.3 MB / 0.8846 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.99/4.501, allocations: 2.222 GB / 3.107 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/4.501, allocations: 83.95 kB / 3.107 GB, free: 179.7 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 1.183/5.684, allocations: 459.3 MB / 3.555 GB, free: 60.57 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/5.684, allocations: 11.94 kB / 3.556 GB, free: 60.55 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001992/5.686, allocations: 306.3 kB / 3.556 GB, free: 60.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001871/5.688, allocations: 0.8317 MB / 3.557 GB, free: 59.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.402e-05/5.688, allocations: 31.97 kB / 3.557 GB, free: 59.35 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/5.688, allocations: 40 kB / 3.557 GB, free: 59.31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001314/5.689, allocations: 0.8818 MB / 3.558 GB, free: 58.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/5.69, allocations: 0.9055 MB / 3.558 GB, free: 57.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/5.691, allocations: 0 / 3.558 GB, free: 57.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.228e-05/5.691, allocations: 3.906 kB / 3.558 GB, free: 57.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.534e-05/5.691, allocations: 77.94 kB / 3.559 GB, free: 57.42 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/5.696, allocations: 3.446 MB / 3.562 GB, free: 53.75 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/5.697, allocations: 0.7359 MB / 3.563 GB, free: 53 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/5.697, allocations: 360.5 kB / 3.563 GB, free: 52.65 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002658/5.698, allocations: 194.7 kB / 3.563 GB, free: 52.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/5.698, allocations: 46.98 kB / 3.563 GB, free: 52.37 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 2.966e-06/5.698, allocations: 0 / 3.563 GB, free: 52.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.001586/5.699, allocations: 0.7493 MB / 3.564 GB, free: 51.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/5.699, allocations: 111.3 kB / 3.564 GB, free: 51.48 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/5.7, allocations: 0.5545 MB / 3.565 GB, free: 50.92 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/5.7, allocations: 25.7 kB / 3.565 GB, free: 50.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/5.7, allocations: 323.7 kB / 3.565 GB, free: 50.56 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/5.7, allocations: 204.9 kB / 3.565 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/5.7, allocations: 4 kB / 3.565 GB, free: 50.36 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/5.7, allocations: 394.7 kB / 3.565 GB, free: 49.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/5.701, allocations: 313.5 kB / 3.566 GB, free: 49.66 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004293/5.701, allocations: 443.5 kB / 3.566 GB, free: 49.17 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005415/5.707, allocations: 1.345 MB / 3.567 GB, free: 47.83 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/5.707, allocations: 0 / 3.567 GB, free: 47.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00597/5.713, allocations: 1.822 MB / 3.569 GB, free: 46 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/5.713, allocations: 0.8719 MB / 3.57 GB, free: 45.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/5.713, allocations: 4 kB / 3.57 GB, free: 45.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/5.713, allocations: 4 kB / 3.57 GB, free: 45.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/5.713, allocations: 147.8 kB / 3.57 GB, free: 44.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.455e-06/5.713, allocations: 7.906 kB / 3.57 GB, free: 44.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008706/5.714, allocations: 83.38 kB / 3.57 GB, free: 44.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/5.714, allocations: 28 kB / 3.57 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-06/5.714, allocations: 4 kB / 3.57 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005563/5.72, allocations: 1.63 MB / 3.572 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-06/5.72, allocations: 0 / 3.572 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.254e-06/5.72, allocations: 8 kB / 3.572 GB, free: 43.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/5.721, allocations: 143.9 kB / 3.572 GB, free: 43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/5.721, allocations: 11.88 kB / 3.572 GB, free: 42.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000795/5.721, allocations: 75.67 kB / 3.572 GB, free: 42.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.556e-05/5.722, allocations: 27.98 kB / 3.572 GB, free: 42.89 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (86): * Single equations (assignments): 86 * 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.0001619/5.722, allocations: 120.8 kB / 3.572 GB, free: 42.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/5.722, allocations: 82.97 kB / 3.572 GB, free: 42.68 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/5.723, allocations: 0.7638 MB / 3.573 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/5.723, allocations: 4 kB / 3.573 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/5.723, allocations: 0 / 3.573 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008532/5.724, allocations: 0.733 MB / 3.574 GB, free: 41.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/5.727, allocations: 1.937 MB / 3.576 GB, free: 39.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/5.727, allocations: 4 kB / 3.576 GB, free: 39.12 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/5.727, allocations: 131.9 kB / 3.576 GB, free: 38.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/5.727, allocations: 8.375 kB / 3.576 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/5.727, allocations: 15.94 kB / 3.576 GB, free: 38.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/5.727, allocations: 8 kB / 3.576 GB, free: 38.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/5.727, allocations: 4 kB / 3.576 GB, free: 38.95 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001499/5.729, allocations: 1.522 MB / 3.577 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002201/5.731, allocations: 2.423 MB / 3.58 GB, free: 34.72 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/5.731, allocations: 255.9 kB / 3.58 GB, free: 34.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/5.731, allocations: 8 kB / 3.58 GB, free: 34.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/5.732, allocations: 47.8 kB / 3.58 GB, free: 34.39 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/5.732, allocations: 36.39 kB / 3.58 GB, free: 34.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/5.732, allocations: 27.98 kB / 3.58 GB, free: 34.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004192/5.733, allocations: 427.2 kB / 3.581 GB, free: 33.92 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003685/5.736, allocations: 1.244 MB / 3.582 GB, free: 32.68 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.002401/5.739, allocations: 1.943 MB / 3.584 GB, free: 30.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001438/5.74, allocations: 1.118 MB / 3.585 GB, free: 29.55 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/5.74, allocations: 320 / 3.585 GB, free: 29.55 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003511/5.741, allocations: 357.3 kB / 3.585 GB, free: 29.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/5.742, allocations: 422.4 kB / 3.586 GB, free: 28.79 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/5.745, allocations: 1.493 MB / 3.587 GB, free: 27.22 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007363/5.746, allocations: 1.199 MB / 3.588 GB, free: 26 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/5.746, allocations: 3.938 kB / 3.588 GB, free: 25.99 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)