Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",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 9.1.1-maint.9.1.x/package.mo): time 2.062/2.062, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 188.2 kB / 487 MB, free: 5.367 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.436/1.436, allocations: 221.3 MB / 0.7819 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009448/0.0009448, allocations: 94.75 kB / 0.9213 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6069/0.6079, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.8658, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.589/10.45, allocations: 4.67 GB / 5.876 GB, free: 328.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/10.45, allocations: 82.53 kB / 5.876 GB, free: 328.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 1.745/12.2, allocations: 0.503 GB / 6.379 GB, free: 258.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/12.2, allocations: 8.5 kB / 6.379 GB, free: 258.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003842/12.2, allocations: 346.4 kB / 6.379 GB, free: 257.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003503/12.21, allocations: 0.9058 MB / 6.38 GB, free: 257 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/12.21, allocations: 20 kB / 6.38 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000257/12.21, allocations: 43.89 kB / 6.38 GB, free: 256.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/12.21, allocations: 0.5297 MB / 6.38 GB, free: 256.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001566/12.21, allocations: 0.531 MB / 6.381 GB, free: 255.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/12.21, allocations: 0 / 6.381 GB, free: 255.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/12.21, allocations: 3.984 kB / 6.381 GB, free: 255.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/12.21, allocations: 29.25 kB / 6.381 GB, free: 255.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/12.22, allocations: 2.801 MB / 6.384 GB, free: 252.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/12.22, allocations: 431.3 kB / 6.384 GB, free: 252.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004605/12.22, allocations: 234.9 kB / 6.384 GB, free: 252.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/12.22, allocations: 113.7 kB / 6.384 GB, free: 252 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/12.22, allocations: 42.56 kB / 6.384 GB, free: 252 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 4.839e-06/12.22, allocations: 0 / 6.384 GB, free: 252 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.01291/12.23, allocations: 2.504 MB / 6.387 GB, free: 249.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/12.23, allocations: 59.89 kB / 6.387 GB, free: 249.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/12.23, allocations: 466.5 kB / 6.387 GB, free: 248.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/12.23, allocations: 33.7 kB / 6.387 GB, free: 248.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/12.23, allocations: 272.2 kB / 6.388 GB, free: 248.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/12.23, allocations: 208.9 kB / 6.388 GB, free: 248.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/12.23, allocations: 0 / 6.388 GB, free: 248.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001441/12.23, allocations: 374.8 kB / 6.388 GB, free: 248 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005428/12.23, allocations: 257.2 kB / 6.388 GB, free: 247.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/12.24, allocations: 350.4 kB / 6.389 GB, free: 247.4 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008645/12.24, allocations: 1.397 MB / 6.39 GB, free: 246 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/12.24, allocations: 0 / 6.39 GB, free: 246 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004001/12.25, allocations: 1.022 MB / 6.391 GB, free: 244.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001695/12.25, allocations: 0.6111 MB / 6.392 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/12.25, allocations: 8 kB / 6.392 GB, free: 244.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002593/12.25, allocations: 426.8 kB / 6.392 GB, free: 243.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/12.25, allocations: 91.83 kB / 6.392 GB, free: 243.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009498/12.26, allocations: 4.401 MB / 6.397 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/12.26, allocations: 47.81 kB / 6.397 GB, free: 239.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/12.26, allocations: 23.98 kB / 6.397 GB, free: 239.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/12.26, allocations: 9.5 kB / 6.397 GB, free: 239.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003756/12.27, allocations: 0.9178 MB / 6.398 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/12.27, allocations: 192 / 6.398 GB, free: 238.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/12.27, allocations: 425 kB / 6.398 GB, free: 237.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/12.27, allocations: 83.84 kB / 6.398 GB, free: 237.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006524/12.28, allocations: 3.794 MB / 6.402 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/12.28, allocations: 47.8 kB / 6.402 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/12.28, allocations: 20 kB / 6.402 GB, free: 233.8 MB / 1.151 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.000335/12.28, allocations: 126 kB / 6.402 GB, free: 233.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/12.28, allocations: 79.05 kB / 6.402 GB, free: 233.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/12.28, allocations: 1.011 MB / 6.403 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/12.28, allocations: 8 kB / 6.403 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/12.28, allocations: 0 / 6.403 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002256/12.28, allocations: 1.221 MB / 6.404 GB, free: 231.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004489/12.29, allocations: 2.183 MB / 6.406 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/12.29, allocations: 4.094 kB / 6.406 GB, free: 229 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/12.29, allocations: 74.86 kB / 6.406 GB, free: 228.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/12.29, allocations: 448.3 kB / 6.407 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/12.29, allocations: 19.92 kB / 6.407 GB, free: 228.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005823/12.3, allocations: 4.308 MB / 6.411 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/12.3, allocations: 0 / 6.411 GB, free: 224 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002888/12.3, allocations: 1.459 MB / 6.412 GB, free: 222.5 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003618/12.3, allocations: 2.297 MB / 6.415 GB, free: 220.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006536/12.3, allocations: 240.2 kB / 6.415 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/12.3, allocations: 20.17 kB / 6.415 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009776/12.3, allocations: 35.88 kB / 6.415 GB, free: 219.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/12.3, allocations: 44.34 kB / 6.415 GB, free: 219.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/12.3, allocations: 19.98 kB / 6.415 GB, free: 219.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005218/12.31, allocations: 370.9 kB / 6.415 GB, free: 219.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004609/12.31, allocations: 0.828 MB / 6.416 GB, free: 218.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002219/12.31, allocations: 1.369 MB / 6.418 GB, free: 217.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003147/12.32, allocations: 1.426 MB / 6.419 GB, free: 215.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/12.32, allocations: 0 / 6.419 GB, free: 215.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001173/12.32, allocations: 0.5253 MB / 6.419 GB, free: 215.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/12.32, allocations: 421.7 kB / 6.42 GB, free: 215 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003586/12.32, allocations: 1.525 MB / 6.421 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/12.32, allocations: 1.108 MB / 6.422 GB, free: 212.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.343e-06/12.32, allocations: 0 / 6.422 GB, free: 212.3 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1)