Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.323/2.323, allocations: 390.4 MB / 397.7 MB, free: 1.902 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 179.1 kB / 490.8 MB, free: 7.488 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 221.3 MB / 0.7863 GB, free: 236 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 84.73 kB / 0.9264 GB, free: 0.6367 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 0.7708/0.7719, allocations: 149.1 MB / 1.072 GB, free: 137.4 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/1.244, allocations: 143 MB / 1.212 GB, free: 10.46 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.231/3.475, allocations: 0.6125 GB / 1.824 GB, free: 256.3 MB / 1.128 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/3.476, allocations: 85.2 kB / 1.824 GB, free: 256.2 MB / 1.128 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.3536/3.829, allocations: 170.4 MB / 1.991 GB, free: 92.62 MB / 1.128 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/3.829, allocations: 8 kB / 1.991 GB, free: 92.61 MB / 1.128 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002588/3.832, allocations: 298.7 kB / 1.991 GB, free: 92.32 MB / 1.128 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/3.833, allocations: 0.7062 MB / 1.992 GB, free: 91.57 MB / 1.128 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/3.833, allocations: 12 kB / 1.992 GB, free: 91.55 MB / 1.128 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.139e-05/3.833, allocations: 35.98 kB / 1.992 GB, free: 91.52 MB / 1.128 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005038/3.834, allocations: 293.8 kB / 1.992 GB, free: 91.23 MB / 1.128 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005694/3.834, allocations: 439 kB / 1.992 GB, free: 90.77 MB / 1.128 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.889e-05/3.834, allocations: 11.94 kB / 1.992 GB, free: 90.76 MB / 1.128 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.9e-05/3.834, allocations: 0 / 1.992 GB, free: 90.76 MB / 1.128 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/3.834, allocations: 12 kB / 1.992 GB, free: 90.75 MB / 1.128 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/3.837, allocations: 2.732 MB / 1.995 GB, free: 87.81 MB / 1.128 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002401/3.837, allocations: 193 kB / 1.995 GB, free: 87.61 MB / 1.128 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/3.837, allocations: 138.1 kB / 1.995 GB, free: 87.46 MB / 1.128 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003914/3.838, allocations: 0.6728 MB / 1.996 GB, free: 86.64 MB / 1.128 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/3.838, allocations: 30.8 kB / 1.996 GB, free: 86.61 MB / 1.128 GB Notification: Performance of pre-optimization done (n=28): time 1.663e-06/3.838, allocations: 0 / 1.996 GB, free: 86.61 MB / 1.128 GB Notification: Performance of matching and sorting (n=40): time 0.004874/3.842, allocations: 1.66 MB / 1.998 GB, free: 84.89 MB / 1.128 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.738e-05/3.843, allocations: 89.02 kB / 1.998 GB, free: 84.78 MB / 1.128 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/3.843, allocations: 406.3 kB / 1.998 GB, free: 84.38 MB / 1.128 GB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/3.843, allocations: 25.7 kB / 1.998 GB, free: 84.35 MB / 1.128 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/3.843, allocations: 256.3 kB / 1.998 GB, free: 84.09 MB / 1.128 GB Notification: Performance of collectInitialBindings (initialization): time 8.899e-05/3.843, allocations: 138 kB / 1.999 GB, free: 83.95 MB / 1.128 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/3.843, allocations: 0 / 1.999 GB, free: 83.95 MB / 1.128 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/3.843, allocations: 362.8 kB / 1.999 GB, free: 83.59 MB / 1.128 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/3.844, allocations: 148.9 kB / 1.999 GB, free: 83.45 MB / 1.128 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/3.844, allocations: 266.5 kB / 1.999 GB, free: 83.13 MB / 1.128 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/3.844, allocations: 200.5 kB / 2 GB, free: 82.93 MB / 1.128 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/3.844, allocations: 0 / 2 GB, free: 82.93 MB / 1.128 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001574/3.846, allocations: 0.6774 MB / 2 GB, free: 82.24 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 0.000393/3.846, allocations: 1.223 MB / 2.001 GB, free: 80.93 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/3.846, allocations: 4 kB / 2.001 GB, free: 80.92 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009775/3.847, allocations: 257.5 kB / 2.002 GB, free: 80.66 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/3.848, allocations: 71.84 kB / 2.002 GB, free: 80.59 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004737/3.852, allocations: 3.847 MB / 2.005 GB, free: 76.52 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/3.854, allocations: 76.06 kB / 2.006 GB, free: 76.45 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/3.854, allocations: 20 kB / 2.006 GB, free: 76.43 MB / 1.128 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/3.854, allocations: 7.938 kB / 2.006 GB, free: 76.42 MB / 1.128 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00143/3.855, allocations: 0.5792 MB / 2.006 GB, free: 75.83 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/3.855, allocations: 7.984 kB / 2.006 GB, free: 75.82 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008209/3.856, allocations: 253.8 kB / 2.006 GB, free: 75.57 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/3.856, allocations: 75.83 kB / 2.006 GB, free: 75.5 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/3.861, allocations: 3.855 MB / 2.01 GB, free: 71.41 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/3.862, allocations: 71.83 kB / 2.01 GB, free: 71.34 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/3.862, allocations: 27.92 kB / 2.01 GB, free: 71.31 MB / 1.128 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.000262/3.862, allocations: 125.1 kB / 2.01 GB, free: 71.18 MB / 1.128 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/3.862, allocations: 63.25 kB / 2.01 GB, free: 71.12 MB / 1.128 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/3.864, allocations: 0.6099 MB / 2.011 GB, free: 70.49 MB / 1.128 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/3.864, allocations: 8.125 kB / 2.011 GB, free: 70.48 MB / 1.128 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/3.864, allocations: 4 kB / 2.011 GB, free: 70.48 MB / 1.128 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001324/3.866, allocations: 0.6979 MB / 2.012 GB, free: 69.73 MB / 1.128 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002798/3.868, allocations: 1.571 MB / 2.013 GB, free: 68.1 MB / 1.128 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/3.868, allocations: 4 kB / 2.013 GB, free: 68.09 MB / 1.128 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/3.869, allocations: 55.91 kB / 2.013 GB, free: 68.04 MB / 1.128 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009029/3.87, allocations: 233.5 kB / 2.014 GB, free: 67.8 MB / 1.128 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/3.87, allocations: 11.98 kB / 2.014 GB, free: 67.79 MB / 1.128 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/3.874, allocations: 3.633 MB / 2.017 GB, free: 63.93 MB / 1.128 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/3.874, allocations: 0 / 2.017 GB, free: 63.93 MB / 1.128 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001812/3.876, allocations: 0.8857 MB / 2.018 GB, free: 63.01 MB / 1.128 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002124/3.878, allocations: 1.503 MB / 2.019 GB, free: 61.47 MB / 1.128 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/3.878, allocations: 188.4 kB / 2.02 GB, free: 61.27 MB / 1.128 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/3.878, allocations: 7.906 kB / 2.02 GB, free: 61.26 MB / 1.128 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/3.879, allocations: 63.97 kB / 2.02 GB, free: 61.2 MB / 1.128 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/3.88, allocations: 23.97 kB / 2.02 GB, free: 61.18 MB / 1.128 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/3.88, allocations: 15.98 kB / 2.02 GB, free: 61.16 MB / 1.128 GB Notification: Performance of sort global known variables: time 0.0004038/3.88, allocations: 314.9 kB / 2.02 GB, free: 60.86 MB / 1.128 GB Notification: Performance of remove unused functions: time 0.003103/3.883, allocations: 495.8 kB / 2.021 GB, free: 60.37 MB / 1.128 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.0007156/3.884, allocations: 322.7 kB / 2.021 GB, free: 60.05 MB / 1.128 GB Notification: Performance of simCode: created initialization part: time 0.002521/3.886, allocations: 1.175 MB / 2.022 GB, free: 58.84 MB / 1.128 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/3.886, allocations: 0 / 2.022 GB, free: 58.84 MB / 1.128 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/3.887, allocations: 492 kB / 2.022 GB, free: 58.34 MB / 1.128 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/3.889, allocations: 310 kB / 2.023 GB, free: 58.04 MB / 1.128 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00184/3.891, allocations: 0.934 MB / 2.024 GB, free: 57.08 MB / 1.128 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/3.891, allocations: 0.9809 MB / 2.025 GB, free: 56.07 MB / 1.128 GB Notification: Performance of SimCode: time 7.32e-07/3.891, allocations: 0 / 2.025 GB, free: 56.07 MB / 1.128 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)