Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.386/1.386, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.000952/0.0009519, allocations: 191.5 kB / 361.1 MB, free: 7.113 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.107/1.107, 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.0008445/0.0008446, allocations: 102.8 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2214/0.2223, allocations: 121.4 MB / 0.8511 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.535/0.7574, allocations: 115.3 MB / 0.9638 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/1.551, allocations: 0.5129 GB / 1.477 GB, free: 39.06 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/1.551, allocations: 91.39 kB / 1.477 GB, free: 39.01 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 1.903/3.454, allocations: 0.5705 GB / 2.047 GB, free: 188.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/3.454, allocations: 11.19 kB / 2.047 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/3.455, allocations: 138 kB / 2.047 GB, free: 188.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05898/3.514, allocations: 30.39 MB / 2.077 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/3.514, allocations: 20.59 kB / 2.077 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/3.514, allocations: 31.22 kB / 2.077 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005772/3.515, allocations: 297.5 kB / 2.077 GB, free: 187.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006501/3.515, allocations: 449.7 kB / 2.078 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/3.515, allocations: 3.375 kB / 2.078 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/3.515, allocations: 3.781 kB / 2.078 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/3.515, allocations: 10.69 kB / 2.078 GB, free: 187.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002713/3.518, allocations: 2.222 MB / 2.08 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/3.518, allocations: 190 kB / 2.08 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/3.519, allocations: 133 kB / 2.08 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/3.52, allocations: 2.003 MB / 2.082 GB, free: 184.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/3.52, allocations: 38.22 kB / 2.082 GB, free: 184 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.968e-06/3.52, allocations: 4.469 kB / 2.082 GB, free: 184 MB / 0.948 GB Notification: Performance of matching and sorting (n=43): time 0.005646/3.525, allocations: 1.742 MB / 2.084 GB, free: 183.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/3.525, allocations: 61.83 kB / 2.084 GB, free: 183.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/3.526, allocations: 410.1 kB / 2.084 GB, free: 183.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/3.526, allocations: 29.61 kB / 2.084 GB, free: 183.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/3.526, allocations: 246.7 kB / 2.085 GB, free: 183.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/3.526, allocations: 146 kB / 2.085 GB, free: 183 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.005e-05/3.526, allocations: 0 / 2.085 GB, free: 183 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/3.526, allocations: 364.2 kB / 2.085 GB, free: 182.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/3.527, allocations: 136.2 kB / 2.085 GB, free: 182.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/3.527, allocations: 259.2 kB / 2.086 GB, free: 182.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000911/3.528, allocations: 248.3 kB / 2.086 GB, free: 182.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/3.528, allocations: 3.938 kB / 2.086 GB, free: 182.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001704/3.529, allocations: 0.6562 MB / 2.086 GB, free: 182.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/3.53, allocations: 1.137 MB / 2.088 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/3.53, allocations: 6.969 kB / 2.088 GB, free: 181.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/3.53, allocations: 179.9 kB / 2.088 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/3.53, allocations: 83.2 kB / 2.088 GB, free: 181.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/3.532, allocations: 1.406 MB / 2.089 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/3.532, allocations: 33.23 kB / 2.089 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/3.532, allocations: 45.75 kB / 2.089 GB, free: 180.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.123e-06/3.532, allocations: 3.906 kB / 2.089 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001397/3.534, allocations: 0.5502 MB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/3.534, allocations: 3.531 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004143/3.534, allocations: 178.1 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002201/3.534, allocations: 77.14 kB / 2.09 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/3.535, allocations: 1.415 MB / 2.091 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/3.536, allocations: 22.39 kB / 2.091 GB, free: 179.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.985e-05/3.536, allocations: 43.31 kB / 2.091 GB, free: 179.1 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.000184/3.536, allocations: 116.5 kB / 2.092 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/3.536, allocations: 78.47 kB / 2.092 GB, free: 178.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/3.539, allocations: 0.9666 MB / 2.093 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/3.539, allocations: 9.125 kB / 2.093 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/3.539, allocations: 0.5 kB / 2.093 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/3.541, allocations: 0.8227 MB / 2.093 GB, free: 178.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/3.545, allocations: 1.578 MB / 2.095 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/3.545, allocations: 0.5 kB / 2.095 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/3.545, allocations: 49.8 kB / 2.095 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005303/3.546, allocations: 171.3 kB / 2.095 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/3.546, allocations: 14.33 kB / 2.095 GB, free: 178.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/3.547, allocations: 1.404 MB / 2.097 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/3.547, allocations: 0.9375 kB / 2.097 GB, free: 177.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002165/3.549, allocations: 1.122 MB / 2.098 GB, free: 176.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002785/3.552, allocations: 1.896 MB / 2.099 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/3.552, allocations: 219.7 kB / 2.1 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/3.552, allocations: 3.469 kB / 2.1 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004082/3.553, allocations: 22.42 kB / 2.1 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/3.553, allocations: 33.58 kB / 2.1 GB, free: 176.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/3.553, allocations: 34.94 kB / 2.1 GB, free: 176.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003413/3.553, allocations: 317.4 kB / 2.1 GB, free: 176.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003835/3.557, allocations: 0.8979 MB / 2.101 GB, free: 176 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.002529/3.56, allocations: 0.8338 MB / 2.102 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00126/3.561, allocations: 0.7493 MB / 2.102 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/3.561, allocations: 3.906 kB / 2.102 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005175/3.561, allocations: 305.2 kB / 2.103 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/3.563, allocations: 283.6 kB / 2.103 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/3.565, allocations: 1.011 MB / 2.104 GB, free: 175.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007205/3.565, allocations: 1.053 MB / 2.105 GB, free: 174.7 MB / 0.948 GB Notification: Performance of SimCode: time 3.11e-07/3.565, allocations: 0 / 2.105 GB, free: 174.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)