Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.0/package.mo): time 2.649/2.649, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.002865/0.002865, allocations: 177.3 kB / 360.3 MB, free: 7.535 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.892/1.892, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001233/0.001232, allocations: 86.53 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2834/0.2846, allocations: 121.4 MB / 0.8502 GB, free: 3.914 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7083/0.993, allocations: 115.2 MB / 0.9627 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/2.19, allocations: 0.5127 GB / 1.475 GB, free: 40.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/2.191, allocations: 90.66 kB / 1.476 GB, free: 40.71 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 3.212/5.402, allocations: 0.5705 GB / 2.046 GB, free: 242.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/5.402, allocations: 9.562 kB / 2.046 GB, free: 242.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/5.404, allocations: 140.7 kB / 2.046 GB, free: 242.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09951/5.503, allocations: 30.41 MB / 2.076 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/5.503, allocations: 11.72 kB / 2.076 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/5.504, allocations: 30.81 kB / 2.076 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009105/5.504, allocations: 296 kB / 2.076 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/5.506, allocations: 450.9 kB / 2.077 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/5.506, allocations: 1.5 kB / 2.077 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.132e-05/5.506, allocations: 3.375 kB / 2.077 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/5.506, allocations: 11.69 kB / 2.077 GB, free: 241.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003974/5.51, allocations: 2.214 MB / 2.079 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/5.51, allocations: 189.5 kB / 2.079 GB, free: 240.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002844/5.51, allocations: 130.5 kB / 2.079 GB, free: 240.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/5.512, allocations: 2.006 MB / 2.081 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/5.512, allocations: 37.92 kB / 2.081 GB, free: 238.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.386e-06/5.512, allocations: 5.594 kB / 2.081 GB, free: 238.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.01513/5.527, allocations: 1.746 MB / 2.083 GB, free: 237.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/5.527, allocations: 55.22 kB / 2.083 GB, free: 237.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/5.529, allocations: 411.6 kB / 2.083 GB, free: 237.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000174/5.529, allocations: 31.67 kB / 2.083 GB, free: 237.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/5.529, allocations: 240.8 kB / 2.083 GB, free: 237.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/5.529, allocations: 156.9 kB / 2.084 GB, free: 237 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/5.529, allocations: 0 / 2.084 GB, free: 237 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001686/5.53, allocations: 364.4 kB / 2.084 GB, free: 236.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/5.53, allocations: 138.8 kB / 2.084 GB, free: 236.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/5.531, allocations: 259.4 kB / 2.084 GB, free: 236.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/5.532, allocations: 248.2 kB / 2.085 GB, free: 236.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/5.532, allocations: 0.6562 kB / 2.085 GB, free: 236.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003191/5.536, allocations: 0.6514 MB / 2.085 GB, free: 236.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002972/5.536, allocations: 1.139 MB / 2.086 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/5.536, allocations: 3.281 kB / 2.086 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008645/5.537, allocations: 186.2 kB / 2.087 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/5.537, allocations: 80.7 kB / 2.087 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/5.539, allocations: 1.406 MB / 2.088 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009023/5.54, allocations: 29.31 kB / 2.088 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/5.541, allocations: 44.47 kB / 2.088 GB, free: 234.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/5.541, allocations: 9.312 kB / 2.088 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002643/5.543, allocations: 0.5395 MB / 2.089 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/5.543, allocations: 1.25 kB / 2.089 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/5.544, allocations: 185.7 kB / 2.089 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/5.545, allocations: 68.98 kB / 2.089 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/5.547, allocations: 1.425 MB / 2.09 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/5.548, allocations: 32.08 kB / 2.09 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/5.548, allocations: 42.23 kB / 2.09 GB, free: 233.2 MB / 0.948 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: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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.0003283/5.548, allocations: 124 kB / 2.09 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005453/5.549, allocations: 78.03 kB / 2.09 GB, free: 233 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005155/5.554, allocations: 0.9579 MB / 2.091 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.468e-05/5.554, allocations: 10.78 kB / 2.091 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/5.554, allocations: 1.938 kB / 2.091 GB, free: 232.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002923/5.557, allocations: 0.8193 MB / 2.092 GB, free: 232.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/5.563, allocations: 1.572 MB / 2.094 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/5.563, allocations: 1.281 kB / 2.094 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/5.563, allocations: 46.19 kB / 2.094 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/5.564, allocations: 175 kB / 2.094 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.81e-05/5.564, allocations: 13.41 kB / 2.094 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00214/5.566, allocations: 1.407 MB / 2.095 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/5.566, allocations: 7.609 kB / 2.095 GB, free: 231.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00429/5.571, allocations: 1.122 MB / 2.096 GB, free: 231.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005479/5.576, allocations: 1.886 MB / 2.098 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007122/5.577, allocations: 222.8 kB / 2.099 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/5.577, allocations: 1.062 kB / 2.099 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000788/5.578, allocations: 28.91 kB / 2.099 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.759e-05/5.578, allocations: 28.75 kB / 2.099 GB, free: 230.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/5.578, allocations: 31 kB / 2.099 GB, free: 230.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006486/5.579, allocations: 319.7 kB / 2.099 GB, free: 230.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007913/5.587, allocations: 0.912 MB / 2.1 GB, free: 230.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 27 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 1 * 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 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003949/5.591, allocations: 0.8113 MB / 2.101 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002749/5.594, allocations: 0.7463 MB / 2.101 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/5.594, allocations: 0 / 2.101 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/5.595, allocations: 307.6 kB / 2.102 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/5.598, allocations: 292.6 kB / 2.102 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/5.602, allocations: 1.003 MB / 2.103 GB, free: 229.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/5.603, allocations: 1.057 MB / 2.104 GB, free: 228.9 MB / 0.948 GB Notification: Performance of SimCode: time 2.325e-06/5.603, allocations: 1 kB / 2.104 GB, free: 228.9 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)