Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",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 9.1.1-maint.9.1.x/package.mo): time 2.123/2.123, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 189.2 kB / 487 MB, free: 5.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 0.7819 GB, free: 1.457 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009704/0.0009703, allocations: 94.14 kB / 0.9213 GB, free: 2.703 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6081/0.6091, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.8827, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/2.56, allocations: 0.6117 GB / 1.817 GB, free: 387.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/2.56, allocations: 87.95 kB / 1.817 GB, free: 387.4 MB / 1.151 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.3232/2.883, allocations: 170.4 MB / 1.984 GB, free: 215.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/2.883, allocations: 9 kB / 1.984 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/2.886, allocations: 302.7 kB / 1.984 GB, free: 215.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/2.887, allocations: 0.6983 MB / 1.985 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/2.887, allocations: 19.98 kB / 1.985 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.299e-05/2.887, allocations: 31.91 kB / 1.985 GB, free: 214.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000503/2.888, allocations: 293.9 kB / 1.985 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005686/2.888, allocations: 443 kB / 1.985 GB, free: 213.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/2.888, allocations: 4 kB / 1.985 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/2.888, allocations: 0 / 1.985 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/2.888, allocations: 12 kB / 1.985 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/2.891, allocations: 2.721 MB / 1.988 GB, free: 210.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/2.891, allocations: 207.1 kB / 1.988 GB, free: 210.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/2.891, allocations: 138.1 kB / 1.988 GB, free: 210.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/2.891, allocations: 0.6612 MB / 1.989 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/2.891, allocations: 34.8 kB / 1.989 GB, free: 209.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=28): time 1.903e-06/2.891, allocations: 4 kB / 1.989 GB, free: 209.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=40): time 0.004792/2.896, allocations: 1.672 MB / 1.991 GB, free: 208 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/2.896, allocations: 85.05 kB / 1.991 GB, free: 207.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/2.897, allocations: 410.3 kB / 1.991 GB, free: 207.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/2.897, allocations: 25.7 kB / 1.991 GB, free: 207.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.592e-05/2.897, allocations: 260.2 kB / 1.991 GB, free: 207.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.524e-05/2.897, allocations: 134 kB / 1.991 GB, free: 207 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/2.897, allocations: 0 / 1.991 GB, free: 207 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.289e-05/2.897, allocations: 362.8 kB / 1.992 GB, free: 206.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/2.897, allocations: 145 kB / 1.992 GB, free: 206.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000243/2.897, allocations: 262.6 kB / 1.992 GB, free: 206.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/2.898, allocations: 203.6 kB / 1.992 GB, free: 206 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/2.898, allocations: 3.906 kB / 1.992 GB, free: 206 MB / 1.151 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001502/2.899, allocations: 0.6697 MB / 1.993 GB, free: 205.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/2.9, allocations: 1.229 MB / 1.994 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/2.9, allocations: 0 / 1.994 GB, free: 204 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008585/2.901, allocations: 257.5 kB / 1.995 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/2.901, allocations: 71.91 kB / 1.995 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004438/2.905, allocations: 3.85 MB / 1.998 GB, free: 199.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/2.906, allocations: 79.88 kB / 1.998 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/2.907, allocations: 16 kB / 1.998 GB, free: 199.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/2.907, allocations: 10.72 kB / 1.998 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001394/2.908, allocations: 0.5714 MB / 1.999 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/2.908, allocations: 7.984 kB / 1.999 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008159/2.909, allocations: 265.8 kB / 1.999 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/2.909, allocations: 67.89 kB / 1.999 GB, free: 198.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/2.913, allocations: 3.862 MB / 2.003 GB, free: 194.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/2.915, allocations: 71.83 kB / 2.003 GB, free: 194.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/2.915, allocations: 24.3 kB / 2.003 GB, free: 194.4 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/2.915, allocations: 127.7 kB / 2.003 GB, free: 194.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/2.915, allocations: 59.25 kB / 2.003 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001696/2.917, allocations: 0.6174 MB / 2.004 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/2.917, allocations: 4 kB / 2.004 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/2.917, allocations: 128 / 2.004 GB, free: 193.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/2.918, allocations: 0.6985 MB / 2.005 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/2.921, allocations: 1.581 MB / 2.006 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/2.921, allocations: 0 / 2.006 GB, free: 191.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/2.921, allocations: 47.97 kB / 2.006 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008767/2.922, allocations: 241.5 kB / 2.006 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/2.922, allocations: 7.984 kB / 2.006 GB, free: 190.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004001/2.926, allocations: 3.632 MB / 2.01 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.926, allocations: 4.062 kB / 2.01 GB, free: 187 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/2.928, allocations: 0.8859 MB / 2.011 GB, free: 186.1 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001946/2.93, allocations: 1.503 MB / 2.012 GB, free: 184.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/2.93, allocations: 196.2 kB / 2.013 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-05/2.93, allocations: 4 kB / 2.013 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/2.931, allocations: 67.97 kB / 2.013 GB, free: 184.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/2.931, allocations: 19.97 kB / 2.013 GB, free: 184.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.419e-05/2.931, allocations: 23.89 kB / 2.013 GB, free: 184.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003718/2.932, allocations: 310.9 kB / 2.013 GB, free: 183.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002871/2.935, allocations: 491.9 kB / 2.013 GB, free: 183.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.ports[2].h_outflow,vol1.ports[1].h_outflow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005838/2.935, allocations: 326.9 kB / 2.014 GB, free: 183.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002311/2.938, allocations: 1.167 MB / 2.015 GB, free: 181.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/2.938, allocations: 0 / 2.015 GB, free: 181.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/2.939, allocations: 483.5 kB / 2.015 GB, free: 181.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/2.94, allocations: 321 kB / 2.016 GB, free: 181.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/2.942, allocations: 0.9218 MB / 2.017 GB, free: 180.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/2.942, allocations: 0.9809 MB / 2.017 GB, free: 179.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.91e-07/2.942, allocations: 0 / 2.017 GB, free: 179.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)