Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.398/1.398, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.00105/0.00105, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.192/1.192, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0008096/0.0008096, allocations: 90.31 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2104/0.2113, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5165/0.7278, allocations: 115.3 MB / 0.9638 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6895/1.417, allocations: 399.3 MB / 1.354 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/1.418, allocations: 85.31 kB / 1.354 GB, free: 166.8 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.4498/1.867, allocations: 241.8 MB / 1.59 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/1.867, allocations: 8 kB / 1.59 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/1.868, allocations: 83.06 kB / 1.59 GB, free: 1.906 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02685/1.895, allocations: 12.2 MB / 1.602 GB, free: 5.539 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/1.895, allocations: 16 kB / 1.602 GB, free: 5.523 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/1.895, allocations: 24 kB / 1.602 GB, free: 5.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005471/1.895, allocations: 269.9 kB / 1.602 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/1.896, allocations: 422.2 kB / 1.603 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/1.896, allocations: 0 / 1.603 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/1.896, allocations: 4 kB / 1.603 GB, free: 4.785 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/1.896, allocations: 19.84 kB / 1.603 GB, free: 4.766 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/1.899, allocations: 2.643 MB / 1.605 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/1.899, allocations: 134 kB / 1.605 GB, free: 1.77 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.899, allocations: 89.2 kB / 1.605 GB, free: 1.68 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002795/1.9, allocations: 340.6 kB / 1.606 GB, free: 1.273 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/1.9, allocations: 34.75 kB / 1.606 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=22): time 1.513e-06/1.9, allocations: 3.938 kB / 1.606 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of matching and sorting (n=22): time 0.000521/1.9, allocations: 234.3 kB / 1.606 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/1.9, allocations: 59.41 kB / 1.606 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/1.901, allocations: 430.2 kB / 1.606 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/1.901, allocations: 29.64 kB / 1.607 GB, free: 472 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/1.901, allocations: 263.3 kB / 1.607 GB, free: 204 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/1.901, allocations: 82.84 kB / 1.607 GB, free: 120 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/1.901, allocations: 0 / 1.607 GB, free: 120 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.2835/2.185, allocations: 358.8 kB / 1.607 GB, free: 328.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/2.185, allocations: 81.77 kB / 1.607 GB, free: 328.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/2.185, allocations: 228.2 kB / 1.607 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/2.185, allocations: 128.5 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/2.185, allocations: 7.812 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006041/2.186, allocations: 348.6 kB / 1.608 GB, free: 328.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002309/2.186, allocations: 1.654 MB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/2.186, allocations: 3.156 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/2.186, allocations: 9.969 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/2.186, allocations: 78.12 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/2.187, allocations: 13.66 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/2.187, allocations: 48.16 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/2.187, allocations: 19.69 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-06/2.187, allocations: 10.22 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003691/2.187, allocations: 273.1 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/2.187, allocations: 3.594 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.42e-06/2.187, allocations: 7.094 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/2.188, allocations: 73.62 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/2.188, allocations: 7.062 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/2.188, allocations: 43.98 kB / 1.61 GB, free: 326.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/2.188, allocations: 19.25 kB / 1.61 GB, free: 326.7 MB / 0.9323 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 8.611e-05/2.188, allocations: 124.6 kB / 1.61 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.599e-05/2.188, allocations: 52.53 kB / 1.61 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004954/2.189, allocations: 265.2 kB / 1.611 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/2.189, allocations: 3.875 kB / 1.611 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/2.189, allocations: 0 / 1.611 GB, free: 326.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002828/2.189, allocations: 375.3 kB / 1.611 GB, free: 326.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/2.19, allocations: 0.9475 MB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.19, allocations: 3.906 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/2.19, allocations: 55.59 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/2.19, allocations: 2.156 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/2.19, allocations: 7.656 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/2.19, allocations: 6.969 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/2.19, allocations: 10.16 kB / 1.612 GB, free: 325.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004867/2.191, allocations: 0.5936 MB / 1.613 GB, free: 325.5 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006535/2.192, allocations: 1.114 MB / 1.614 GB, free: 324.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/2.192, allocations: 174.8 kB / 1.614 GB, free: 324.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.368e-05/2.192, allocations: 7.469 kB / 1.614 GB, free: 324.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/2.192, allocations: 26.22 kB / 1.614 GB, free: 324.6 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/2.192, allocations: 22.75 kB / 1.614 GB, free: 324.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/2.192, allocations: 23.05 kB / 1.614 GB, free: 324.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0002674/2.192, allocations: 329.6 kB / 1.614 GB, free: 324.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002137/2.195, allocations: 449.6 kB / 1.615 GB, free: 324.5 MB / 0.9323 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.0005656/2.195, allocations: 393.9 kB / 1.615 GB, free: 324.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004083/2.196, allocations: 381.8 kB / 1.615 GB, free: 324.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/2.196, allocations: 0 / 1.615 GB, free: 324.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/2.196, allocations: 103.2 kB / 1.615 GB, free: 324.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/2.197, allocations: 307.1 kB / 1.616 GB, free: 324.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/2.198, allocations: 0.819 MB / 1.617 GB, free: 324.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/2.199, allocations: 0.9714 MB / 1.617 GB, free: 323.4 MB / 0.9323 GB Notification: Performance of SimCode: time 2.6e-07/2.199, allocations: 0 / 1.617 GB, free: 323.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)