Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.447/1.447, 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.001064/0.001064, allocations: 181.2 kB / 361.1 MB, free: 7.082 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.146/1.146, 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.0008175/0.0008175, allocations: 87.86 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2366/0.2375, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.8253, allocations: 115.3 MB / 0.9638 GB, free: 78.01 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.383/4.209, allocations: 2.103 GB / 3.067 GB, free: 30.91 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/4.209, allocations: 80.7 kB / 3.067 GB, free: 30.83 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 1.645/5.854, allocations: 469.8 MB / 3.526 GB, free: 209.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/5.854, allocations: 12.56 kB / 3.526 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/5.856, allocations: 302.2 kB / 3.526 GB, free: 209.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/5.858, allocations: 0.8392 MB / 3.527 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.756e-05/5.859, allocations: 20.91 kB / 3.527 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/5.859, allocations: 41.16 kB / 3.527 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001431/5.86, allocations: 0.8817 MB / 3.528 GB, free: 209.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/5.861, allocations: 0.8941 MB / 3.529 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/5.861, allocations: 1.875 kB / 3.529 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.818e-05/5.862, allocations: 7.281 kB / 3.529 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/5.862, allocations: 76.59 kB / 3.529 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005508/5.867, allocations: 3.445 MB / 3.532 GB, free: 208 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/5.869, allocations: 0.734 MB / 3.533 GB, free: 208 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000407/5.869, allocations: 353.2 kB / 3.533 GB, free: 208 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/5.869, allocations: 197.1 kB / 3.533 GB, free: 207.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/5.869, allocations: 42.19 kB / 3.533 GB, free: 207.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=62): time 2.234e-06/5.869, allocations: 0 / 3.533 GB, free: 207.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=62): time 0.001597/5.871, allocations: 0.7557 MB / 3.534 GB, free: 207.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/5.871, allocations: 109.4 kB / 3.534 GB, free: 207.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005865/5.872, allocations: 0.5517 MB / 3.535 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/5.872, allocations: 25.7 kB / 3.535 GB, free: 207.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/5.872, allocations: 318.3 kB / 3.535 GB, free: 207.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/5.872, allocations: 204 kB / 3.535 GB, free: 207.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/5.872, allocations: 0 / 3.535 GB, free: 207.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/5.872, allocations: 395.3 kB / 3.536 GB, free: 206.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003921/5.872, allocations: 306.9 kB / 3.536 GB, free: 206.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/5.873, allocations: 448.8 kB / 3.536 GB, free: 206.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005477/5.878, allocations: 1.348 MB / 3.538 GB, free: 206.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/5.878, allocations: 0 / 3.538 GB, free: 206.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006116/5.885, allocations: 1.82 MB / 3.539 GB, free: 206.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/5.885, allocations: 0.8813 MB / 3.54 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/5.885, allocations: 3.719 kB / 3.54 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/5.885, allocations: 9.562 kB / 3.54 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006723/5.885, allocations: 142.7 kB / 3.54 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/5.885, allocations: 11.66 kB / 3.54 GB, free: 205.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/5.886, allocations: 78.05 kB / 3.54 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/5.886, allocations: 33.44 kB / 3.54 GB, free: 205.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/5.887, allocations: 8.125 kB / 3.54 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005788/5.892, allocations: 1.625 MB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/5.892, allocations: 3.969 kB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/5.892, allocations: 11.16 kB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006466/5.893, allocations: 146.3 kB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/5.893, allocations: 3.375 kB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008423/5.894, allocations: 67.72 kB / 3.542 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/5.894, allocations: 31.14 kB / 3.542 GB, free: 205.6 MB / 0.948 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.0001654/5.894, allocations: 118.8 kB / 3.542 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/5.894, allocations: 82 kB / 3.543 GB, free: 205.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/5.896, allocations: 0.7691 MB / 3.543 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/5.896, allocations: 7.531 kB / 3.543 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/5.896, allocations: 3.906 kB / 3.543 GB, free: 205.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009632/5.897, allocations: 0.7322 MB / 3.544 GB, free: 205.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002961/5.9, allocations: 1.936 MB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/5.9, allocations: 2.375 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/5.9, allocations: 135.2 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/5.9, allocations: 6.75 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.118e-05/5.9, allocations: 11.31 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/5.9, allocations: 9.688 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/5.9, allocations: 10.11 kB / 3.546 GB, free: 204.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001651/5.902, allocations: 1.527 MB / 3.548 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002411/5.905, allocations: 2.431 MB / 3.55 GB, free: 203.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004303/5.905, allocations: 250.8 kB / 3.55 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/5.905, allocations: 14.44 kB / 3.55 GB, free: 203.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/5.906, allocations: 39.7 kB / 3.55 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.278e-05/5.906, allocations: 37.58 kB / 3.55 GB, free: 203.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/5.906, allocations: 27.38 kB / 3.55 GB, free: 203.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004312/5.906, allocations: 437.8 kB / 3.551 GB, free: 203.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00405/5.911, allocations: 1.231 MB / 3.552 GB, free: 203 MB / 0.948 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.002956/5.913, allocations: 1.933 MB / 3.554 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001502/5.915, allocations: 1.122 MB / 3.555 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/5.915, allocations: 3.75 kB / 3.555 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/5.915, allocations: 354.1 kB / 3.555 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/5.917, allocations: 434.3 kB / 3.556 GB, free: 202.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002407/5.92, allocations: 1.497 MB / 3.557 GB, free: 202.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007927/5.92, allocations: 1.188 MB / 3.558 GB, free: 201.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/5.92, allocations: 3.75 kB / 3.558 GB, free: 201.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)