Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001308/0.001308, allocations: 185.2 kB / 366.3 MB, free: 2.012 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.658/1.658, allocations: 205.1 MB / 0.6256 GB, free: 7.469 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.0009192/0.0009192, allocations: 89.2 kB / 0.7395 GB, free: 39.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2836/0.2846, allocations: 122.4 MB / 0.8591 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7038/0.9884, allocations: 116.3 MB / 0.9726 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/2.01, allocations: 0.5138 GB / 1.486 GB, free: 32.23 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/2.01, allocations: 88.84 kB / 1.487 GB, free: 32.18 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 2.383/4.393, allocations: 0.5705 GB / 2.057 GB, free: 185.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/4.393, allocations: 11.5 kB / 2.057 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/4.395, allocations: 137.6 kB / 2.057 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0669/4.462, allocations: 30.41 MB / 2.087 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.57e-05/4.462, allocations: 11.38 kB / 2.087 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/4.462, allocations: 27.25 kB / 2.087 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007561/4.463, allocations: 303.3 kB / 2.087 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/4.464, allocations: 451.1 kB / 2.088 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/4.464, allocations: 0 / 2.088 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/4.464, allocations: 5.375 kB / 2.088 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/4.464, allocations: 11.78 kB / 2.088 GB, free: 184.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/4.468, allocations: 2.218 MB / 2.09 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/4.469, allocations: 189.4 kB / 2.09 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003854/4.469, allocations: 122.2 kB / 2.09 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001732/4.471, allocations: 2.008 MB / 2.092 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/4.471, allocations: 44.95 kB / 2.092 GB, free: 180.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 4.168e-06/4.471, allocations: 0 / 2.092 GB, free: 180.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.01064/4.482, allocations: 1.744 MB / 2.094 GB, free: 180.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/4.482, allocations: 55.78 kB / 2.094 GB, free: 180.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/4.483, allocations: 416.4 kB / 2.094 GB, free: 180 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.985e-05/4.483, allocations: 26.77 kB / 2.094 GB, free: 179.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/4.484, allocations: 249.3 kB / 2.094 GB, free: 179.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/4.484, allocations: 147.6 kB / 2.095 GB, free: 179.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/4.484, allocations: 0 / 2.095 GB, free: 179.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001792/4.484, allocations: 363.5 kB / 2.095 GB, free: 179.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003719/4.484, allocations: 136 kB / 2.095 GB, free: 179.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/4.485, allocations: 260.6 kB / 2.095 GB, free: 179.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/4.486, allocations: 254.4 kB / 2.096 GB, free: 179.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/4.486, allocations: 0.5625 kB / 2.096 GB, free: 179.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.003068/4.489, allocations: 0.6534 MB / 2.096 GB, free: 179.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/4.49, allocations: 1.135 MB / 2.097 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/4.49, allocations: 3.938 kB / 2.097 GB, free: 178 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007159/4.491, allocations: 183.3 kB / 2.098 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/4.491, allocations: 74.81 kB / 2.098 GB, free: 177.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/4.493, allocations: 1.415 MB / 2.099 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008466/4.494, allocations: 32.17 kB / 2.099 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/4.494, allocations: 37.95 kB / 2.099 GB, free: 176.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/4.494, allocations: 3.938 kB / 2.099 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002421/4.496, allocations: 0.5559 MB / 2.1 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/4.496, allocations: 0 / 2.1 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/4.497, allocations: 187 kB / 2.1 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/4.497, allocations: 75.5 kB / 2.1 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/4.499, allocations: 1.413 MB / 2.101 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008482/4.5, allocations: 26.5 kB / 2.101 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.969e-05/4.5, allocations: 38.33 kB / 2.101 GB, free: 175.8 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.0003272/4.5, allocations: 139.7 kB / 2.101 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005838/4.501, allocations: 74.08 kB / 2.101 GB, free: 175.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004095/4.505, allocations: 0.9583 MB / 2.102 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/4.505, allocations: 11.19 kB / 2.102 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/4.505, allocations: 0 / 2.102 GB, free: 175.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002567/4.508, allocations: 0.8218 MB / 2.103 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004849/4.512, allocations: 1.567 MB / 2.105 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/4.512, allocations: 3.328 kB / 2.105 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/4.513, allocations: 50.69 kB / 2.105 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006619/4.513, allocations: 167.7 kB / 2.105 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.108e-05/4.513, allocations: 14.33 kB / 2.105 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/4.515, allocations: 1.414 MB / 2.106 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/4.515, allocations: 3.906 kB / 2.106 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003771/4.519, allocations: 1.12 MB / 2.107 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004537/4.523, allocations: 1.884 MB / 2.109 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007278/4.524, allocations: 223.3 kB / 2.11 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/4.525, allocations: 0 / 2.11 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008221/4.525, allocations: 27.44 kB / 2.11 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/4.525, allocations: 33.84 kB / 2.11 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.843e-05/4.526, allocations: 29.75 kB / 2.11 GB, free: 172.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000691/4.526, allocations: 320.9 kB / 2.11 GB, free: 172.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006571/4.533, allocations: 0.9079 MB / 2.111 GB, free: 172.7 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.004189/4.537, allocations: 0.826 MB / 2.112 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002404/4.54, allocations: 0.7427 MB / 2.112 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/4.54, allocations: 0 / 2.112 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/4.54, allocations: 299.2 kB / 2.113 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/4.543, allocations: 286.4 kB / 2.113 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003535/4.546, allocations: 1.015 MB / 2.114 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/4.548, allocations: 1.064 MB / 2.115 GB, free: 171.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.544e-06/4.548, allocations: 3.906 kB / 2.115 GB, free: 171.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)