Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.145/2.145, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 178.2 kB / 490.8 MB, free: 11.26 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.596/1.596, allocations: 221.4 MB / 0.7863 GB, free: 13.64 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 99.45 kB / 0.9264 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3649/0.366, allocations: 149.1 MB / 1.072 GB, free: 15.51 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.391, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.344/2.735, allocations: 0.5209 GB / 1.733 GB, free: 104.4 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/2.735, allocations: 86.7 kB / 1.733 GB, free: 104.4 MB / 1.026 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 1.948/4.683, allocations: 0.5475 GB / 2.28 GB, free: 141.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/4.683, allocations: 16 kB / 2.28 GB, free: 141.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/4.685, allocations: 135 kB / 2.28 GB, free: 141.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/4.695, allocations: 4.316 MB / 2.285 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/4.695, allocations: 20 kB / 2.285 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/4.695, allocations: 27.91 kB / 2.285 GB, free: 137 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006729/4.696, allocations: 293.9 kB / 2.285 GB, free: 136.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/4.697, allocations: 446.1 kB / 2.285 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/4.697, allocations: 8 kB / 2.285 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/4.697, allocations: 0 / 2.285 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/4.697, allocations: 12 kB / 2.285 GB, free: 136.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/4.7, allocations: 2.211 MB / 2.287 GB, free: 133.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/4.7, allocations: 181.7 kB / 2.288 GB, free: 133.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/4.7, allocations: 128.8 kB / 2.288 GB, free: 133.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/4.701, allocations: 2.294 MB / 2.29 GB, free: 130.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/4.702, allocations: 34.56 kB / 2.29 GB, free: 130.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/4.702, allocations: 0 / 2.29 GB, free: 130.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.006256/4.708, allocations: 1.763 MB / 2.292 GB, free: 128.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/4.708, allocations: 55.41 kB / 2.292 GB, free: 128.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/4.708, allocations: 422.2 kB / 2.292 GB, free: 128.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.348e-05/4.709, allocations: 25.7 kB / 2.292 GB, free: 128.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/4.709, allocations: 244.4 kB / 2.292 GB, free: 128.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/4.709, allocations: 149.7 kB / 2.293 GB, free: 128 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/4.709, allocations: 4 kB / 2.293 GB, free: 128 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001117/4.709, allocations: 366.8 kB / 2.293 GB, free: 127.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/4.709, allocations: 136.9 kB / 2.293 GB, free: 127.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/4.709, allocations: 258.1 kB / 2.293 GB, free: 127.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009931/4.71, allocations: 249.8 kB / 2.294 GB, free: 126.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/4.71, allocations: 0 / 2.294 GB, free: 126.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00197/4.712, allocations: 0.6542 MB / 2.294 GB, free: 126.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003874/4.713, allocations: 1.133 MB / 2.295 GB, free: 125.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/4.713, allocations: 4 kB / 2.295 GB, free: 125 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/4.714, allocations: 181.5 kB / 2.295 GB, free: 124.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002881/4.714, allocations: 75.91 kB / 2.296 GB, free: 124.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/4.715, allocations: 1.417 MB / 2.297 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/4.716, allocations: 28.02 kB / 2.297 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/4.716, allocations: 36 kB / 2.297 GB, free: 123.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/4.716, allocations: 4 kB / 2.297 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00157/4.718, allocations: 0.5552 MB / 2.298 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/4.718, allocations: 4 kB / 2.298 GB, free: 122.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000463/4.718, allocations: 173.9 kB / 2.298 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/4.718, allocations: 83.84 kB / 2.298 GB, free: 122.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/4.719, allocations: 1.413 MB / 2.299 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005083/4.72, allocations: 27.83 kB / 2.299 GB, free: 120.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/4.72, allocations: 39.98 kB / 2.299 GB, free: 120.9 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: 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.0002381/4.72, allocations: 133 kB / 2.299 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/4.721, allocations: 79.22 kB / 2.299 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/4.723, allocations: 0.9106 MB / 2.3 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.353e-05/4.723, allocations: 8 kB / 2.3 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/4.723, allocations: 0 / 2.3 GB, free: 119.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001616/4.725, allocations: 0.784 MB / 2.301 GB, free: 118.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003262/4.728, allocations: 1.485 MB / 2.303 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/4.728, allocations: 4 kB / 2.303 GB, free: 117.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/4.728, allocations: 51.88 kB / 2.303 GB, free: 117.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/4.729, allocations: 177.5 kB / 2.303 GB, free: 117.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.132e-05/4.729, allocations: 8 kB / 2.303 GB, free: 117.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/4.73, allocations: 1.401 MB / 2.304 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/4.73, allocations: 0 / 2.304 GB, free: 115.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00223/4.732, allocations: 1.053 MB / 2.305 GB, free: 114.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00258/4.735, allocations: 1.757 MB / 2.307 GB, free: 112.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/4.735, allocations: 208.2 kB / 2.307 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/4.736, allocations: 7.906 kB / 2.307 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/4.736, allocations: 23.98 kB / 2.307 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/4.736, allocations: 31.89 kB / 2.307 GB, free: 112.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.654e-05/4.736, allocations: 27.98 kB / 2.307 GB, free: 112.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0004545/4.737, allocations: 326.8 kB / 2.307 GB, free: 112.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003806/4.741, allocations: 0.6948 MB / 2.308 GB, free: 111.5 MB / 1.151 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 (32): * Single equations (assignments): 27 * Array equations: 2 * 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.002225/4.743, allocations: 0.6377 MB / 2.309 GB, free: 110.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001765/4.745, allocations: 0.7312 MB / 2.31 GB, free: 110.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/4.745, allocations: 0 / 2.31 GB, free: 110.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005967/4.745, allocations: 292.8 kB / 2.31 GB, free: 109.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001914/4.747, allocations: 284.4 kB / 2.31 GB, free: 109.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/4.75, allocations: 0.9714 MB / 2.311 GB, free: 108.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/4.751, allocations: 1.048 MB / 2.312 GB, free: 107.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/4.751, allocations: 4 kB / 2.312 GB, free: 107.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)