Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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 8.1.4-maint.8.1.x/package.mo): time 1.633/1.633, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001201/0.001201, 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.676/1.676, allocations: 205.2 MB / 0.6256 GB, free: 7.457 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.0009363/0.0009365, allocations: 98.14 kB / 0.7396 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2965/0.2975, allocations: 122.4 MB / 0.8591 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7657/1.063, allocations: 116.3 MB / 0.9726 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9828/2.046, allocations: 400.3 MB / 1.364 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/2.047, allocations: 86.52 kB / 1.364 GB, free: 153.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.5035/2.55, allocations: 241.8 MB / 1.6 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/2.55, allocations: 12 kB / 1.6 GB, free: 3.852 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000494/2.551, allocations: 91.05 kB / 1.6 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03196/2.583, allocations: 12.19 MB / 1.612 GB, free: 7.402 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/2.583, allocations: 12 kB / 1.612 GB, free: 7.391 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/2.583, allocations: 28 kB / 1.612 GB, free: 7.363 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007113/2.584, allocations: 269.9 kB / 1.612 GB, free: 7.098 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/2.584, allocations: 430.1 kB / 1.612 GB, free: 6.645 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/2.584, allocations: 4 kB / 1.612 GB, free: 6.641 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/2.584, allocations: 0 / 1.612 GB, free: 6.641 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/2.585, allocations: 15.91 kB / 1.612 GB, free: 6.625 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003784/2.588, allocations: 2.662 MB / 1.615 GB, free: 3.746 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/2.589, allocations: 129.9 kB / 1.615 GB, free: 3.613 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/2.589, allocations: 89.22 kB / 1.615 GB, free: 3.523 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003821/2.589, allocations: 340.6 kB / 1.616 GB, free: 3.117 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/2.589, allocations: 42.75 kB / 1.616 GB, free: 3.066 MB / 0.948 GB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/2.589, allocations: 0 / 1.616 GB, free: 3.066 MB / 0.948 GB Notification: Performance of matching and sorting (n=22): time 0.0006954/2.59, allocations: 233.6 kB / 1.616 GB, free: 2.836 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/2.59, allocations: 51.41 kB / 1.616 GB, free: 2.773 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008079/2.591, allocations: 430.2 kB / 1.616 GB, free: 2.344 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/2.591, allocations: 25.7 kB / 1.616 GB, free: 2.312 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/2.591, allocations: 267.3 kB / 1.617 GB, free: 2.043 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/2.591, allocations: 82.84 kB / 1.617 GB, free: 1.961 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/2.591, allocations: 4 kB / 1.617 GB, free: 1.957 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001979/2.592, allocations: 358.8 kB / 1.617 GB, free: 1.598 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/2.592, allocations: 79.94 kB / 1.617 GB, free: 1.52 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/2.592, allocations: 226.8 kB / 1.617 GB, free: 1.23 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/2.592, allocations: 132 kB / 1.617 GB, free: 1.102 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/2.592, allocations: 4 kB / 1.617 GB, free: 1.098 MB / 0.948 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000691/2.593, allocations: 344.6 kB / 1.618 GB, free: 0.7539 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.4008/2.994, allocations: 1.664 MB / 1.619 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-05/2.994, allocations: 6.75 kB / 1.619 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/2.994, allocations: 7.75 kB / 1.619 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/2.994, allocations: 76.72 kB / 1.619 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/2.994, allocations: 10.53 kB / 1.619 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006804/2.995, allocations: 54.72 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/2.995, allocations: 17.66 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/2.995, allocations: 3 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006001/2.996, allocations: 269.7 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/2.996, allocations: 4.219 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/2.996, allocations: 7.156 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/2.996, allocations: 80.67 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/2.996, allocations: 13.91 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/2.997, allocations: 41.67 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/2.997, allocations: 20.48 kB / 1.62 GB, free: 336.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.0001337/2.997, allocations: 113.4 kB / 1.62 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/2.997, allocations: 54.62 kB / 1.62 GB, free: 336.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006122/2.998, allocations: 268.9 kB / 1.62 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/2.998, allocations: 9.094 kB / 1.62 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.998, allocations: 0 / 1.62 GB, free: 336 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003456/2.998, allocations: 365.4 kB / 1.621 GB, free: 335.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/3, allocations: 0.9547 MB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/3, allocations: 3.844 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/3, allocations: 49.77 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/3, allocations: 12.06 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/3, allocations: 9.844 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/3, allocations: 3.469 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/3, allocations: 3.969 kB / 1.622 GB, free: 335.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006905/3.001, allocations: 0.6009 MB / 1.622 GB, free: 335 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008357/3.001, allocations: 1.106 MB / 1.623 GB, free: 334.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002515/3.002, allocations: 168.3 kB / 1.624 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-05/3.002, allocations: 10.78 kB / 1.624 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/3.002, allocations: 25.41 kB / 1.624 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/3.002, allocations: 22.81 kB / 1.624 GB, free: 334.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.013e-05/3.002, allocations: 14.75 kB / 1.624 GB, free: 334.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003885/3.003, allocations: 329.2 kB / 1.624 GB, free: 334 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003278/3.006, allocations: 453.3 kB / 1.624 GB, free: 334 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009527/3.007, allocations: 395.8 kB / 1.625 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007351/3.008, allocations: 383.7 kB / 1.625 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/3.008, allocations: 1.688 kB / 1.625 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/3.008, allocations: 103.9 kB / 1.625 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/3.01, allocations: 306.2 kB / 1.626 GB, free: 333.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/3.011, allocations: 0.8191 MB / 1.626 GB, free: 333.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006678/3.012, allocations: 0.9706 MB / 1.627 GB, free: 332.9 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/3.012, allocations: 0 / 1.627 GB, free: 332.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)