Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.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.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.386/1.386, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009532/0.0009532, allocations: 175.7 kB / 361.1 MB, free: 7.129 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.149/1.149, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008244/0.0008243, allocations: 105.1 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2154/0.2162, allocations: 121.4 MB / 0.8511 GB, free: 2.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.707, allocations: 115.3 MB / 0.9638 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8558/1.563, allocations: 0.6015 GB / 1.565 GB, free: 2.988 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.563, allocations: 84.02 kB / 1.565 GB, free: 2.949 MB / 0.9011 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.6829/2.246, allocations: 162.1 MB / 1.724 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/2.246, allocations: 9.875 kB / 1.724 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/2.249, allocations: 302.1 kB / 1.724 GB, free: 224.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/2.25, allocations: 0.6815 MB / 1.725 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/2.25, allocations: 16.12 kB / 1.725 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.29e-05/2.25, allocations: 25.12 kB / 1.725 GB, free: 223.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005151/2.251, allocations: 290.8 kB / 1.725 GB, free: 223.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000578/2.251, allocations: 443 kB / 1.725 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/2.251, allocations: 18.45 kB / 1.725 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/2.251, allocations: 0 / 1.725 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/2.251, allocations: 20.78 kB / 1.725 GB, free: 223.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/2.254, allocations: 2.717 MB / 1.728 GB, free: 221 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/2.254, allocations: 194.2 kB / 1.728 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/2.254, allocations: 140.9 kB / 1.728 GB, free: 220.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/2.255, allocations: 0.6552 MB / 1.729 GB, free: 220 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/2.255, allocations: 37.61 kB / 1.729 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/2.255, allocations: 0 / 1.729 GB, free: 219.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=40): time 0.004791/2.259, allocations: 1.666 MB / 1.731 GB, free: 218.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/2.259, allocations: 82.27 kB / 1.731 GB, free: 218.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/2.26, allocations: 404.2 kB / 1.731 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/2.26, allocations: 25.7 kB / 1.731 GB, free: 218.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 8.604e-05/2.26, allocations: 254.1 kB / 1.731 GB, free: 218.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 8.619e-05/2.26, allocations: 135 kB / 1.732 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/2.26, allocations: 0 / 1.732 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.758e-05/2.26, allocations: 362.4 kB / 1.732 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/2.26, allocations: 152.7 kB / 1.732 GB, free: 217.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/2.261, allocations: 265.4 kB / 1.732 GB, free: 217.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000371/2.261, allocations: 199.5 kB / 1.732 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/2.261, allocations: 3 kB / 1.732 GB, free: 217.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00149/2.262, allocations: 0.669 MB / 1.733 GB, free: 217.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/2.263, allocations: 1.214 MB / 1.734 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/2.263, allocations: 6.844 kB / 1.734 GB, free: 215.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008627/2.264, allocations: 269 kB / 1.735 GB, free: 215.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/2.264, allocations: 63.09 kB / 1.735 GB, free: 215.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004593/2.268, allocations: 3.854 MB / 1.738 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/2.27, allocations: 78.25 kB / 1.738 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/2.27, allocations: 14.03 kB / 1.738 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/2.27, allocations: 5.281 kB / 1.738 GB, free: 212.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001455/2.271, allocations: 0.5899 MB / 1.739 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.271, allocations: 2.531 kB / 1.739 GB, free: 211.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008094/2.272, allocations: 263.1 kB / 1.739 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/2.272, allocations: 75.2 kB / 1.739 GB, free: 211.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004127/2.276, allocations: 3.846 MB / 1.743 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/2.278, allocations: 78.94 kB / 1.743 GB, free: 208.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/2.278, allocations: 18.31 kB / 1.743 GB, free: 208.3 MB / 0.9323 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.0001744/2.278, allocations: 127 kB / 1.743 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/2.278, allocations: 56.97 kB / 1.743 GB, free: 208.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/2.28, allocations: 0.6088 MB / 1.744 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/2.28, allocations: 2.938 kB / 1.744 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/2.28, allocations: 6.875 kB / 1.744 GB, free: 207.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/2.281, allocations: 0.6987 MB / 1.745 GB, free: 207.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/2.283, allocations: 1.574 MB / 1.746 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/2.284, allocations: 3.984 kB / 1.746 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/2.284, allocations: 50.12 kB / 1.746 GB, free: 206.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008078/2.285, allocations: 241.8 kB / 1.746 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/2.285, allocations: 7.109 kB / 1.747 GB, free: 206 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/2.288, allocations: 3.641 MB / 1.75 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/2.288, allocations: 2.75 kB / 1.75 GB, free: 202.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001722/2.29, allocations: 0.8883 MB / 1.751 GB, free: 202.2 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002025/2.292, allocations: 1.502 MB / 1.752 GB, free: 201.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/2.293, allocations: 191.9 kB / 1.753 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/2.293, allocations: 6.828 kB / 1.753 GB, free: 201 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/2.294, allocations: 69.41 kB / 1.753 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/2.294, allocations: 24.16 kB / 1.753 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/2.294, allocations: 13.44 kB / 1.753 GB, free: 200.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0004098/2.294, allocations: 313.7 kB / 1.753 GB, free: 200.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002926/2.297, allocations: 496.1 kB / 1.753 GB, free: 200.6 MB / 0.9323 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.0005861/2.298, allocations: 312.2 kB / 1.754 GB, free: 200.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002298/2.3, allocations: 1.166 MB / 1.755 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/2.3, allocations: 0 / 1.755 GB, free: 199.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/2.301, allocations: 486.2 kB / 1.755 GB, free: 199.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/2.303, allocations: 309.4 kB / 1.756 GB, free: 199.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/2.304, allocations: 0.9287 MB / 1.757 GB, free: 198.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004637/2.305, allocations: 0.9763 MB / 1.758 GB, free: 197.9 MB / 0.9323 GB Notification: Performance of SimCode: time 3.11e-07/2.305, allocations: 0 / 1.758 GB, free: 197.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)