Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",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.654/1.654, allocations: 289.8 MB / 297 MB, free: 6.68 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.001416/0.001415, allocations: 173.3 kB / 366.3 MB, free: 1.98 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.612/1.612, allocations: 205.1 MB / 0.6256 GB, free: 5.926 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.001055/0.001054, allocations: 85.34 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3214/0.3225, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/1.076, allocations: 116.3 MB / 0.9726 GB, free: 68.5 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.789/5.865, allocations: 2.087 GB / 3.059 GB, free: 352.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/5.866, allocations: 94.72 kB / 3.059 GB, free: 352.9 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 4.457/10.32, allocations: 1.34 GB / 4.399 GB, free: 91.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/10.32, allocations: 11.94 kB / 4.399 GB, free: 91.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/10.33, allocations: 0.5282 MB / 4.4 GB, free: 91.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/10.33, allocations: 1.435 MB / 4.401 GB, free: 89.89 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/10.33, allocations: 122.2 kB / 4.401 GB, free: 89.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/10.33, allocations: 99.91 kB / 4.402 GB, free: 89.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002224/10.33, allocations: 1.22 MB / 4.403 GB, free: 88.44 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/10.34, allocations: 1.479 MB / 4.404 GB, free: 86.89 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.387e-05/10.34, allocations: 7.938 kB / 4.404 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/10.34, allocations: 4 kB / 4.404 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.514e-05/10.34, allocations: 58.59 kB / 4.404 GB, free: 86.82 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009729/10.35, allocations: 8.23 MB / 4.412 GB, free: 78.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/10.35, allocations: 0.5487 MB / 4.413 GB, free: 77.46 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005816/10.35, allocations: 0.4908 MB / 4.413 GB, free: 76.97 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005956/10.35, allocations: 415.1 kB / 4.414 GB, free: 76.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/10.35, allocations: 43.34 kB / 4.414 GB, free: 76.45 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=96): time 3.557e-06/10.35, allocations: 4 kB / 4.414 GB, free: 76.44 MB / 0.9636 GB Notification: Performance of matching and sorting (n=102): time 0.006148/10.35, allocations: 2.65 MB / 4.416 GB, free: 73.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/10.35, allocations: 64.41 kB / 4.416 GB, free: 73.66 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/10.35, allocations: 0.886 MB / 4.417 GB, free: 72.76 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-05/10.35, allocations: 29.7 kB / 4.417 GB, free: 72.73 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/10.36, allocations: 0.5858 MB / 4.418 GB, free: 72.13 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/10.36, allocations: 358.6 kB / 4.418 GB, free: 71.78 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/10.36, allocations: 0 / 4.418 GB, free: 71.78 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/10.36, allocations: 349.9 kB / 4.419 GB, free: 71.43 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/10.36, allocations: 394.5 kB / 4.419 GB, free: 71.05 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006464/10.36, allocations: 0.7639 MB / 4.42 GB, free: 70.11 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/10.36, allocations: 0.5712 MB / 4.42 GB, free: 69.54 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/10.36, allocations: 0 / 4.42 GB, free: 69.54 MB / 0.9636 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001815/10.36, allocations: 1.287 MB / 4.421 GB, free: 68.24 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008522/10.36, allocations: 3.628 MB / 4.425 GB, free: 64.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/10.36, allocations: 12 kB / 4.425 GB, free: 64.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/10.36, allocations: 19.98 kB / 4.425 GB, free: 64.36 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/10.36, allocations: 283.6 kB / 4.425 GB, free: 64.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/10.36, allocations: 19.92 kB / 4.425 GB, free: 64.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/10.36, allocations: 147.5 kB / 4.426 GB, free: 63.92 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/10.36, allocations: 59.89 kB / 4.426 GB, free: 63.86 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/10.36, allocations: 5.406 kB / 4.426 GB, free: 63.86 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001558/10.36, allocations: 1.084 MB / 4.427 GB, free: 62.77 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/10.36, allocations: 12 kB / 4.427 GB, free: 62.76 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/10.36, allocations: 16 kB / 4.427 GB, free: 62.75 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/10.37, allocations: 283.9 kB / 4.427 GB, free: 62.47 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/10.37, allocations: 23.92 kB / 4.427 GB, free: 62.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/10.37, allocations: 151.5 kB / 4.427 GB, free: 62.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/10.37, allocations: 52 kB / 4.427 GB, free: 62.25 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002635/10.37, allocations: 132.7 kB / 4.427 GB, free: 62.11 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/10.37, allocations: 154.1 kB / 4.427 GB, free: 61.96 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/10.37, allocations: 1.093 MB / 4.428 GB, free: 60.85 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/10.37, allocations: 8 kB / 4.428 GB, free: 60.84 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/10.37, allocations: 7.938 kB / 4.428 GB, free: 60.83 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001217/10.37, allocations: 1.023 MB / 4.429 GB, free: 59.76 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/10.38, allocations: 2.532 MB / 4.432 GB, free: 57.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/10.38, allocations: 4 kB / 4.432 GB, free: 57.18 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/10.38, allocations: 259.9 kB / 4.432 GB, free: 56.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/10.38, allocations: 8 kB / 4.432 GB, free: 56.91 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/10.38, allocations: 23.83 kB / 4.432 GB, free: 56.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/10.38, allocations: 4 kB / 4.432 GB, free: 56.89 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/10.38, allocations: 8 kB / 4.432 GB, free: 56.88 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002194/10.38, allocations: 1.815 MB / 4.434 GB, free: 54.97 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003349/10.38, allocations: 2.951 MB / 4.437 GB, free: 51.92 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008955/10.38, allocations: 323.1 kB / 4.437 GB, free: 51.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/10.38, allocations: 11.98 kB / 4.437 GB, free: 51.57 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001393/10.38, allocations: 123.7 kB / 4.437 GB, free: 51.45 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/10.39, allocations: 64.59 kB / 4.437 GB, free: 51.39 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/10.39, allocations: 43.73 kB / 4.437 GB, free: 51.35 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0008578/10.39, allocations: 0.6601 MB / 4.438 GB, free: 50.69 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005148/10.39, allocations: 1.703 MB / 4.44 GB, free: 48.99 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.004171/10.4, allocations: 3.341 MB / 4.443 GB, free: 45.79 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002575/10.4, allocations: 1.615 MB / 4.445 GB, free: 44.18 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/10.4, allocations: 0 / 4.445 GB, free: 44.18 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006327/10.4, allocations: 486.7 kB / 4.445 GB, free: 43.71 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005005/10.4, allocations: 0.8477 MB / 4.446 GB, free: 42.89 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005371/10.41, allocations: 2.764 MB / 4.449 GB, free: 40.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001304/10.41, allocations: 1.63 MB / 4.45 GB, free: 38.43 MB / 0.9636 GB Notification: Performance of SimCode: time 1.703e-06/10.41, allocations: 0 / 4.45 GB, free: 38.43 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolume.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)