Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.597/2.597, allocations: 284.8 MB / 292.1 MB, free: 1.5 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001642/0.001641, allocations: 184.5 kB / 360.3 MB, free: 15.62 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.099/2.099, allocations: 205.1 MB / 0.6187 GB, free: 6.645 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001729/0.001729, allocations: 96.77 kB / 0.7317 GB, free: 46.91 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 0.2838/0.2856, allocations: 121.4 MB / 0.8502 GB, free: 13.64 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7342/1.02, allocations: 115.2 MB / 0.9627 GB, free: 86.43 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/2.149, allocations: 399.2 MB / 1.353 GB, free: 184.5 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/2.149, allocations: 86.64 kB / 1.353 GB, free: 184.5 MB / 0.8624 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.8356/2.985, allocations: 241.8 MB / 1.589 GB, free: 4.812 MB / 0.9092 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/2.985, allocations: 8 kB / 1.589 GB, free: 4.805 MB / 0.9092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005563/2.985, allocations: 95.03 kB / 1.589 GB, free: 4.711 MB / 0.9092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04992/3.035, allocations: 12.19 MB / 1.601 GB, free: 8.352 MB / 0.9249 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/3.035, allocations: 16 kB / 1.601 GB, free: 8.336 MB / 0.9249 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/3.036, allocations: 24 kB / 1.601 GB, free: 8.312 MB / 0.9249 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009419/3.036, allocations: 269.9 kB / 1.601 GB, free: 8.047 MB / 0.9249 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/3.038, allocations: 418.2 kB / 1.601 GB, free: 7.605 MB / 0.9249 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/3.038, allocations: 3.938 kB / 1.601 GB, free: 7.602 MB / 0.9249 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/3.038, allocations: 4 kB / 1.601 GB, free: 7.598 MB / 0.9249 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/3.038, allocations: 23.89 kB / 1.601 GB, free: 7.574 MB / 0.9249 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005375/3.043, allocations: 2.651 MB / 1.604 GB, free: 4.711 MB / 0.9249 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/3.044, allocations: 126 kB / 1.604 GB, free: 4.582 MB / 0.9249 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/3.044, allocations: 93.22 kB / 1.604 GB, free: 4.488 MB / 0.9249 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005402/3.044, allocations: 340.6 kB / 1.605 GB, free: 4.082 MB / 0.9249 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/3.045, allocations: 34.75 kB / 1.605 GB, free: 4.039 MB / 0.9249 GB Notification: Performance of pre-optimization done (n=22): time 3.496e-06/3.045, allocations: 0 / 1.605 GB, free: 4.039 MB / 0.9249 GB Notification: Performance of matching and sorting (n=22): time 0.001072/3.046, allocations: 235.7 kB / 1.605 GB, free: 3.805 MB / 0.9249 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/3.046, allocations: 55.41 kB / 1.605 GB, free: 3.738 MB / 0.9249 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/3.047, allocations: 430.2 kB / 1.605 GB, free: 3.309 MB / 0.9249 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/3.047, allocations: 25.7 kB / 1.605 GB, free: 3.277 MB / 0.9249 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/3.047, allocations: 271.3 kB / 1.606 GB, free: 3.008 MB / 0.9249 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/3.047, allocations: 82.84 kB / 1.606 GB, free: 2.926 MB / 0.9249 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/3.047, allocations: 4 kB / 1.606 GB, free: 2.922 MB / 0.9249 GB Notification: Performance of setup shared object (initialization): time 0.000315/3.048, allocations: 358.8 kB / 1.606 GB, free: 2.562 MB / 0.9249 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/3.048, allocations: 71.98 kB / 1.606 GB, free: 2.492 MB / 0.9249 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/3.048, allocations: 226.8 kB / 1.606 GB, free: 2.203 MB / 0.9249 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/3.049, allocations: 128 kB / 1.606 GB, free: 2.078 MB / 0.9249 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/3.049, allocations: 7.938 kB / 1.606 GB, free: 2.07 MB / 0.9249 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00121/3.05, allocations: 348.5 kB / 1.607 GB, free: 1.723 MB / 0.9249 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009442/3.051, allocations: 1.652 MB / 1.608 GB, free: 15.94 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/3.051, allocations: 4 kB / 1.608 GB, free: 15.94 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/3.051, allocations: 8 kB / 1.608 GB, free: 15.93 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007474/3.052, allocations: 87.83 kB / 1.608 GB, free: 15.84 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/3.052, allocations: 8 kB / 1.608 GB, free: 15.84 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009529/3.053, allocations: 51.5 kB / 1.609 GB, free: 15.79 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/3.053, allocations: 20 kB / 1.609 GB, free: 15.77 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/3.053, allocations: 4 kB / 1.609 GB, free: 15.76 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009082/3.054, allocations: 263.9 kB / 1.609 GB, free: 15.5 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/3.054, allocations: 8.094 kB / 1.609 GB, free: 15.5 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/3.054, allocations: 7.906 kB / 1.609 GB, free: 15.49 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005546/3.055, allocations: 79.89 kB / 1.609 GB, free: 15.41 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/3.055, allocations: 11.94 kB / 1.609 GB, free: 15.4 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008265/3.056, allocations: 39.73 kB / 1.609 GB, free: 15.36 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/3.056, allocations: 23.92 kB / 1.609 GB, free: 15.34 MB / 0.9405 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.0002233/3.056, allocations: 118.6 kB / 1.609 GB, free: 15.21 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/3.056, allocations: 51.34 kB / 1.609 GB, free: 15.16 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/3.057, allocations: 271.9 kB / 1.609 GB, free: 14.89 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/3.057, allocations: 3.906 kB / 1.609 GB, free: 14.89 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/3.057, allocations: 8 kB / 1.609 GB, free: 14.88 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006622/3.058, allocations: 361.4 kB / 1.61 GB, free: 14.48 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/3.061, allocations: 0.9619 MB / 1.611 GB, free: 13.43 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/3.061, allocations: 7.906 kB / 1.611 GB, free: 13.42 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/3.061, allocations: 51.92 kB / 1.611 GB, free: 13.37 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/3.061, allocations: 4 kB / 1.611 GB, free: 13.37 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/3.061, allocations: 7.984 kB / 1.611 GB, free: 13.36 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/3.061, allocations: 4 kB / 1.611 GB, free: 13.36 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/3.061, allocations: 3.938 kB / 1.611 GB, free: 13.35 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001375/3.063, allocations: 0.5939 MB / 1.611 GB, free: 12.66 MB / 0.9405 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001963/3.065, allocations: 1.104 MB / 1.612 GB, free: 11.46 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/3.065, allocations: 176.2 kB / 1.613 GB, free: 11.27 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/3.066, allocations: 4 kB / 1.613 GB, free: 11.26 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009048/3.067, allocations: 23.97 kB / 1.613 GB, free: 11.24 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/3.067, allocations: 31.83 kB / 1.613 GB, free: 11.21 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.818e-05/3.067, allocations: 15.98 kB / 1.613 GB, free: 11.19 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0007419/3.068, allocations: 322.9 kB / 1.613 GB, free: 10.88 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.004235/3.072, allocations: 451.1 kB / 1.613 GB, free: 10.44 MB / 0.9405 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.001344/3.073, allocations: 399.1 kB / 1.614 GB, free: 10.04 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.001199/3.074, allocations: 380.2 kB / 1.614 GB, free: 9.672 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/3.074, allocations: 4.375 kB / 1.614 GB, free: 9.668 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/3.075, allocations: 106.6 kB / 1.614 GB, free: 9.566 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003229/3.078, allocations: 309.3 kB / 1.615 GB, free: 9.27 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002894/3.081, allocations: 0.8134 MB / 1.615 GB, free: 8.402 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/3.082, allocations: 0.9724 MB / 1.616 GB, free: 7.402 MB / 0.9405 GB Notification: Performance of SimCode: time 1.653e-06/3.082, allocations: 0 / 1.616 GB, free: 7.402 MB / 0.9405 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)