Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7348/0.7348, allocations: 141.8 MB / 149.1 MB, free: 12.49 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 187.2 kB / 182 MB, free: 9.234 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.28/1.28, allocations: 221.3 MB / 436 MB, free: 1.676 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.000919, allocations: 106.1 kB / 0.507 GB, free: 17.68 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001795/0.001795, allocations: 286.1 kB / 0.5885 GB, free: 3.246 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3622/0.364, allocations: 89.62 MB / 0.676 GB, free: 136 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.5141, allocations: 82.79 MB / 0.7568 GB, free: 82.02 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.072/1.586, allocations: 0.5733 GB / 1.33 GB, free: 97.88 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/1.586, allocations: 87.69 kB / 1.33 GB, free: 97.83 MB / 0.7138 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.6299/2.216, allocations: 164.9 MB / 1.491 GB, free: 222.7 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/2.216, allocations: 11.03 kB / 1.491 GB, free: 222.7 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002733/2.219, allocations: 298.8 kB / 1.492 GB, free: 222.7 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/2.221, allocations: 0.6846 MB / 1.492 GB, free: 222.4 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/2.221, allocations: 14.69 kB / 1.492 GB, free: 222.4 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/2.221, allocations: 30.02 kB / 1.492 GB, free: 222.4 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005495/2.221, allocations: 292.5 kB / 1.493 GB, free: 222.4 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006349/2.222, allocations: 447.2 kB / 1.493 GB, free: 222.3 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/2.222, allocations: 3.938 kB / 1.493 GB, free: 222.3 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/2.222, allocations: 0 / 1.493 GB, free: 222.3 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/2.222, allocations: 14.06 kB / 1.493 GB, free: 222.3 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/2.225, allocations: 2.728 MB / 1.496 GB, free: 220.4 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/2.225, allocations: 196.6 kB / 1.496 GB, free: 220.3 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/2.226, allocations: 136.4 kB / 1.496 GB, free: 220.2 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/2.226, allocations: 0.6588 MB / 1.497 GB, free: 219.4 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/2.226, allocations: 42.67 kB / 1.497 GB, free: 219.4 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/2.226, allocations: 0 / 1.497 GB, free: 219.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=40): time 0.005661/2.232, allocations: 1.645 MB / 1.498 GB, free: 218.6 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/2.232, allocations: 82.98 kB / 1.498 GB, free: 218.5 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005847/2.232, allocations: 408.5 kB / 1.499 GB, free: 218.3 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 3.966e-05/2.233, allocations: 26.23 kB / 1.499 GB, free: 218.3 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/2.233, allocations: 251.1 kB / 1.499 GB, free: 218.1 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.233, allocations: 129 kB / 1.499 GB, free: 218 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/2.233, allocations: 0 / 1.499 GB, free: 218 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.919e-05/2.233, allocations: 371.2 kB / 1.499 GB, free: 217.6 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/2.233, allocations: 143.5 kB / 1.5 GB, free: 217.6 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/2.233, allocations: 270.9 kB / 1.5 GB, free: 217.4 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004256/2.234, allocations: 201.1 kB / 1.5 GB, free: 217.3 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/2.234, allocations: 1.438 kB / 1.5 GB, free: 217.3 MB / 0.7138 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001665/2.236, allocations: 0.6647 MB / 1.501 GB, free: 217 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002417/2.236, allocations: 1.227 MB / 1.502 GB, free: 215.7 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/2.236, allocations: 1.938 kB / 1.502 GB, free: 215.7 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009937/2.237, allocations: 257.4 kB / 1.502 GB, free: 215.7 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/2.237, allocations: 77.88 kB / 1.502 GB, free: 215.7 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005948/2.243, allocations: 3.851 MB / 1.506 GB, free: 212.5 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/2.245, allocations: 74.64 kB / 1.506 GB, free: 212.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.09e-05/2.245, allocations: 27.23 kB / 1.506 GB, free: 212.5 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/2.245, allocations: 6.719 kB / 1.506 GB, free: 212.5 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001772/2.246, allocations: 0.581 MB / 1.507 GB, free: 212.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.246, allocations: 2.469 kB / 1.507 GB, free: 212.3 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009231/2.247, allocations: 269.5 kB / 1.507 GB, free: 212.2 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/2.248, allocations: 67.3 kB / 1.507 GB, free: 212.2 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005007/2.253, allocations: 3.853 MB / 1.511 GB, free: 209.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/2.254, allocations: 71.95 kB / 1.511 GB, free: 209.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/2.254, allocations: 21.67 kB / 1.511 GB, free: 209.1 MB / 0.7138 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.0002899/2.254, allocations: 137.4 kB / 1.511 GB, free: 208.9 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/2.255, allocations: 58.97 kB / 1.511 GB, free: 208.9 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/2.257, allocations: 0.6121 MB / 1.512 GB, free: 208.7 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/2.257, allocations: 4.156 kB / 1.512 GB, free: 208.7 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/2.257, allocations: 1.312 kB / 1.512 GB, free: 208.7 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001562/2.258, allocations: 0.6996 MB / 1.512 GB, free: 208.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003703/2.262, allocations: 1.567 MB / 1.514 GB, free: 207.4 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/2.262, allocations: 0 / 1.514 GB, free: 207.4 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/2.262, allocations: 52.11 kB / 1.514 GB, free: 207.4 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009585/2.263, allocations: 241.7 kB / 1.514 GB, free: 207.4 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.765e-05/2.263, allocations: 10.69 kB / 1.514 GB, free: 207.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/2.268, allocations: 3.634 MB / 1.518 GB, free: 204.4 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.268, allocations: 0 / 1.518 GB, free: 204.4 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001926/2.27, allocations: 0.8967 MB / 1.519 GB, free: 203.9 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002374/2.272, allocations: 1.499 MB / 1.52 GB, free: 203 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/2.273, allocations: 184.2 kB / 1.52 GB, free: 202.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001927/2.273, allocations: 7.031 kB / 1.52 GB, free: 202.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/2.274, allocations: 70.67 kB / 1.52 GB, free: 202.8 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/2.274, allocations: 21.34 kB / 1.52 GB, free: 202.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/2.274, allocations: 14.98 kB / 1.52 GB, free: 202.8 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0006132/2.275, allocations: 311 kB / 1.521 GB, free: 202.6 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004026/2.279, allocations: 494.9 kB / 1.521 GB, free: 202.5 MB / 0.7138 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.0008504/2.28, allocations: 321.9 kB / 1.521 GB, free: 202.4 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002848/2.283, allocations: 1.172 MB / 1.523 GB, free: 201.7 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/2.283, allocations: 0.6562 kB / 1.523 GB, free: 201.7 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/2.284, allocations: 478.7 kB / 1.523 GB, free: 201.5 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/2.286, allocations: 311.8 kB / 1.523 GB, free: 201.4 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/2.288, allocations: 0.9276 MB / 1.524 GB, free: 200.9 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/2.289, allocations: 0.9763 MB / 1.525 GB, free: 200.2 MB / 0.7138 GB Notification: Performance of SimCode: time 1.243e-06/2.289, allocations: 0 / 1.525 GB, free: 200.2 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedWaterTemperatureDependentDensity.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedWaterTemperatureDependentDensity.pipe 2>&1)